Answered
I have developed a dynamic form that is filled with fields after a user makes choices from a couple of drop-down menus. What I would like to do, is to have a code that checks whether the user has made a choice in one of the drop-down menus. If not, an error message should be displayed and the form should not be filled with any fields.
I have tried the following:
if (form1.Main_subform.Caption_subform.LocationDDList.xfa.event.change == null)
and
if (form1.Main_subform.Caption_subform.LocationDDList.xfa.event.change == "")
but none of these seem to work. I'm not even sure if I should use the 'change' event in this case..? Does anyone know how I can check if a drop-down list is "empty"/no item is chosen?
radzmar
• LoveCycle Blog
Documents you need:
• LiveCycle Designer ES2 Docs