Advertisement
chrishajer

ZIP Code Qualification

Aug 19th, 2012
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 3.89 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <forms version="1.7.dev1">
  3.     <form labelPlacement="top_label" useCurrentUserAsAuthor="1">
  4.         <title><![CDATA[Post 71629]]></title>
  5.         <description><![CDATA[Reference <a href="http://www.gravityhelp.com/forums/topic/service-area-search-different-emails" title="Service Area Search - Different emails">this post</a>.]]></description>
  6.         <confirmation type="message">
  7.             <message><![CDATA[Thanks for contacting us! We will get in touch with you shortly.]]></message>
  8.         </confirmation>
  9.         <button type="text">
  10.             <text><![CDATA[Submit]]></text>
  11.             <conditionalLogic actionType="show" logicType="any">
  12.                 <rules>
  13.                     <rule fieldId="1" operator="is">
  14.                         <value><![CDATA[10000 - 24700]]></value>
  15.                     </rule>
  16.                     <rule fieldId="1" operator="is">
  17.                         <value><![CDATA[30000 - 39999]]></value>
  18.                     </rule>
  19.                 </rules>
  20.             </conditionalLogic>
  21.         </button>
  22.         <fields>
  23.             <field id="1" isRequired="1" size="medium" type="radio">
  24.                 <description><![CDATA[For pre-qualification, please select one of these options based on the location of your business.]]></description>
  25.                 <label><![CDATA[What is your ZIP code?]]></label>
  26.                 <choices>
  27.                     <choice>
  28.                         <text><![CDATA[10000 - 24700]]></text>
  29.                     </choice>
  30.                     <choice>
  31.                         <text><![CDATA[30000 - 39999]]></text>
  32.                     </choice>
  33.                     <choice>
  34.                         <text><![CDATA[Other]]></text>
  35.                     </choice>
  36.                 </choices>
  37.             </field>
  38.             <field id="4" size="medium" type="html" displayOnly="1">
  39.                 <content><![CDATA[<div style="padding-top:25px;"><p>We're sorry but we do not service your area.</p></div>]]></content>
  40.                 <label><![CDATA[We do not service their area]]></label>
  41.                 <conditionalLogic actionType="show" logicType="all">
  42.                     <rules>
  43.                         <rule fieldId="1" operator="is">
  44.                             <value><![CDATA[Other]]></value>
  45.                         </rule>
  46.                     </rules>
  47.                 </conditionalLogic>
  48.                 <disableMargins><![CDATA[1]]></disableMargins>
  49.             </field>
  50.             <field id="5" size="medium" type="section" displayOnly="1">
  51.                 <label><![CDATA[Service Location]]></label>
  52.                 <conditionalLogic actionType="show" logicType="any">
  53.                     <rules>
  54.                         <rule fieldId="1" operator="is">
  55.                             <value><![CDATA[10000 - 24700]]></value>
  56.                         </rule>
  57.                         <rule fieldId="1" operator="is">
  58.                             <value><![CDATA[30000 - 39999]]></value>
  59.                         </rule>
  60.                     </rules>
  61.                 </conditionalLogic>
  62.             </field>
  63.             <field id="6" isRequired="1" size="medium" type="name">
  64.                 <label><![CDATA[Name]]></label>
  65.                 <inputs>
  66.                     <input id="6.3">
  67.                         <label><![CDATA[First]]></label>
  68.                     </input>
  69.                     <input id="6.6">
  70.                         <label><![CDATA[Last]]></label>
  71.                     </input>
  72.                 </inputs>
  73.             </field>
  74.             <field id="8" isRequired="1" size="medium" type="email">
  75.                 <label><![CDATA[Email]]></label>
  76.                 <emailConfirmEnabled><![CDATA[1]]></emailConfirmEnabled>
  77.             </field>
  78.             <field id="7" isRequired="1" size="medium" type="address" addressType="us" hideAddress2="1" hideCountry="1">
  79.                 <label><![CDATA[Address]]></label>
  80.                 <defaultCountry><![CDATA[United States]]></defaultCountry>
  81.                 <inputs>
  82.                     <input id="7.1">
  83.                         <label><![CDATA[Street Address]]></label>
  84.                     </input>
  85.                     <input id="7.2">
  86.                         <label><![CDATA[Address Line 2]]></label>
  87.                     </input>
  88.                     <input id="7.3">
  89.                         <label><![CDATA[City]]></label>
  90.                     </input>
  91.                     <input id="7.4">
  92.                         <label><![CDATA[State / Province]]></label>
  93.                     </input>
  94.                     <input id="7.5">
  95.                         <label><![CDATA[Zip / Postal Code]]></label>
  96.                     </input>
  97.                     <input id="7.6">
  98.                         <label><![CDATA[Country]]></label>
  99.                     </input>
  100.                 </inputs>
  101.             </field>
  102.         </fields>
  103.         <descriptionPlacement><![CDATA[below]]></descriptionPlacement>
  104.         <enableHoneypot><![CDATA[1]]></enableHoneypot>
  105.         <notification>
  106.             <to><![CDATA[{admin_email}]]></to>
  107.             <subject><![CDATA[New submission from {form_title}]]></subject>
  108.             <message><![CDATA[{all_fields}]]></message>
  109.         </notification>
  110.     </form>
  111. </forms>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement