CBSPoint

Forms

Root Form

Root Form is the basic/main form to be displayed when Shortcode Visual Element is clicked. When submitted it even take you to another sub/child form or instantly update Shortcode attributes.

 

Every Shortcode may have only one Root Form, it can be created from Create Sub Form link found in the Shortcode Row.

 

Create New Root Form

  1. Move mouse over Shortcode row
  2. Action links would be displated
  3. Click on Create Form link
  4. Fill The form and save

 

 

Child/Sub Forms

Shortcode has the principal of distributing Single Shortcode attributes into multiple forms, so some attributes would be based on the other values.

 

For example Shortcode might have 4 attributes, A1, x1, x2 and x3. You might need to create Root Form to have only A1 attribute and second form to have x1, third form to have x2 and fourth form to have x3. AVS Allow this, AVS allow to populate second or third or fourth form based on the value of A1. So someone might set when A1 = value1 it would populate the second form while when A1 = value2 it would populate fourth form, etc…

 

This type of combination is useful when Shortcode is created to be generic but it still serves multiple functions. For example Shortcode might be named renderTemplate and it might be used as following

 

[renderTemplate template=”Template1″ T1P1=”UseRightButton” T1P2=”Right To Left”]

[renderTemplate template=”Templates” T2P1=”responsive” T2P2=”init_fullscreen”]

 

As you can see one Shortcode can use different parameters based on the value of group of main parameters. Shortcode Sub Forms is created to service this concept!!

 

Create Sub Form

  1. Move mouse over Shortcode row
  2. Action link would be displayed
  3. Click on “Forms” link
  4. Forms list page would be opened
  5. Click “Create Sub Form” for any exists form
  6. Fill the values for the parent form to specify when the child form would be displayed and save
  7. Fill Sub Form Data