Need to hide choice list on the field which is under section
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2025 08:46 AM
function onload(){
var value=g_form.getValue('connect');
if(value=='6')//6 is the backend value of my connect choice
{
g_form.removeOption('result', '4');
}
else{
g_form.addOption('result', '4', 'confirmed');
}
but this code is not working can some one help on this ,
result filed is in form section as like below image
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2025 09:14 AM
Hi @harinya , what is the type of the variable 'result'? It doesn't matter if the field is under a section.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2025 09:17 AM - edited 03-19-2025 09:18 AM
Thanks for Response
That is a String field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2025 09:23 AM
In the dictionary of that field, under section - 'Choice List Specification', Choose- 'Dropdown with None and try
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2025 09:18 AM - edited 03-19-2025 09:19 AM
i can able to see the alert messages