Answered
How to show/hide form fields list with a specific string in the field name
How can I find & show/hide form fields with a specific strings start with "List1_", "List2_" in the field name and make them hidden until triggered.
I need the regular expression format to find the form fields name start with "List1".
Example
this.getField("List1_Oldfactory").display = display.hidden;
this.getField("List1_Optical").display = display.hidden;
this.getField("List1_Glosso").display = display.hidden;
this.getField("List1_Trigeminal").display = display.hidden;
Need to convert something like,
this.getField("List1_"+(/\s/g)).display = display.hidden;
but got error in condole as,
TypeError: this.getField(...) is null 1:Field:Mouse Up
