I am trying to add a message box when a user chooses the answer of "yes" from either a radio button or a drop down. For example, if the user chooses "no", I would like them to continue to fill out the form. If the user chooses "yes" I would like a message to pop up and state that they can't participate in the study based on their response.
Thank you. However, I am new to scripting in LCD and this doesn't seem to be working.
Could you please tell me what I am doing wrong? I want a message stating, "Sorry, you do not qualify for this study." to pop up when the radio button "yes" is clicked. The help states that I need to add this line:
When I check the PDF preview I get an error stating that the script failed (language is formcalc; context is xfa.formform1.#subform.RadiobuttonList.#field)script=$host.messageBox(STRING Sorry you do not quality for this study param1) Error:syntax error near token 'Sorry' on line 1, column 30.