This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 3
Default Value not functioning when field visible set to Admin only (version 3.2)
Started 12 years ago by Steve1951 | 3 posts |
-
I have a text field with the default value set to "2012". When the field is visible to everyone, the field is properly populated with data 2012. When visibility is limited to Admin Only, the field remains blank. Is this the way it is designed to work or is this a bug?
What I am attempting to accomplish is this:
I need to have a field set to a specific value that cannot be changed when a user fills out the form. This field will be used to filter the entries for export to an excel file. I can't just filter by date because the year field is not the same as a calendar year. Any suggestions?Posted 12 years ago # -
The default value won't be populated for "admin only" field indeed. This is by design.
However, there is a simple solution to do what you need.Disable the "admin only" option for that field and set the "Custom CSS Class" property of that field to "hidden" instead (without the quotes).
This would hide the field from the form and yet the default value will still being populated.MachForm Founder
Posted 12 years ago # -
Thanks - That's exactly what I needed.
Posted 12 years ago #
Reply
You must log in to post.