Test:PostForm

From EcoReality

Jump to: navigation, search

PostForm is installed in this wiki. With it, you can set up submission forms that are then emailed to a given recipient.

These forms should be protected from casual editing once created.

Here is a sample form. It has an illegal email address, and won't do anything useful, so please don't bother with the "Send" button. But it may be useful in helping you make your form.

Syntax

<postform name="FormName" to="Recipient email" subject="Email Subject" from="Sender email" short="1" - if short form desired wide="1" - if single-row groups desired>Form Title
	<itext title="Field title" name="field_name(will be displayed in the letter)"/> - input string
	<itextarea title="Field title" name="field_name"/> - textarea
	<iselect title="Field title" name="field_name"> - dropdown list (select)
		<ioption/> - empty item
		<ioption>item value</ioption>
	</iselect>
	<iselect title="Field title" name="field_name"> - dropdown list v.2
		<source>Uploaded FileName</source>
	</iselect>
	<iselect title="Field title" name="field_name"> - dropdown list v.3
		<dbsource>
			<server>DB server address</server>
			<type>DB type (MySQL, MSSQL)</type>
			<database>DB name</database>
			<user>DB username</user>
			<password>DB password</password>
			<table>Table</table>
			<field>Field</field>
			<cond>SQL-condition</cond>
		</dbsource>
	</iselect>
	<radiogroup title="Group Name" name="field_name"> - Group of radiobuttons
		<iradio title="Title" value="Value"/>
	</radiogroup>
	<icheckbox title="Single checkbox title" name="field_name" value="Value"/> - single checkbox
	<checkboxgroup title="Title of group"> - checkbox group
		<icheckbox title="Title" value="Value">
		<icheckbox title="Title" checked="">
	</checkboxgroup>
	<ibutton title="Button text"/> - submit button
	<formsenttext>Text with a successful form submission</formsenttext>
</postform>

Example

Form Sample
Input text
Required Input text*
Textarea
Dropdown list
Radiobutton groupradio 1radio 2radio 3
Single checkbox
Checkbox groupcheckbox 1
checkbox 2
checkbox 3

Share your opinion


blog comments powered by Disqus
Personal tools
Get our newsletter!
Name:
Email Address:

disturbance
entry points
help (off site)
This server and other EcoReality operations are 100% wind powered, with energy from Bullfrog Power. You can be, too!