Advertisement
chrishajer

XML Export of form for post 70962

Aug 27th, 2012
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 7.97 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[Electricity Details]]></title>
  5.         <description><![CDATA[It helps if you have a copy of your bill to hand so that you can provide details of your electricity supply.  On the bill will be your MPAN it is in a grid with a Large S and 2 rows of Numbers.  The top line will start with the numbers 00 through to 08, the Bottom Line will start with 10 through to 23.  Additionally please enter the estimated annual consumption in kWh.  If you do not know just enter the amount you spend in the comments box.]]></description>
  6.         <confirmation type="message">
  7.         </confirmation>
  8.         <button type="text">
  9.             <text><![CDATA[Submit]]></text>
  10.         </button>
  11.         <fields>
  12.             <field id="1" size="medium" type="hidden">
  13.                 <defaultValue><![CDATA[SAS Bus Elec]]></defaultValue>
  14.                 <label><![CDATA[Form Name]]></label>
  15.             </field>
  16.             <field id="2" isRequired="1" size="medium" type="text">
  17.                 <label><![CDATA[Name]]></label>
  18.                 <maxLength><![CDATA[25]]></maxLength>
  19.             </field>
  20.             <field id="3" isRequired="1" size="medium" type="text">
  21.                 <label><![CDATA[Company]]></label>
  22.                 <maxLength><![CDATA[25]]></maxLength>
  23.             </field>
  24.             <field id="4" isRequired="1" size="medium" type="text">
  25.                 <label><![CDATA[Phone]]></label>
  26.                 <maxLength><![CDATA[12]]></maxLength>
  27.             </field>
  28.             <field id="5" isRequired="1" size="medium" type="email">
  29.                 <label><![CDATA[Email]]></label>
  30.             </field>
  31.             <field id="6" isRequired="1" size="medium" type="date" calendarIconType="calendar" dateType="datepicker" dateFormat="dmy">
  32.                 <label><![CDATA[Contract End Date]]></label>
  33.             </field>
  34.             <field id="27" size="medium" type="html" displayOnly="1">
  35.                 <content><![CDATA[<div style="padding: 20px 0;">Your electricity bill will have an MPAN which looks like this:<br />
  36. <img src="http://saveandsupport.co.uk/wp-content/uploads/2012/04/Example-of-a-MPAN.gif" title="MPAN image" height="45" width="165" style="padding: 10px 0;" /><br />Please refer to the image above when filling out the next 7 form fields.</div>]]></content>
  37.                 <label><![CDATA[MPAN Image]]></label>
  38.                 <disableMargins><![CDATA[1]]></disableMargins>
  39.             </field>
  40.             <field id="37" size="medium" type="html" displayOnly="1">
  41.                 <content><![CDATA[<span><img style="float:left;" src="http://gravity.chrishajer.com/wp-content/uploads/2012/08/top-s.png"  height="26" width="26" alt="Top half of the letter S on an MPAN" /></span>]]></content>
  42.                 <label><![CDATA[Top Half S]]></label>
  43.                 <disableMargins><![CDATA[1]]></disableMargins>
  44.             </field>
  45.             <field id="28" isRequired="1" size="small" type="number" numberFormat="decimal_dot">
  46.                 <cssClass><![CDATA[gf_inline]]></cssClass>
  47.                 <label><![CDATA[MPAN top1]]></label>
  48.             </field>
  49.             <field id="29" isRequired="1" size="small" type="number" numberFormat="decimal_dot">
  50.                 <adminLabel><![CDATA[MPAN top2]]></adminLabel>
  51.                 <cssClass><![CDATA[gf_inline]]></cssClass>
  52.                 <label><![CDATA[MPAN top2]]></label>
  53.             </field>
  54.             <field id="30" isRequired="1" size="small" type="number" numberFormat="decimal_dot">
  55.                 <cssClass><![CDATA[gf_inline]]></cssClass>
  56.                 <label><![CDATA[MPAN top3]]></label>
  57.             </field>
  58.             <field id="36" size="medium" type="html" displayOnly="1">
  59.                 <cssClass><![CDATA[clear]]></cssClass>
  60.                 <label><![CDATA[HTML Block]]></label>
  61.                 <disableMargins><![CDATA[1]]></disableMargins>
  62.             </field>
  63.             <field id="38" size="medium" type="html" displayOnly="1">
  64.                 <content><![CDATA[<span><img  style="float:left;" src="http://gravity.chrishajer.com/wp-content/uploads/2012/08/bottom-s.png" height="27" width="26" alt="Bottom half of the letter S on an MPAN" /></span>]]></content>
  65.                 <label><![CDATA[Bottom Half S]]></label>
  66.                 <disableMargins><![CDATA[1]]></disableMargins>
  67.             </field>
  68.             <field id="31" isRequired="1" size="small" type="number" numberFormat="decimal_dot">
  69.                 <cssClass><![CDATA[gf_inline]]></cssClass>
  70.                 <label><![CDATA[MPAN bot1]]></label>
  71.             </field>
  72.             <field id="32" isRequired="1" size="small" type="number" numberFormat="decimal_dot">
  73.                 <cssClass><![CDATA[gf_inline]]></cssClass>
  74.                 <label><![CDATA[MPAN bot2]]></label>
  75.             </field>
  76.             <field id="33" isRequired="1" size="small" type="number" numberFormat="decimal_dot">
  77.                 <cssClass><![CDATA[gf_inline]]></cssClass>
  78.                 <label><![CDATA[MPAN bot3]]></label>
  79.             </field>
  80.             <field id="34" isRequired="1" size="small" type="number" numberFormat="decimal_dot">
  81.                 <cssClass><![CDATA[gf_inline]]></cssClass>
  82.                 <label><![CDATA[MPAN bot4]]></label>
  83.             </field>
  84.             <field adminOnly="1" id="13" size="small" type="text">
  85.                 <description><![CDATA[The top line will start with the numbers 00 through to 08]]></description>
  86.                 <cssClass><![CDATA[gf_inline]]></cssClass>
  87.                 <label><![CDATA[MPAN Top LINE]]></label>
  88.                 <maxLength><![CDATA[8]]></maxLength>
  89.             </field>
  90.             <field adminOnly="1" id="14" size="small" type="text">
  91.                 <description><![CDATA[The bottom line will start with the numbers 10 through 23]]></description>
  92.                 <cssClass><![CDATA[gf_inline]]></cssClass>
  93.                 <label><![CDATA[MPAN Bottom Line]]></label>
  94.                 <maxLength><![CDATA[13]]></maxLength>
  95.             </field>
  96.             <field id="20" size="medium" type="text">
  97.                 <label><![CDATA[Profile]]></label>
  98.                 <maxLength><![CDATA[2]]></maxLength>
  99.             </field>
  100.             <field id="21" size="medium" type="text">
  101.                 <label><![CDATA[MTC]]></label>
  102.                 <maxLength><![CDATA[3]]></maxLength>
  103.             </field>
  104.             <field id="22" size="medium" type="text">
  105.                 <label><![CDATA[LLF]]></label>
  106.                 <maxLength><![CDATA[3]]></maxLength>
  107.             </field>
  108.             <field id="23" size="medium" type="text">
  109.                 <label><![CDATA[Region]]></label>
  110.                 <maxLength><![CDATA[2]]></maxLength>
  111.             </field>
  112.             <field id="24" size="medium" type="text">
  113.                 <label><![CDATA[Left]]></label>
  114.                 <maxLength><![CDATA[4]]></maxLength>
  115.             </field>
  116.             <field id="25" size="medium" type="text">
  117.                 <label><![CDATA[Centre]]></label>
  118.                 <maxLength><![CDATA[4]]></maxLength>
  119.             </field>
  120.             <field id="26" size="medium" type="text">
  121.                 <label><![CDATA[Right]]></label>
  122.                 <maxLength><![CDATA[3]]></maxLength>
  123.             </field>
  124.             <field id="15" size="medium" type="number" numberFormat="decimal_comma">
  125.                 <description><![CDATA[If you do not know the total kWh please enter your spend in the comments box.]]></description>
  126.                 <label><![CDATA[Estimated Total kWh per year]]></label>
  127.             </field>
  128.             <field id="7" isRequired="1" size="medium" type="text">
  129.                 <label><![CDATA[Club / Charity]]></label>
  130.                 <maxLength><![CDATA[25]]></maxLength>
  131.             </field>
  132.             <field id="16" size="medium" type="text">
  133.                 <description><![CDATA[Your supply reference in the event you have multiple supplies and / or multiple sites.]]></description>
  134.                 <label><![CDATA[Your Reference]]></label>
  135.             </field>
  136.             <field id="8" size="medium" type="textarea">
  137.                 <description><![CDATA[Please enter any additional information regarding your electricity supply.  For multiple supplies please enter the details.]]></description>
  138.                 <label><![CDATA[Comments]]></label>
  139.                 <maxLength><![CDATA[200]]></maxLength>
  140.             </field>
  141.             <field id="9" size="medium" type="hidden">
  142.                 <label><![CDATA[GA Source]]></label>
  143.             </field>
  144.             <field id="10" size="medium" type="hidden">
  145.                 <label><![CDATA[GA Medium]]></label>
  146.             </field>
  147.             <field id="11" size="medium" type="hidden">
  148.                 <label><![CDATA[GA Campaign]]></label>
  149.             </field>
  150.             <field id="17" size="medium" type="hidden">
  151.                 <label><![CDATA[GA Term]]></label>
  152.             </field>
  153.             <field id="18" size="medium" type="hidden">
  154.                 <label><![CDATA[GA Content]]></label>
  155.             </field>
  156.             <field id="19" size="medium" type="hidden">
  157.                 <label><![CDATA[GA Segment]]></label>
  158.             </field>
  159.         </fields>
  160.         <descriptionPlacement><![CDATA[below]]></descriptionPlacement>
  161.         <notification>
  162.             <to><![CDATA[{admin_email}]]></to>
  163.             <subject><![CDATA[New submission from {form_title}]]></subject>
  164.             <message><![CDATA[{all_fields}]]></message>
  165.         </notification>
  166.     </form>
  167. </forms>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement