
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-02-2021 06:55 AM
I have a small form in this Catalog item. When one of the checkboxes is ticked, I need the attachment to be mandatory. If it is not checked it must not be mandatory.
I have read a ton of articles on how to do this, all different. Can I use a UI policy to change the OOTB 'Mandatory attachment' variable? That would seem easiest to me.
Most articles seem to work around it with a UI script
Solved! Go to Solution.
- Labels:
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-02-2021 08:12 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-15-2023 11:26 AM
Thank you very much for your entry!! I've been reviewing multiple articles and was going in circles.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2022 05:22 AM
I would change the g_form.addErrorMessage to:
g_form.showFieldMsg(<field for the error>, <Message to display>, <type of message>)
Example:
g_form.showFieldMsg('afstemming_met_stakeholder', 'Please attach a file', 'error')
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-11-2024 05:37 PM