Never been to CodeSnippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)

Contact form with dropdowns and radio buttons (See related posts)

This is how a contact form with select dropdown and radio buttons may look like.

<txp:zem_contact_text label="Full Name" name="Name" required="1" min="2" max="40" /><br />
<txp:zem_contact_email required="1" /><br />
<txp:zem_contact_text label="Phone (optional)" min=7 max=15 required="0" /><br />

<txp:zem_contact_text label="Building Address" name="Name" required="1" min="2" max="60" /><br />
<txp:zem_contact_text label="Unit #" name="Name" required="1" min="2" max="40" /><br />

<txp:zem_contact_select break="br" label="Pets" list="None, Cat, Dog, Other" /><br />


<txp:zem_contact_select break="br" label="What needs fixed?" list="Bedroom, Bathroom, Kitchen, Dining Room, Living Room, Outdoor Area" /><br />

<txp:zem_contact_textarea label="Description goes here" cols="40" rows="10"  /><br />

Check off one of the following;<br />
<txp:zem_contact_checkbox label="I give permission for maintenance to enter my unit." required="0" /><br />
<txp:zem_contact_checkbox label="Please call to set up time for maintenance to enter my unit" required="0" /><br />

<txp:zem_contact_submit label="Submit" />



And then simply insert the following into an article
<txp:zem_contact to="email@email.com" form="form_name" />

You need to create an account or log in to post comments to this site.