Skip to content

Instantly share code, notes, and snippets.

<new_radio_list name="subject" label="Subject: " description="If you want">
<options>
<option>General</option>
<option>Sales</option>
<option>Complain</option>
</options>
</new_radio_list>
<new_select_field name="hear" multiple="true" ...
<new_select_field name="hear" label="How did you hear about us: " description="They rock, right?!">
<options>
<option>Partners</option>
<option>Google</option>
<option>Other</option>
</options>
</new_select_field>
<new_file_field name="photo" label="Photo: " icon="photo.png" description="Max filesize is 5KB (jpeg or png)"></new_file_field>
<new_checkbox_field name="terms" label="I agree with the terms of service."></new_checkbox_field>
<new_textarea_field name="uniqueNameHere" label="Field label: " icon="field_icon.png" description="Enter description here" default="Default value for input">
</new_textarea_field>
<new_text_field name="uniqueNameHere" label="Field label: " icon="field_icon.png" description="Enter your complete name" default="Default value for input">
</new_text_field>
<!-- FIELDS SETTINGS -->
<fields>
<!-- Name -->
<new_text_field name="name" label="Name: " icon="user.png" description="Enter your complete name">
<validation>
<required>Please, enter a name.</required>
</validation>
</new_text_field>
</fields>
<smtp auth="yes" host="smtp.gmail.com" username="[email protected]" password="yourpasswordhere" secure_type="tls" port="587" />
<recaptcha public_key="6LcGI80SAAAFAEa5aWA3bwJlJOTnFq3YkQyIDA81" private_key="6LcGIN0SAAAAAGlrBRtXFOTqx8oUjRlk6iew0SBd" theme="white" />