Custom Sharepoint Editform

Dec 22, 2009 at 2:31 AM

 Please provide me with a code example to accomplish the following:
1. Check the state of a check box once clicked and compare to another check box or text field.
2. if incorrect or selection is invalid then popup up message box and reset the value of the clicked check box.

desired code VBSCRIPT syntax  but will accept JSCRIPT syntax