This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DEVELOPERS FORUM - Get a boolean property into a variable

bil4l - Monday, March 12, 2012 6:36 PM:

Hi,

I have created a check box with the boolean data type, but I cannot for the life of me figure out how to pull it into a variable. Essentially what I want to do is have a check box that, if checked, the person cannot do a manual release. Please help with getting the boolean into a variable that I can work some if-then logic on.

Thanks,

Bill



fli - Thursday, March 15, 2012 6:00 AM:

Hi Bill,

You can do a OnfocusChange event on the checkbox, getting the value --> document.forms[0].CHECKBOXNAME.disabled = true;

maybe use an IF. then set a variable. after the form is saved to the DB. you can do a server side method, could be on pre-lifecycle premote(release) checking on the variable -> rejecting the premote 

 

/ Christoffer