Making a "Custom with Label" Variable Mandatory on Catalog Form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hi Everyone,
I have a requirement on a catalog form where I’ve created a variable of type "Custom with label". The variable is rendering correctly, and the functionality works as expected.
However, I need to make this custom variable mandatory before form submission.
I’ve already tried using:
- UI Policies
- Client Scripts
…but neither approach seems to work for this variable type.
While researching, I came across posts suggesting that "Custom with label" variables cannot be made mandatory directly, and the recommended workaround is to validate the field value during form submission.
Given this, is there any way we can make the custom variable mandatory without having to validate the value on submit?
Any guidance or suggestions would be greatly appreciated.
Thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago - last edited 2 hours ago
Please note that making the Custom Label variable mandatory in the list view under the Variables section will only display the mandatory asterisk (*) on the label and will not enforce validation or prevent form submission. To make the field truly mandatory and ensure users cannot submit the form without providing the required information, the actual variables associated with the Custom Label must be configured as mandatory.
Hope that Helps!