Module: SIM
Path: Campaign > Advertising > Maintain Scripts > Forms tab
Topic: Edit Element
Version(s): 5.1 & up
Editions: Commerce and Call Center
Action buttons allow you to configure specific events/actions to trigger based off conditions met or unconditional. Action buttons also allow you to integrate custom plugins into your forms.
This is a simple action button. This does not give a visual display of having been selected (checkbox) nor does it connect data points (radio groups). You must use the interactive settings to code for all actions that will take place when clicking on the Button. There is no limit to how many buttons can be used at once within the form. Each button is its own entity.
Checkbox
Checkboxes give a visual display of having been selected. There is no limit to how many checkboxes can be checked at once within the form. Data points are not connected as with radio groups. Each checkbox is its own entity.
Radio Group
There are 15 groups available for use. Each number is an independent grouping of data. Only one option can be selected for each group within the form (not element). You can have as many of the 1-15 groups on any given form. Radio Groups can be used, mixed and matched between elements, but the form will recognize each group number collectively.
For example, we could use groups for offers and options for each offer. We could then set specific actions depending on the answer given for a specific group:
- group 1 - offer1
- options - only one can be selected
- single
- recurring
- bundle
- action
- if group1 = single THEN select offers
- if group1 = recurring THEN go to form
- if group1 = bundle THEN set element visibility
- group 2 - bundle options
- options - only one can be selected
- bundle 1
- bundle 2
- bundle 3
- action
- if group2 = bundle 1 THEN select offers
- if group2 = bundle 2 THEN go to form
- if group2 = bundle 3 THEN set element visibility
When you add an action button via Element > Design code will populate on HTML tab as follows:
- <span data-label="yes">
- <
- input type="radio" this is the type of button selected
- data-event="04c" this is a hashed value
- data-settings="eyJ" this is a hashed value
value="LabelOFradio" this is the label set for the selected action button type

see below for using special characters in value field
- onclick="doEvalViewerEvent();" this is telling the system that when the button is clicked to evaluate events/actions associated
- class="btn btn-default" this is telling the system what class to look at for additional coding
- name="radio1_{scriptformid}_{elementid}"
- >LabelOFradio
- </span>
- value doesn't like and will cause error
- commas ,
- apostrophes '
- quotations " "
- backward slash \
- asterisk *
- dollar sign $
- caret ^
- ampersand &
- vertical bar |
- value will accept
- question mark ?
- dash -
- equal =
- underscore _
- parenthesis ( )
- forward slash /
- exclamation !
- at sign @
- pound #
- percent %
- backtick `
- tilde ~
- colon :
- semicolon ;
If you are comfortable with HTML coding, you are welcome to make edits on this tab. If you are not comfortable with coding in HTML it is recommended to leave this code as the system sets unless directed otherwise.
If you have a custom SIM plugin, you will need to create the Action Button Types with the steps above following the instructions from the programmer. All fields must match exactly as the programmer details in their instructions for the plugin to work correctly.