-
Notifications
You must be signed in to change notification settings - Fork 1
/
example.fxm
8 lines (8 loc) · 16.4 KB
/
example.fxm
1
2
3
4
5
6
7
8
a:13:{s:7:"form_id";s:1:"1";s:9:"form_name";s:11:"Sample Form";s:11:"description";s:37:"An example of FormExpress flexibility";s:13:"submit_action";s:55:"{FormExpress:sendmail&email_address='philip@localhost'}";s:14:"success_action";s:143:"{FormExpress:display_message&type='success'&message='Your message has been sent. Please quote the following number in future correspondence: '}";s:14:"failure_action";s:61:"{FormExpress:display_message&type='failure'&message='Ooops!'}";s:13:"onload_action";s:0:"";s:17:"validation_action";s:0:"";s:6:"active";s:1:"1";s:8:"language";s:0:"";s:17:"input_name_suffix";s:10:"1101322727";s:5:"items";a:31:{i:0;a:18:{s:12:"form_item_id";s:1:"1";s:7:"form_id";s:1:"1";s:8:"sequence";s:2:"10";s:9:"item_type";s:11:"boilerplate";s:9:"item_name";s:11:"boilerplate";s:8:"required";s:1:"0";s:6:"prompt";s:0:"";s:15:"prompt_position";s:6:"hidden";s:10:"item_value";s:378:"For further information on the services we provide please contact A N Other:
<p>
Phone: 555 1234<br>
Fax: 555 5678<br>
E-mail: <a href="email:[email protected]">[email protected]</a>
<p/>
Alternatively, please complete the following form. We endeavour to respond to all enquirys within two working days. If however you require an urgent response please telephone us.
";s:13:"default_value";s:0:"";s:4:"cols";s:1:"0";s:4:"rows";s:1:"0";s:8:"multiple";s:1:"0";s:10:"max_length";s:1:"0";s:15:"item_attributes";s:0:"";s:15:"validation_rule";s:0:"";s:6:"active";s:1:"1";s:17:"relative_position";s:5:"below";}i:1;a:18:{s:12:"form_item_id";s:1:"2";s:7:"form_id";s:1:"1";s:8:"sequence";s:2:"20";s:9:"item_type";s:10:"groupstart";s:9:"item_name";s:10:"GroupStart";s:8:"required";s:1:"0";s:6:"prompt";s:27:"<b>Your contact details</b>";s:15:"prompt_position";s:5:"above";s:10:"item_value";s:0:"";s:13:"default_value";s:0:"";s:4:"cols";s:1:"0";s:4:"rows";s:1:"0";s:8:"multiple";s:1:"0";s:10:"max_length";s:1:"0";s:15:"item_attributes";s:0:"";s:15:"validation_rule";s:0:"";s:6:"active";s:1:"1";s:17:"relative_position";s:5:"below";}i:2;a:18:{s:12:"form_item_id";s:1:"4";s:7:"form_id";s:1:"1";s:8:"sequence";s:2:"30";s:9:"item_type";s:4:"text";s:9:"item_name";s:11:"companyname";s:8:"required";s:1:"0";s:6:"prompt";s:7:"Company";s:15:"prompt_position";s:7:"leftcol";s:10:"item_value";s:0:"";s:13:"default_value";s:10:"Stutchbury";s:4:"cols";s:2:"50";s:4:"rows";s:1:"0";s:8:"multiple";s:1:"0";s:10:"max_length";s:2:"80";s:15:"item_attributes";s:0:"";s:15:"validation_rule";s:0:"";s:6:"active";s:1:"1";s:17:"relative_position";s:5:"below";}i:3;a:18:{s:12:"form_item_id";s:1:"3";s:7:"form_id";s:1:"1";s:8:"sequence";s:2:"40";s:9:"item_type";s:4:"text";s:9:"item_name";s:8:"fullname";s:8:"required";s:1:"1";s:6:"prompt";s:4:"Name";s:15:"prompt_position";s:7:"leftcol";s:10:"item_value";s:0:"";s:13:"default_value";s:42:"{FormExpress:configgetvar&name='usermail'}";s:4:"cols";s:2:"50";s:4:"rows";s:1:"0";s:8:"multiple";s:1:"0";s:10:"max_length";s:2:"80";s:15:"item_attributes";s:0:"";s:15:"validation_rule";s:0:"";s:6:"active";s:1:"1";s:17:"relative_position";s:5:"below";}i:4;a:18:{s:12:"form_item_id";s:1:"5";s:7:"form_id";s:1:"1";s:8:"sequence";s:2:"50";s:9:"item_type";s:4:"text";s:9:"item_name";s:5:"email";s:8:"required";s:1:"1";s:6:"prompt";s:13:"Email Address";s:15:"prompt_position";s:7:"leftcol";s:10:"item_value";s:0:"";s:13:"default_value";s:37:"{FormExpress:userGetVar&name='email'}";s:4:"cols";s:2:"50";s:4:"rows";s:1:"0";s:8:"multiple";s:1:"0";s:10:"max_length";s:3:"100";s:15:"item_attributes";s:0:"";s:15:"validation_rule";s:111:"{ereg:^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*$&This does not appear to be a valid email address}";s:6:"active";s:1:"1";s:17:"relative_position";s:5:"below";}i:5;a:18:{s:12:"form_item_id";s:1:"6";s:7:"form_id";s:1:"1";s:8:"sequence";s:2:"60";s:9:"item_type";s:4:"text";s:9:"item_name";s:5:"phone";s:8:"required";s:1:"1";s:6:"prompt";s:9:"Telephone";s:15:"prompt_position";s:7:"leftcol";s:10:"item_value";s:0:"";s:13:"default_value";s:0:"";s:4:"cols";s:2:"30";s:4:"rows";s:1:"0";s:8:"multiple";s:1:"0";s:10:"max_length";s:2:"50";s:15:"item_attributes";s:0:"";s:15:"validation_rule";s:0:"";s:6:"active";s:1:"1";s:17:"relative_position";s:5:"below";}i:6;a:18:{s:12:"form_item_id";s:1:"7";s:7:"form_id";s:1:"1";s:8:"sequence";s:2:"70";s:9:"item_type";s:11:"boilerplate";s:9:"item_name";s:11:"BoilerPlate";s:8:"required";s:1:"0";s:6:"prompt";s:0:"";s:15:"prompt_position";s:6:"hidden";s:10:"item_value";s:39:"How would you prefer us to contact you?";s:13:"default_value";s:0:"";s:4:"cols";s:1:"0";s:4:"rows";s:1:"0";s:8:"multiple";s:1:"0";s:10:"max_length";s:1:"0";s:15:"item_attributes";s:0:"";s:15:"validation_rule";s:0:"";s:6:"active";s:1:"1";s:17:"relative_position";s:5:"below";}i:7;a:18:{s:12:"form_item_id";s:1:"8";s:7:"form_id";s:1:"1";s:8:"sequence";s:2:"80";s:9:"item_type";s:5:"radio";s:9:"item_name";s:13:"contactmethod";s:8:"required";s:1:"0";s:6:"prompt";s:5:"Email";s:15:"prompt_position";s:5:"right";s:10:"item_value";s:5:"email";s:13:"default_value";s:5:"email";s:4:"cols";s:1:"0";s:4:"rows";s:1:"0";s:8:"multiple";s:1:"0";s:10:"max_length";s:1:"0";s:15:"item_attributes";s:0:"";s:15:"validation_rule";s:0:"";s:6:"active";s:1:"1";s:17:"relative_position";s:6:"inline";}i:8;a:18:{s:12:"form_item_id";s:1:"9";s:7:"form_id";s:1:"1";s:8:"sequence";s:2:"90";s:9:"item_type";s:5:"radio";s:9:"item_name";s:13:"contactmethod";s:8:"required";s:1:"0";s:6:"prompt";s:9:"Telephone";s:15:"prompt_position";s:5:"right";s:10:"item_value";s:5:"phone";s:13:"default_value";s:0:"";s:4:"cols";s:1:"0";s:4:"rows";s:1:"0";s:8:"multiple";s:1:"0";s:10:"max_length";s:1:"0";s:15:"item_attributes";s:0:"";s:15:"validation_rule";s:0:"";s:6:"active";s:1:"1";s:17:"relative_position";s:6:"inline";}i:9;a:18:{s:12:"form_item_id";s:2:"10";s:7:"form_id";s:1:"1";s:8:"sequence";s:3:"100";s:9:"item_type";s:8:"groupend";s:9:"item_name";s:8:"GroupEnd";s:8:"required";s:1:"0";s:6:"prompt";s:0:"";s:15:"prompt_position";s:0:"";s:10:"item_value";s:0:"";s:13:"default_value";s:0:"";s:4:"cols";s:1:"0";s:4:"rows";s:1:"0";s:8:"multiple";s:1:"0";s:10:"max_length";s:1:"0";s:15:"item_attributes";s:0:"";s:15:"validation_rule";s:0:"";s:6:"active";s:1:"1";s:17:"relative_position";s:0:"";}i:10;a:18:{s:12:"form_item_id";s:2:"11";s:7:"form_id";s:1:"1";s:8:"sequence";s:3:"110";s:9:"item_type";s:10:"groupstart";s:9:"item_name";s:10:"GroupStart";s:8:"required";s:1:"0";s:6:"prompt";s:0:"";s:15:"prompt_position";s:6:"hidden";s:10:"item_value";s:31:"<b>Your area(s) of interest</b>";s:13:"default_value";s:0:"";s:4:"cols";s:1:"0";s:4:"rows";s:1:"0";s:8:"multiple";s:1:"0";s:10:"max_length";s:1:"0";s:15:"item_attributes";s:0:"";s:15:"validation_rule";s:0:"";s:6:"active";s:1:"1";s:17:"relative_position";s:5:"below";}i:11;a:18:{s:12:"form_item_id";s:2:"12";s:7:"form_id";s:1:"1";s:8:"sequence";s:3:"120";s:9:"item_type";s:8:"checkbox";s:9:"item_name";s:5:"ltdco";s:8:"required";s:1:"0";s:6:"prompt";s:17:"Limited Companies";s:15:"prompt_position";s:5:"right";s:10:"item_value";s:3:"yes";s:13:"default_value";s:0:"";s:4:"cols";s:1:"0";s:4:"rows";s:1:"0";s:8:"multiple";s:1:"0";s:10:"max_length";s:1:"0";s:15:"item_attributes";s:0:"";s:15:"validation_rule";s:0:"";s:6:"active";s:1:"1";s:17:"relative_position";s:5:"below";}i:12;a:18:{s:12:"form_item_id";s:2:"13";s:7:"form_id";s:1:"1";s:8:"sequence";s:3:"130";s:9:"item_type";s:8:"checkbox";s:9:"item_name";s:10:"soletrader";s:8:"required";s:1:"0";s:6:"prompt";s:27:"Sole Traders & Partnerships";s:15:"prompt_position";s:5:"right";s:10:"item_value";s:10:"soletrader";s:13:"default_value";s:0:"";s:4:"cols";s:1:"0";s:4:"rows";s:1:"0";s:8:"multiple";s:1:"0";s:10:"max_length";s:1:"0";s:15:"item_attributes";s:0:"";s:15:"validation_rule";s:0:"";s:6:"active";s:1:"1";s:17:"relative_position";s:5:"right";}i:13;a:18:{s:12:"form_item_id";s:2:"14";s:7:"form_id";s:1:"1";s:8:"sequence";s:3:"140";s:9:"item_type";s:8:"checkbox";s:9:"item_name";s:11:"newbusiness";s:8:"required";s:1:"0";s:6:"prompt";s:21:"New Business Startups";s:15:"prompt_position";s:5:"right";s:10:"item_value";s:11:"newbusiness";s:13:"default_value";s:0:"";s:4:"cols";s:1:"0";s:4:"rows";s:1:"0";s:8:"multiple";s:1:"0";s:10:"max_length";s:1:"0";s:15:"item_attributes";s:0:"";s:15:"validation_rule";s:0:"";s:6:"active";s:1:"1";s:17:"relative_position";s:5:"below";}i:14;a:18:{s:12:"form_item_id";s:2:"15";s:7:"form_id";s:1:"1";s:8:"sequence";s:3:"150";s:9:"item_type";s:8:"checkbox";s:9:"item_name";s:9:"Compcontr";s:8:"required";s:1:"0";s:6:"prompt";s:20:"Computer Contractors";s:15:"prompt_position";s:5:"right";s:10:"item_value";s:3:"yes";s:13:"default_value";s:0:"";s:4:"cols";s:1:"0";s:4:"rows";s:1:"0";s:8:"multiple";s:1:"0";s:10:"max_length";s:1:"0";s:15:"item_attributes";s:0:"";s:15:"validation_rule";s:0:"";s:6:"active";s:1:"1";s:17:"relative_position";s:5:"right";}i:15;a:18:{s:12:"form_item_id";s:2:"16";s:7:"form_id";s:1:"1";s:8:"sequence";s:3:"160";s:9:"item_type";s:8:"checkbox";s:9:"item_name";s:13:"taxcompliance";s:8:"required";s:1:"0";s:6:"prompt";s:29:"Tax Compliance & Planning";s:15:"prompt_position";s:5:"right";s:10:"item_value";s:3:"yes";s:13:"default_value";s:0:"";s:4:"cols";s:1:"0";s:4:"rows";s:1:"0";s:8:"multiple";s:1:"0";s:10:"max_length";s:1:"0";s:15:"item_attributes";s:0:"";s:15:"validation_rule";s:0:"";s:6:"active";s:1:"1";s:17:"relative_position";s:5:"below";}i:16;a:18:{s:12:"form_item_id";s:2:"17";s:7:"form_id";s:1:"1";s:8:"sequence";s:3:"170";s:9:"item_type";s:8:"checkbox";s:9:"item_name";s:3:"vat";s:8:"required";s:1:"0";s:6:"prompt";s:3:"VAT";s:15:"prompt_position";s:5:"right";s:10:"item_value";s:3:"yes";s:13:"default_value";s:0:"";s:4:"cols";s:1:"0";s:4:"rows";s:1:"0";s:8:"multiple";s:1:"0";s:10:"max_length";s:1:"0";s:15:"item_attributes";s:0:"";s:15:"validation_rule";s:0:"";s:6:"active";s:1:"1";s:17:"relative_position";s:5:"right";}i:17;a:18:{s:12:"form_item_id";s:2:"18";s:7:"form_id";s:1:"1";s:8:"sequence";s:3:"180";s:9:"item_type";s:8:"checkbox";s:9:"item_name";s:7:"payroll";s:8:"required";s:1:"0";s:6:"prompt";s:7:"Payroll";s:15:"prompt_position";s:5:"right";s:10:"item_value";s:3:"yes";s:13:"default_value";s:0:"";s:4:"cols";s:1:"0";s:4:"rows";s:1:"0";s:8:"multiple";s:1:"0";s:10:"max_length";s:1:"0";s:15:"item_attributes";s:0:"";s:15:"validation_rule";s:0:"";s:6:"active";s:1:"1";s:17:"relative_position";s:5:"below";}i:18;a:18:{s:12:"form_item_id";s:2:"19";s:7:"form_id";s:1:"1";s:8:"sequence";s:3:"190";s:9:"item_type";s:8:"checkbox";s:9:"item_name";s:5:"other";s:8:"required";s:1:"0";s:6:"prompt";s:6:"Other:";s:15:"prompt_position";s:5:"right";s:10:"item_value";s:3:"yes";s:13:"default_value";s:0:"";s:4:"cols";s:1:"0";s:4:"rows";s:1:"0";s:8:"multiple";s:1:"0";s:10:"max_length";s:1:"0";s:15:"item_attributes";s:0:"";s:15:"validation_rule";s:0:"";s:6:"active";s:1:"1";s:17:"relative_position";s:5:"right";}i:19;a:18:{s:12:"form_item_id";s:2:"20";s:7:"form_id";s:1:"1";s:8:"sequence";s:3:"200";s:9:"item_type";s:4:"text";s:9:"item_name";s:9:"othertext";s:8:"required";s:1:"0";s:6:"prompt";s:0:"";s:15:"prompt_position";s:6:"hidden";s:10:"item_value";s:0:"";s:13:"default_value";s:0:"";s:4:"cols";s:2:"20";s:4:"rows";s:1:"0";s:8:"multiple";s:1:"0";s:10:"max_length";s:3:"100";s:15:"item_attributes";s:0:"";s:15:"validation_rule";s:0:"";s:6:"active";s:1:"1";s:17:"relative_position";s:6:"inline";}i:20;a:18:{s:12:"form_item_id";s:2:"21";s:7:"form_id";s:1:"1";s:8:"sequence";s:3:"210";s:9:"item_type";s:8:"groupend";s:9:"item_name";s:8:"GroupEnd";s:8:"required";s:1:"0";s:6:"prompt";s:0:"";s:15:"prompt_position";s:0:"";s:10:"item_value";s:0:"";s:13:"default_value";s:0:"";s:4:"cols";s:1:"0";s:4:"rows";s:1:"0";s:8:"multiple";s:1:"0";s:10:"max_length";s:1:"0";s:15:"item_attributes";s:0:"";s:15:"validation_rule";s:0:"";s:6:"active";s:1:"1";s:17:"relative_position";s:0:"";}i:21;a:18:{s:12:"form_item_id";s:2:"22";s:7:"form_id";s:1:"1";s:8:"sequence";s:3:"220";s:9:"item_type";s:10:"groupstart";s:9:"item_name";s:10:"GroupStart";s:8:"required";s:1:"0";s:6:"prompt";s:0:"";s:15:"prompt_position";s:6:"hidden";s:10:"item_value";s:0:"";s:13:"default_value";s:0:"";s:4:"cols";s:1:"0";s:4:"rows";s:1:"0";s:8:"multiple";s:1:"0";s:10:"max_length";s:1:"0";s:15:"item_attributes";s:0:"";s:15:"validation_rule";s:0:"";s:6:"active";s:1:"1";s:17:"relative_position";s:5:"below";}i:22;a:18:{s:12:"form_item_id";s:2:"23";s:7:"form_id";s:1:"1";s:8:"sequence";s:3:"230";s:9:"item_type";s:8:"textarea";s:9:"item_name";s:8:"feedback";s:8:"required";s:1:"0";s:6:"prompt";s:38:"<b>Comments/Additional Information</b>";s:15:"prompt_position";s:5:"above";s:10:"item_value";s:0:"";s:13:"default_value";s:0:"";s:4:"cols";s:2:"50";s:4:"rows";s:1:"5";s:8:"multiple";s:1:"0";s:10:"max_length";s:3:"200";s:15:"item_attributes";s:0:"";s:15:"validation_rule";s:0:"";s:6:"active";s:1:"1";s:17:"relative_position";s:5:"below";}i:23;a:18:{s:12:"form_item_id";s:2:"24";s:7:"form_id";s:1:"1";s:8:"sequence";s:3:"240";s:9:"item_type";s:10:"groupstart";s:9:"item_name";s:10:"GroupStart";s:8:"required";s:1:"0";s:6:"prompt";s:0:"";s:15:"prompt_position";s:6:"hidden";s:10:"item_value";s:0:"";s:13:"default_value";s:0:"";s:4:"cols";s:1:"0";s:4:"rows";s:1:"0";s:8:"multiple";s:1:"0";s:10:"max_length";s:1:"0";s:15:"item_attributes";s:0:"";s:15:"validation_rule";s:0:"";s:6:"active";s:1:"1";s:17:"relative_position";s:5:"right";}i:24;a:18:{s:12:"form_item_id";s:2:"25";s:7:"form_id";s:1:"1";s:8:"sequence";s:3:"250";s:9:"item_type";s:10:"selectlist";s:9:"item_name";s:7:"prstuff";s:8:"required";s:1:"0";s:6:"prompt";s:30:"<br>How did you hear about us?";s:15:"prompt_position";s:5:"above";s:10:"item_value";s:42:",1=Advert,2=Recomendation,3=Internet,Other";s:13:"default_value";s:0:"";s:4:"cols";s:1:"0";s:4:"rows";s:1:"0";s:8:"multiple";s:1:"0";s:10:"max_length";s:1:"0";s:15:"item_attributes";s:0:"";s:15:"validation_rule";s:0:"";s:6:"active";s:1:"1";s:17:"relative_position";s:5:"below";}i:25;a:18:{s:12:"form_item_id";s:2:"79";s:7:"form_id";s:1:"1";s:8:"sequence";s:3:"260";s:9:"item_type";s:6:"button";s:9:"item_name";s:8:"mybutton";s:8:"required";s:1:"0";s:6:"prompt";s:0:"";s:15:"prompt_position";s:6:"hidden";s:10:"item_value";s:14:"Press Me First";s:13:"default_value";s:6:"button";s:4:"cols";s:1:"0";s:4:"rows";s:1:"0";s:8:"multiple";s:1:"0";s:10:"max_length";s:1:"0";s:15:"item_attributes";s:26:"onmouseup="alert('Boo!');"";s:15:"validation_rule";s:0:"";s:6:"active";s:1:"1";s:17:"relative_position";s:5:"below";}i:26;a:18:{s:12:"form_item_id";s:2:"26";s:7:"form_id";s:1:"1";s:8:"sequence";s:3:"270";s:9:"item_type";s:6:"submit";s:9:"item_name";s:6:"submit";s:8:"required";s:1:"0";s:6:"prompt";s:0:"";s:15:"prompt_position";s:5:"above";s:10:"item_value";s:4:"Send";s:13:"default_value";s:0:"";s:4:"cols";s:1:"0";s:4:"rows";s:1:"0";s:8:"multiple";s:1:"0";s:10:"max_length";s:1:"0";s:15:"item_attributes";s:0:"";s:15:"validation_rule";s:0:"";s:6:"active";s:1:"1";s:17:"relative_position";s:5:"below";}i:27;a:18:{s:12:"form_item_id";s:2:"27";s:7:"form_id";s:1:"1";s:8:"sequence";s:3:"280";s:9:"item_type";s:5:"reset";s:9:"item_name";s:5:"reset";s:8:"required";s:1:"0";s:6:"prompt";s:0:"";s:15:"prompt_position";s:6:"hidden";s:10:"item_value";s:5:"Reset";s:13:"default_value";s:0:"";s:4:"cols";s:1:"0";s:4:"rows";s:1:"0";s:8:"multiple";s:1:"0";s:10:"max_length";s:1:"0";s:15:"item_attributes";s:0:"";s:15:"validation_rule";s:0:"";s:6:"active";s:1:"1";s:17:"relative_position";s:6:"inline";}i:28;a:18:{s:12:"form_item_id";s:2:"28";s:7:"form_id";s:1:"1";s:8:"sequence";s:3:"290";s:9:"item_type";s:8:"groupend";s:9:"item_name";s:8:"GroupEnd";s:8:"required";s:1:"0";s:6:"prompt";s:0:"";s:15:"prompt_position";s:0:"";s:10:"item_value";s:0:"";s:13:"default_value";s:0:"";s:4:"cols";s:1:"0";s:4:"rows";s:1:"0";s:8:"multiple";s:1:"0";s:10:"max_length";s:1:"0";s:15:"item_attributes";s:0:"";s:15:"validation_rule";s:0:"";s:6:"active";s:1:"1";s:17:"relative_position";s:0:"";}i:29;a:18:{s:12:"form_item_id";s:2:"29";s:7:"form_id";s:1:"1";s:8:"sequence";s:3:"300";s:9:"item_type";s:8:"groupend";s:9:"item_name";s:8:"GroupEnd";s:8:"required";s:1:"0";s:6:"prompt";s:0:"";s:15:"prompt_position";s:0:"";s:10:"item_value";s:0:"";s:13:"default_value";s:0:"";s:4:"cols";s:1:"0";s:4:"rows";s:1:"0";s:8:"multiple";s:1:"0";s:10:"max_length";s:1:"0";s:15:"item_attributes";s:0:"";s:15:"validation_rule";s:0:"";s:6:"active";s:1:"1";s:17:"relative_position";s:0:"";}i:30;a:18:{s:12:"form_item_id";s:2:"30";s:7:"form_id";s:1:"1";s:8:"sequence";s:3:"310";s:9:"item_type";s:6:"hidden";s:9:"item_name";s:9:"cantseeme";s:8:"required";s:1:"0";s:6:"prompt";s:0:"";s:15:"prompt_position";s:0:"";s:10:"item_value";s:10:"well maybe";s:13:"default_value";s:0:"";s:4:"cols";s:1:"0";s:4:"rows";s:1:"0";s:8:"multiple";s:1:"0";s:10:"max_length";s:1:"0";s:15:"item_attributes";s:0:"";s:15:"validation_rule";s:0:"";s:6:"active";s:1:"1";s:17:"relative_position";s:0:"";}}s:19:"FormExpress_version";s:5:"0.3.3";}