Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <forms version="1.7.dev1">
- <form labelPlacement="top_label" useCurrentUserAsAuthor="1">
- <title><![CDATA[Test Discount]]></title>
- <description><![CDATA[We would love to hear from you! Please fill out this form and we will get in touch with you shortly.]]></description>
- <confirmation type="message">
- <message><![CDATA[Thanks for contacting us! We will get in touch with you shortly.]]></message>
- </confirmation>
- <button type="text">
- <text><![CDATA[Submit]]></text>
- </button>
- <fields>
- <field id="1" isRequired="1" size="medium" type="name">
- <label><![CDATA[Name]]></label>
- <inputs>
- <input id="1.3">
- <label><![CDATA[First]]></label>
- </input>
- <input id="1.6">
- <label><![CDATA[Last]]></label>
- </input>
- </inputs>
- </field>
- <field id="2" isRequired="1" size="medium" type="email">
- <label><![CDATA[Email]]></label>
- </field>
- <field id="3" isRequired="1" size="medium" type="address" addressType="us" hideAddress2="1">
- <label><![CDATA[Address]]></label>
- <defaultCountry><![CDATA[United States]]></defaultCountry>
- <defaultState><![CDATA[Illinois]]></defaultState>
- <inputs>
- <input id="3.1">
- <label><![CDATA[Street Address]]></label>
- </input>
- <input id="3.2">
- <label><![CDATA[Address Line 2]]></label>
- </input>
- <input id="3.3">
- <label><![CDATA[City]]></label>
- </input>
- <input id="3.4">
- <label><![CDATA[State / Province]]></label>
- </input>
- <input id="3.5">
- <label><![CDATA[Zip / Postal Code]]></label>
- </input>
- <input id="3.6">
- <label><![CDATA[Country]]></label>
- </input>
- </inputs>
- </field>
- <field id="5" isRequired="1" size="medium" type="radio">
- <description><![CDATA[Members of the military can receive this book for free]]></description>
- <label><![CDATA[Are you a military member?]]></label>
- <choices>
- <choice>
- <text><![CDATA[Yes]]></text>
- </choice>
- <choice>
- <text><![CDATA[No]]></text>
- </choice>
- </choices>
- </field>
- <field id="4" isRequired="1" size="medium" type="product" inputType="singleproduct" disableQuantity="1">
- <label><![CDATA[Book]]></label>
- <inputs>
- <input id="4.1">
- <label><![CDATA[Name]]></label>
- </input>
- <input id="4.2">
- <label><![CDATA[Price]]></label>
- </input>
- <input id="4.3">
- <label><![CDATA[Quantity]]></label>
- </input>
- </inputs>
- <basePrice><![CDATA[$15.00]]></basePrice>
- </field>
- <field id="6" isRequired="1" size="medium" type="product" inputType="singleproduct" disableQuantity="1">
- <label><![CDATA[Discount]]></label>
- <inputs>
- <input id="6.1">
- <label><![CDATA[Name]]></label>
- </input>
- <input id="6.2">
- <label><![CDATA[Price]]></label>
- </input>
- <input id="6.3">
- <label><![CDATA[Quantity]]></label>
- </input>
- </inputs>
- <basePrice><![CDATA[-$15.00]]></basePrice>
- <conditionalLogic actionType="show" logicType="all">
- <rules>
- <rule fieldId="5" operator="is">
- <value><![CDATA[Yes]]></value>
- </rule>
- </rules>
- </conditionalLogic>
- </field>
- <field id="7" size="medium" type="total">
- <label><![CDATA[Total]]></label>
- </field>
- </fields>
- <descriptionPlacement><![CDATA[below]]></descriptionPlacement>
- <notification>
- <to><![CDATA[{admin_email}]]></to>
- <subject><![CDATA[New submission from {form_title}]]></subject>
- <message><![CDATA[{all_fields}]]></message>
- <fromField><![CDATA[2]]></fromField>
- <fromNameField><![CDATA[1]]></fromNameField>
- </notification>
- <autoResponder>
- <toField><![CDATA[2]]></toField>
- <fromName><![CDATA[Chris Hajer]]></fromName>
- <subject><![CDATA[Thank you for testing my form]]></subject>
- <message><![CDATA[Does this information match the information which was displayed online before you submitted the form?
- {all_fields}]]></message>
- </autoResponder>
- </form>
- </forms>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement