Client Side SDK

Adding custom fields to your form

  1. Go to the Widgets step in the Campaign Wizard.

  2. In the Input section, click the "Add Custom Field" button to create a new custom field. Give the field a name and select the appropriate input type (e.g. text, number, etc.). Once you've created the custom field, make note of its unique ID (UUID) by copying it to your clipboard.

  3. In your HTML form, add a new input element for the custom field and set the data-vl-join-stage-target attribute to the UUID of the custom field you created. For example:

<!--- the rest of the form --->		
<input
	data-vl-join-stage-target="input.custom"
	data-vl-custom-field-uuid="qbo3g4Qb" 
	type="text"
	placeholder="enter your favourite color"
/>
<!--- the rest of the form --->