Advertisement
chrishajer

XML Export of form for post 80108

Oct 12th, 2012
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.19 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[Send Some Query String Parameters]]></title>
  5.         <description><![CDATA[Reference <a href="http://www.gravityhelp.com/forums/topic/display-user-submitted-data-on-thank-you-page-with-social-media-links" title="Display user submitted data on thank you page with social media links">this post</a>.]]></description>
  6.         <confirmation type="redirect">
  7.             <url><![CDATA[http://gravity.chrishajer.com/catch-some-url-parameters/]]></url>
  8.             <queryString><![CDATA[fn={Name (First):1.3}&ln={Name (Last):1.6}&weekend={What did you do last weekend?:2}&goal={Your weight loss goal:3}]]></queryString>
  9.         </confirmation>
  10.         <button type="text">
  11.             <text><![CDATA[Submit]]></text>
  12.         </button>
  13.         <fields>
  14.             <field id="1" isRequired="1" size="medium" type="name">
  15.                 <label><![CDATA[Name]]></label>
  16.                 <inputs>
  17.                     <input id="1.3">
  18.                         <label><![CDATA[First]]></label>
  19.                     </input>
  20.                     <input id="1.6">
  21.                         <label><![CDATA[Last]]></label>
  22.                     </input>
  23.                 </inputs>
  24.             </field>
  25.             <field id="4" isRequired="1" size="medium" type="email">
  26.                 <label><![CDATA[Email]]></label>
  27.             </field>
  28.             <field id="2" isRequired="1" size="large" type="text">
  29.                 <label><![CDATA[What did you do last weekend?]]></label>
  30.             </field>
  31.             <field id="3" isRequired="1" size="medium" type="radio" enableChoiceValue="1">
  32.                 <label><![CDATA[Your weight loss goal]]></label>
  33.                 <choices>
  34.                     <choice>
  35.                         <text><![CDATA[< 10 lbs]]></text>
  36.                         <value><![CDATA[small]]></value>
  37.                     </choice>
  38.                     <choice>
  39.                         <text><![CDATA[10 - 25 lbs]]></text>
  40.                         <value><![CDATA[medium]]></value>
  41.                     </choice>
  42.                     <choice>
  43.                         <text><![CDATA[26+ lbs]]></text>
  44.                         <value><![CDATA[large]]></value>
  45.                     </choice>
  46.                 </choices>
  47.             </field>
  48.         </fields>
  49.         <descriptionPlacement><![CDATA[below]]></descriptionPlacement>
  50.         <enableHoneypot><![CDATA[1]]></enableHoneypot>
  51.         <notification>
  52.             <to><![CDATA[{admin_email}]]></to>
  53.             <subject><![CDATA[New submission from {form_title}]]></subject>
  54.             <message><![CDATA[{all_fields}]]></message>
  55.         </notification>
  56.     </form>
  57. </forms>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement