If check box checked then show a popup message
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2019 11:50 AM
Hi All ,
Can someone help me with my requirement . I created a check box on a catalog item forma and when user checks it , then a pop up message should appear notifying user some info .
I create a onchange client script on that catalog item as shown below , is something wrong in the lines i wrote ? popup is not popping up .

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2019 11:56 AM
try putting true in single quotes. Also since it is an on Change script you can do the following instead of g_form.getValue
if (newValue == 'true')
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2019 11:59 AM
Hi Brian ,
Tried but no luck .

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2019 12:09 PM
Try this...
if(g_form.getValue('u_training_class_not_listed' == 'true'))
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2019 12:12 PM
I did it using a UI policy and works as expected . Thanks Mark