I would like to create a "Select All" check box at the bottom of a list of check boxes in my catalog item. What is the best way to do this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2018 10:12 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2018 12:20 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2018 12:34 PM
Replace all the true with 'true'. Quotes on both side.
If still doesnt work, can you copy the script and paste it here
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2020 02:20 AM
function onChange(control, oldValue, newValue, isLoading) {
if (isLoading || newValue == '') {
return;
}
var select = g_form.getValue('select_all');
if (select == 'true')
// g_form.showFieldMsg("inside true " +select);
//if ( newValue == 'true')
{
g_form.setValue('u_auto_update_active', 'true');
g_form.setValue('u_antivirus_up_date', 'true');
g_form.setValue('u_scanning_live', 'true');
g_form.setValue('u_no_viruses', 'true');
g_form.setValue('u_security_updates', 'true');
g_form.setValue('u_firewall_active', 'true');
g_form.setValue('u_firewall_version', 'true');
} else
{
g_form.setValue('u_auto_update_active', 'false');
g_form.setValue('u_antivirus_up_date', 'false');
g_form.setValue('u_scanning_live', 'false');
g_form.setValue('u_no_viruses', 'false');
g_form.setValue('u_security_updates', 'false');
g_form.setValue('u_firewall_active', 'false');
g_form.setValue('u_firewall_version', 'false');
}
}
Above script not working for me
Kindly help