Announcements
When the form field is an 'option set', the Hide form toggle switch is not present in the form designer.
Is this a bug?
Thanks
Brent K - just wanted to provide some more context to this in case someone else has the same issue and doesn't know how to resolve.
It might be tempting to just add the hidden attribute to the field like this:
<div data-editorblocktype="Field-dropdown" hidden="hidden">
Although this does hide the field, there is no control for anyone to unhide or change it later. Their only option would be to dig in to the HTML which isn't something everyone is comfortable doing.
Instead, I would suggest this approach where you just check the block type from Field-dropdown to Field-text like this, without the hidden attribute.
<div data-editorblocktype="Field-text">
This then actually provides the hide field control, making it easier for others to change if needed. Hope that helps!
Thank you Akash.
I will use the work-around you suggested!
Best Regards,
Brent
Hi Partner
As far as I know this seems to be a by-design behavior, you can add hidden attribute in HTML code for option set field which will allow to hide the field as an alternative instead of toggle.
André Arnaud de Cal...
294,060
Super User 2025 Season 1
Martin Dráb
232,858
Most Valuable Professional
nmaenpaa
101,158
Moderator