- Get Embed URL Request Center URL
- Inject HTML DIV where you want the form to be displayed.
- Inject Javascript:
- List of options:
callback: FunctionNameName of function to be triggered once form is fully loaded.- Default:
null form_class: stringName(s) of class to be attributed to form HTML element.- Default:
'' error_class: stringName(s) of class to be added to HTML inputs/checkboxes with validation error(s).- Default:
'' input_class: stringName(s) of class to be added to HTML inputs/checkboxes.- Default:
'' wrapper_class: stringName(s) of class to be added to HTML div wrapping input elements.- Default:
'' label: booleanIf set to 1, input label html tags will be included in DOM, if set to 0, input label html tags will be removed from DOM.- Default:
1 placeholder: booleanIf set to 1, input field placeholders will be displayed, if set to 0, input field, placeholders won't be displayed. Default: 0.placeholder_first_name: stringFirst Name input field placeholder.- Default:
null placeholder_last_name: stringLast Name input field placeholder.- Default:
null placeholder_email: stringEmail input field placeholder.- Default:
null placeholder_company_name: stringCompany Name input field placeholder.- Default:
null placeholder_message: stringMessage input field placeholder.- Default:
null submit_btn_class: stringName(s) of class to be added to form submit input.- Default:
'' submit_text: stringSubmit input value.- Default:
'Submit' target: stringID of div target the form will be injected in.- Default:
'pima-form-target'
<div id="pima-form-target"></div>Note: DIV ID is customizable by passing the 'target' option. Refer to section #4 for more details.
Simple JS form script:
<script src="[YOUR REQUEST CENTER URL].js"></script>Form script with options: