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 10:24 AM
True
if (g_form.setValue('select_all')==true)
{
g_form.setValue('domain_01',true);
g_form.setValue('domain_02',true);
g_form.setValue('domain_03',true);
.
.
}
else
{
g_form.setValue('domain_01',false);
g_form.setValue('domain_02',false);
g_form.setValue('domain_03',false);
.
.
}
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-14-2018 10:46 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-14-2018 10:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-14-2018 11:10 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-14-2018 11:15 AM
Correct this line
if (g_form.getValue('select_all')=='true')
Please mark this response as correct or helpful if it assisted you with your question.