Title: Projects Template &#8211; Data Entry
Last modified: January 13, 2023

---

# Projects Template – Data Entry

 *  Resolved [measy](https://wordpress.org/support/users/measy/)
 * (@measy)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/projects-template-data-entry/)
 * Hi Peter,
 * in Projects Template – Data Entry it’s possible to check:
    - Visible
    - Read only
    - Less
 * In my tests, I need to hide an enum item, defaulting it to one of the predefined
   values.
 * If I check Read only AND use the “Default value” column to hold one of the desired
   values in the enum set, the enum itself remains selectable (I expected to be 
   grayed out);
 * If I check Read only AND un-check Visible AND AND still use the “Default value”
   as above, the system does not record any value in the underlying db table.
 * Thanks in advance for your reply.

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

 *  Plugin Contributor [Kim L](https://wordpress.org/support/users/kimmyx/)
 * (@kimmyx)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/projects-template-data-entry/#post-16370054)
 * Hi [@measy](https://wordpress.org/support/users/measy/),
 * Thanks for letting us know!
 * **Case 1**: The field isn’t greyed out indeed. I’ll raise this with Peter. ⌊👍⌉
   </img>
 * No worries for now as even if you add a different value to this field, it will
   still record the default value you set on the template.
 * Please see this demo: [https://share.getcloudapp.com/RBuBB0ge](https://share.getcloudapp.com/RBuBB0ge)
 * **Case 2**: I’ve tested this but the value I set was still recorded.
 * Demo here: [https://share.getcloudapp.com/xQuOOvBg](https://share.getcloudapp.com/xQuOOvBg)
 * May we know what plugin version you’re using?
 * Looking forward to your response!
    -  This reply was modified 3 years, 4 months ago by [Kim L](https://wordpress.org/support/users/kimmyx/).
 *  Thread Starter [measy](https://wordpress.org/support/users/measy/)
 * (@measy)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/projects-template-data-entry/#post-16370865)
 * Hi Kim,
 * thanks for your kind reply.
 * Case 1:
 * ok for the non-greyed out Peter’s call to action 😉
 * I confirm the behaviour described in my previous email (nothing stored if the
   item is defaulted BUT hidden.
 * Would you please re-test by using:
 * enum item type (values ‘1’,’2′,’3′);
 * defaulting in the template data entry tab to ‘2’ (example)
 * hide the field
 * then transact a new record
 * check the table to see what the (hidden) enum field value is?
 * Case 2:
 * the version I’m using is 5.2.11
 * Best regards.
 *  Plugin Author [Passionate Programmer Peter](https://wordpress.org/support/users/peterschulznl/)
 * (@peterschulznl)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/projects-template-data-entry/#post-16372511)
 * Hi Marco,
 * I added read-only support to inserts. It will be available with the next update,
   probably next week.
 * For non-required fields this works quite straight forward: the user cannot edit
   the field. If you set a required field to read-only, the field will still be 
   editable during insert. Otherwise you would not be able to add a row. Only if
   a default value is defined for a required field, the field will not be editable
   during insert.
 * This should cover most situations, except entering a required field during insert
   with a default value. This would require a modification to our data model which
   I like to postpone. If you need this very urgently, it can be done with javascript.
   Not so beautiful, but very effective. 😊
 * Thanks for your contribution 😉</img>
   Peter
 *  Thread Starter [measy](https://wordpress.org/support/users/measy/)
 * (@measy)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/projects-template-data-entry/#post-16372573)
 * Hi Peter.
 * Thank you for your reply: effective and timely, as usual!
 * I’m looking forward the new WPDA release, because Yes! the new feature you described
   is mainly what’s required in my case (the last part being… “wait-able” 😉
 * Cheers,
 * M.

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

The topic ‘Projects Template – Data Entry’ is closed to new replies.

 * ![](https://ps.w.org/wp-data-access/assets/icon-256x256.png?rev=3299063)
 * [WP Data Access – App Builder for Tables, Forms, Charts, Maps & Dashboards](https://wordpress.org/plugins/wp-data-access/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-data-access/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-data-access/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-data-access/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-data-access/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [measy](https://wordpress.org/support/users/measy/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/projects-template-data-entry/#post-16372573)
 * Status: resolved