February 4, 2016 Leave a comment
There are a number of reserved words that you should not name your form elements in your Adaptive Forms. It is also suggested you should not use them in your schema for element or attribute names.
As a rule of thumb:
- Any property that is defined on the panel should not be used as the name of an element. Because that will restrict access to that property and lead to problems in the code. Examples (case-sensitive)
- Some other words that are used in the generated script should not be used in the scripts or element names. e.g.
- You should not have field names starting with _, to prevent future name collisions with any of Adobe’s private APIs.
Edit: It wasn’t related to the schema elements per se, but the ‘elements’ in the adaptive form. Since dragging a schema object onto the form automatically names the form element the same name as the schema element or attribute, the form will stop working.
Edit 2: Ok it seems that naming your schema elements and attributes any of the above is aactually not recommended.