Hi,
I have a form with a few form fields, I would like to hide one of them.
Thanks
Hi,
I have a form with a few form fields, I would like to hide one of them.
Thanks
Hi codeit,
You can hide a form field by using a JavaScript conditional statement, this can be as simple as false to hide the field. The ‘Show If’ field on the Form Fields form is used to hold this value.
The video attached will demonstrate this for you.
You can also interact with Five’s API and make the field only show when it suits your requirements. In the image below you can see the ‘Show If’ field holds the value (form.Location === ‘Other’). For this scenario, the current field ‘Location Other’ will be hidden unless the ‘Location’ field on the Employee Activities form holds the value ‘Other’, this will make the ‘Location Other’ field show.
Thank you very much for your help. Much appreciated