Error message when greater than 25
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2024 06:51 AM - edited 12-18-2025 01:00 PM
Hello,
I am task to create a UI policy on a form when the field "enter_time_spent_in_hours" is filled the integer must be greater than 25.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2024 08:37 AM
Hi @BenjaminY ,
What is the exact issue you are facing.
From the image's description I understood, if the Time spent is less than 25, you should show an error messgae.
In Script Section:
Run if true:
g_form.showFieldMsg('<field_name>', '<Time Spent should be greater than 25>', 'error');Run if false:
g_form.hideFieldMsg('<field_name>', true);
Mark the response correct and helpful if the answer assisted your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2024 08:39 AM
@BenjaminY Simply add following line in the script field of the UI Policy.
