B12974, Added validation on save for Form Elements.
Now on Form Element save QFQ will check:
- FE.sql1 for {{! }}
- FE.mode sql for {{ }}
- And all FE.parameters for:
-
- If that Parameter exists (is in Array
FE_PARAMETER_RULES
)
- If that Parameter exists (is in Array
-
- If that Parameter conforms to the Rules attached to it in the
FE_PARAMETER_RULES
- If that Parameter conforms to the Rules attached to it in the
Parameter Rules are a combination of:
- '' -> NO '{{ }}' or '{{! }}'
- '{{' -> NEED '{{ }}'
- '{{!' -> NEED '{{! }}'
Only 1 Rule has to be True to pass validation.
As of this moment a total of 167 Parameters are tracked.