Title: Attribute readonly=&quot;readonly&quot;
Last modified: August 24, 2016

---

# Attribute readonly="readonly"

 *  Resolved [kronoswolf](https://wordpress.org/support/users/kronoswolf/)
 * (@kronoswolf)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/attribute-readonlyreadonly/)
 * Hi, I’m using fast secure contact form perfectly, but there’s a little problem.
   When I use the attribute readonly=”readonly” works perfectly with logged-in users
   by filling name and email fields, but non-logged users can’t edit name and email
   fields, so I had to disable readonly=”readonly” but logged-in users can now edit
   it. There’s a way to make only logged-in users can not edit these fields and 
   non-logged can?
 * Thanks in advance!
 * [https://wordpress.org/plugins/si-contact-form/](https://wordpress.org/plugins/si-contact-form/)

Viewing 11 replies - 1 through 11 (of 11 total)

 *  [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/attribute-readonlyreadonly/#post-6029048)
 * Hi kronoswolf I don’t understand the following. Can you explain it further.
 * > There’s a way to make only logged-in users can not edit these fields and non-
   > logged can?
 * Thank you
 *  Thread Starter [kronoswolf](https://wordpress.org/support/users/kronoswolf/)
 * (@kronoswolf)
 * [11 years ago](https://wordpress.org/support/topic/attribute-readonlyreadonly/#post-6029137)
 * Sorry the late response…
 * If I enable readonly=”readonly” and auto form fill, the fields displays name 
   and e-mail of the logged in user and he can’t edit it. But users not logged can’t
   fill the fields and it stays blank.
 *  [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [11 years ago](https://wordpress.org/support/topic/attribute-readonlyreadonly/#post-6029138)
 * Hi as far as I know the readonly attribute only allows you to read the field 
   you can’t edit the field.
 *  Thread Starter [kronoswolf](https://wordpress.org/support/users/kronoswolf/)
 * (@kronoswolf)
 * [11 years ago](https://wordpress.org/support/topic/attribute-readonlyreadonly/#post-6029139)
 * Okay, but there is a way to allow only visitors can edit? Or suggest to the author
   of the plugin that adds this feature in a future update?
 *  [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [11 years ago](https://wordpress.org/support/topic/attribute-readonlyreadonly/#post-6029140)
 * I have submitted a message to Mike Challis the plugin author.
 * Thank you
 *  Thread Starter [kronoswolf](https://wordpress.org/support/users/kronoswolf/)
 * (@kronoswolf)
 * [11 years ago](https://wordpress.org/support/topic/attribute-readonlyreadonly/#post-6029141)
 * Ok, thanks for the attention and it’s an amazing plugin!
 *  [Mike Challis](https://wordpress.org/support/users/mikechallis/)
 * (@mikechallis)
 * [11 years ago](https://wordpress.org/support/topic/attribute-readonlyreadonly/#post-6029146)
 * I will consider this option for the next update, thanks
 *  Thread Starter [kronoswolf](https://wordpress.org/support/users/kronoswolf/)
 * (@kronoswolf)
 * [11 years ago](https://wordpress.org/support/topic/attribute-readonlyreadonly/#post-6029147)
 * Thanks Mike, for the attention and the great plugin! I’ll wait for updates.
 *  [Mike Challis](https://wordpress.org/support/users/mikechallis/)
 * (@mikechallis)
 * [11 years ago](https://wordpress.org/support/topic/attribute-readonlyreadonly/#post-6029149)
 * This code has been added for the next update. It will automatically make the 
   name and email form fields readonly when the feature is enabled to auto fill 
   the logged on user’s name and email. Non-logged in users can still edit those
   fields to enter their own name and email. Note: administrator is ignored, has
   to fill in the fields those always.
 *  Thread Starter [kronoswolf](https://wordpress.org/support/users/kronoswolf/)
 * (@kronoswolf)
 * [11 years ago](https://wordpress.org/support/topic/attribute-readonlyreadonly/#post-6029150)
 * many thanks, it will be of great help!
 *  [Mike Challis](https://wordpress.org/support/users/mikechallis/)
 * (@mikechallis)
 * [11 years ago](https://wordpress.org/support/topic/attribute-readonlyreadonly/#post-6029151)
 * The update is available now 4.0.37

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Attribute readonly="readonly"’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/si-contact-form_dde2be.svg)
 * [Fast Secure Contact Form](https://wordpress.org/plugins/si-contact-form/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/si-contact-form/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/si-contact-form/)
 * [Active Topics](https://wordpress.org/support/plugin/si-contact-form/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/si-contact-form/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/si-contact-form/reviews/)

## Tags

 * [edit fields](https://wordpress.org/support/topic-tag/edit-fields/)
 * [readonly](https://wordpress.org/support/topic-tag/readonly/)
 * [users](https://wordpress.org/support/topic-tag/users/)

 * 11 replies
 * 3 participants
 * Last reply from: [Mike Challis](https://wordpress.org/support/users/mikechallis/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/attribute-readonlyreadonly/#post-6029151)
 * Status: resolved