Adaptive Forms JavaScript Hide Field In Repeating Panel
I have an adaptive form with a repeating panel - carsPanel. The panel fields including text fields such as car number and carMake pulling from a database. With the carMake field, I want to hide the field in a particular panel if the value in the previous panel is the same. For instance, if the carMake field value in panel 1 is "Nissan", and the CarMake field value in panel 2 is "Cadillac", and the field value in panel 3 is "Cadillac", I want to hide carMakethe field in panel 3. My script is below for the initialize event. It is not working. Thank you for any suggestions.
//Repeating Panel name is carsPanel. Fields in panel prefilled from a database using data model |
Is there is documentation on using JavaScript with Adaptive forms?