Hi,
We have a check-box on the Identity Portal form, and wants to display a message only when the check-box is ticked.
Have tried the below in the change Handlers of the Identity Portal Form which displays the message but, this display both when we tick or un-tick the checkbox.
api.prompt("Hello");
I am trying something like the below, to just prompt the message only when the checkbox is ticked. But this does not seem to work.
var a = api.getProp('testbox').checked;
if (a == 'true'){
api.prompt("Hello");
}
or
var a = api.getProp('testbox');
if (a == 'true'){
api.prompt("Hello");
}
If anyone tried this?
Regards,
Lav Malhotra