How to get Values from Custom with Label Variable ? How to set limit of values and restrict submit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2022 05:56 AM
There is a variable Custom with Lable for selecting multiple change requests. It should have at least 3 values before the submit form.
I have added script :
var Changes = g_form.getvalue("field_name").toString().split(',');
var changes_length = Changes.length;
if(changes_length>=3){
return true;
}
return false;
But this is always return false . How to achieve this can anyone please help ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2024 07:33 AM
Hi @jaheerhattiwale , great solution, thanks so much for the help! 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2023 06:32 AM
@jaheerhattiwaleThanks for your reply. How to check if three records are added in the Custom with Label variable?