Get Simple p01-contact Form Instructions
If you use Get Simple for your website CMS, here is a summary overview with examples on how to configure p01-contact to display whatever you want as a form.
1. Basic Contact form
for a basic contact form, just put (% contact %) on the page, and configure your default email, etc., by clicking on the p01-contact button under Plug-ins.
2. Information form (with Inspection Request example)
Required fields are designated with a !, and you can use captcha! to make sure you have a real user not a bot submitting on your site.
(% contact: text! “Name:”, text! “Daytime Phone:”, text! “EveningPhone:”, email!, text! “Date/Time Requested:”, text! “Property Address”, text! “City:”, text! “Currently Occupied?”, text! “Utilities On?”, textarea “Comments:”, captcha! “\n\nPlease enter code:” %)
3. Text Me Now
To have users send a message directly to your cell phone, you need to first figure out your cell phone’s email address (generally it is your cell phone number @ provider domain), then place that email address in the form. Be sure to include a captcha to cut down on spam texts.
(% contact : email@example.com %) (% contact : firstname.lastname@example.org, email@example.com, ... %)
Additional Info: Field options:
The field options are defined after the field type, to customize it.
!: an exclamation mark define the field as required. A required field left empty will display a “This field is required” error.
": some text between quotes define a custom field label.
=: some text after an equality symbol add a pre-filled value. For
passwordfield it define the required value.
=>: some text after an arrow symbol define a locked value.
A custom big one :
(% contact : firstname.lastname@example.org, email@example.com, subject => "About this script", email!, textarea "How old is born Napoléon?", phone, radio "Do you like this script?" = "Yes" selected | "No", website, select = "One" selected | "Two" | "Three" | "Four" | "Five" , message! = "Say something", password = tomato, captcha, askcopy %)
More examples can be found on this wiki:https://github.com/nliautaud/p01contact/wiki/Syntax