Other than using the 'Form design & layout' page to create fields, M5 also provides functions to create and delete fields via the action wizard.
How to Create and Delete Form Field
1) Create Field
Create a new behavior. Put the appropriate caption. Click Action wizard.
Click Create an action.
Click Other Scribe Functions.
Select Create Form Field in Other Scribe Functions dropdown. Click OK.
Click Save changes.
Click View code. Put your form id. Change field name and caption accordingly. Check syntax, if no error then click Save and close.
Click Create now.
How it look in the form:
Before:
After:
2) Delete Field
Create a new behavior. Put the appropriate caption. Click Action wizard.
Click Create an action.
Click Other Scribe Functions.
Select Delete Form Field in Other Scribe Functions dropdown. Click OK.
Click Save changes.
Click View code. Put field name that want to delete and put your form id. Check syntax, if no error then click Save and close.
Click Create now.
How it look in the form:
Before:
After:
Kommentare