Hide 'Submit' button when a variable is empty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2024 11:13 PM
Hi,
I have a requirement to hide 'submit' button in a form when a variable is empty which is auto populated using client script.
The variable name is adm_group_owner.
I tried using alert using on submit but it applies for all and preventing the form to submit for request types.
Is there any way to ide submit button if a variable is empty when auto populated? How can I achieve this requirement. Please help?
Thanks,
Saran.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2024 08:03 PM
I have used your script with on change, but it is not working. Submit button is still showing. The on change variable 'adm_group_owner' is a reference type field. Is it because of this it is not working? Please provide your thoughts. I have attached the screenshot for your reference.
Thanks,
Saran.