I am trying to set a form up, so that when a check box is marked, then the corresponding date field is required. I set the script language to Javascript and entered this script:
if
(this.rawValue == "1") (PROPOSALDATE.mandatory = "error")
However, I get an error message stating "syntax error near toekn '!' on line 1, column 20." There is no ! in this script, so I don't know what it is talking about. What am I doing wrong?