Skip to content

Instantly share code, notes, and snippets.

<link href="super/assets/style.css" rel="stylesheet" type="text/css" />
<script src="super/assets/jquery.min.js" type="text/javascript"></script>
<?php
include 'super/core/init.php';
super_form();
?>
<?php /* do not remove this line */exit;?>
<?xml version="1.0" encoding="UTF-8"?>
<form>
<!-- FORM SETTINGS -->
<form_settings>
<id>my-form</id>
<style>default</style>
<send_text>Send message</send_text>
<recaptcha public_key="" private_key="" theme="white" />
</form_settings>
<recaptcha public_key="6LcGI80SAAAFAEa5aWA3bwJlJOTnFq3YkQyIDA81" private_key="6LcGIN0SAAAAAGlrBRtXFOTqx8oUjRlk6iew0SBd" theme="white" />
<smtp auth="yes" host="smtp.gmail.com" username="[email protected]" password="yourpasswordhere" secure_type="tls" port="587" />
<!-- 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>
<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>
<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_checkbox_field name="terms" label="I agree with the terms of service."></new_checkbox_field>