Title: Multiple forms &#8211; saving only for Admin user
Last modified: August 22, 2016

---

# Multiple forms – saving only for Admin user

 *  [Lizuca](https://wordpress.org/support/users/lizuca/)
 * (@lizuca)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/multiple-forms-saving-only-for-admin-user/)
 * Hi, I need your help again…
    I created a multiple forms sign-up: fist page had
   the signup shortcode, second one the record one, and then diverts to thanks. 
   All good, the information is saved.. but only when i’m filling in the form and
   being logged in as the admin of the site. When I’m signing off or when anyone
   else tries the form, it will only insert the data from the first page (the signup),
   but the fields being saved in the second form are not updated. It looks like 
   only the Admin can update the data in this page (the one with the record shortcode).
   Any idea why? It is pretty urgent, we have to launch the registrations in 2 days…
   Thank you!!
 * [https://wordpress.org/plugins/participants-database/](https://wordpress.org/plugins/participants-database/)

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

 *  Thread Starter [Lizuca](https://wordpress.org/support/users/lizuca/)
 * (@lizuca)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/multiple-forms-saving-only-for-admin-user/#post-5534317)
 * After doing more investigation, I managed to find a workaround.. I had some fields
   defined as Read-Only that I’m populating using a custom template. The issue is
   that those values were saved only by an admin user.
    I unchecked the Read-Only
   property of the fields, so now any user is able to save that information. Only
   that I have to find a way to make them non-editable (there are calculated prices
   in those fields). If you have any idea how to make these non-editable.. it would
   help me. Thanks!
 *  Plugin Author [Roland Barker](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/multiple-forms-saving-only-for-admin-user/#post-5534366)
 * I don’t know if you’re doing this, but simply adding hidden input fields will
   break the submission. You have to let the plugin add the input fields, the template
   should only set the value of those fields.
 * I mention this because something is breaking the submission. Another thing I 
   suggest you try is testing the submission using a different browser or using 
   incognito mode. This will eliminate the possibility your login/admin cookies 
   are confusing the issue.
 * So, you want the fields on the second page to be read-only so that you can show
   the values to the user? If you don’t need to show those fields to the user, don’t
   include them in the form on your second page. You can use the “fields” attribute
   of the [pdb_record] shortcode to control which fields are present. That way, 
   you can leave them as read-only fields.
 *  Thread Starter [Lizuca](https://wordpress.org/support/users/lizuca/)
 * (@lizuca)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/multiple-forms-saving-only-for-admin-user/#post-5534373)
 * Thanks – yes, I want to show those fields to the user, like a final check for
   them. It will show the prices calculated based on their selection from the previous
   screen. But i don’t want to allow the user to modify them. This is why originally
   I marked them as Read-Only. But since the information was not saved.. I made 
   them Editable. So now I’m trying to find a way to change them to Read only – 
   might be Javascript? But I haven’t done it before, so I’m a bit lost..
    Thanks!
 *  Plugin Author [Roland Barker](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/multiple-forms-saving-only-for-admin-user/#post-5534380)
 * Jacascript is a good way to go, just set the “readonly” attribute of the input
   field.
 * [http://stackoverflow.com/questions/1306708/add-readonly-to-input-jquery](http://stackoverflow.com/questions/1306708/add-readonly-to-input-jquery)

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

The topic ‘Multiple forms – saving only for Admin user’ is closed to new replies.

 * ![](https://ps.w.org/participants-database/assets/icon-256x256.jpg?rev=1389807)
 * [Participants Database](https://wordpress.org/plugins/participants-database/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/participants-database/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/participants-database/)
 * [Active Topics](https://wordpress.org/support/plugin/participants-database/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/participants-database/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/participants-database/reviews/)

## Tags

 * [multiple forms](https://wordpress.org/support/topic-tag/multiple-forms/)

 * 4 replies
 * 2 participants
 * Last reply from: [Roland Barker](https://wordpress.org/support/users/xnau/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/multiple-forms-saving-only-for-admin-user/#post-5534380)
 * Status: not resolved