Hidden control field

wezetel

Active Member
I'm stuck with a form, where I want to control which fields are shown.
The form has to fields: 'personname' (simple field) and 'displaypersonname' (yesno field).
The form view is used by the admin, the details view should be visible for endusers.
I have defined JS in the 'displaypersonname' field to hide 'personname', when No is selected. This works, but only if the control (yesno) field is visible in the details view (endusers).
But how can I hide the visibility of the control field? Is there a better approach?
 
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top