This is a simple if statement set on a calculation event in the FormCalc script. I keep getting the error "Syntax Error on line one near token '=' line 22. I have done everything i can to audit this string but can't figure out what i did wrong. It is supposed to poulate a TextField with a string of text based on the slecetion from a drop down box. Please help
if ( JDETermRsn.value = "RPB" ) then
$.value = "Dissatisfied with compensation / benefits"
else if ( JDETermRsn.value = "RCC" ) then
$.value = "Dissatisfied with carreer opportunities / Accepted position with other employer / Started own business"
endif
radzmar
• LoveCycle Blog
Documents you need:
• LiveCycle Designer ES2 Docs