Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
N/ui/dialog with HTML checkbox -- how to get value of the checkbox??
Hi guys,
I have a dialog that has a "Do not show this message again" checkbox, however, I cannot get the value of the checkbox when the dialog is gone (by clicking the Ok or Cancel button).
Do you guys have any idea how to get the checkbox value? I tried the onclick property however the client script cant seem to find my handleCB function.
fieldChanged function
dialog.confirm({
title: 'Alert alert!', message: 'Some message here <input type ="checkbox" id="_donotshowmsg" onclick="handleCB(this);">Do not show this message again</input>'});
Any help is appreciated!!
Tagged:
0