forked from viveleroi/jquery.formbuilder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fake-form-db-vals.php
11 lines (8 loc) · 1.05 KB
/
fake-form-db-vals.php
1
2
3
4
5
6
7
8
9
10
11
<?php
// This is an arry of fake form values that should be coming from your
// database, or data storage system. This is simply defined here for
// example purposes only.
$fake_db_vals = array(
'form_hash'=>'1f5629c844161727f84bc9f35c90e34141498859',
'form_structure'=>'a:4:{i:0;a:3:{s:8:"cssClass";s:10:"input_text";s:8:"required";s:5:"false";s:6:"values";s:4:"Name";}i:1;a:3:{s:8:"cssClass";s:10:"input_text";s:8:"required";s:4:"true";s:6:"values";s:15:"E-mail Address?";}i:2;a:4:{s:8:"cssClass";s:8:"checkbox";s:8:"required";s:5:"false";s:5:"title";s:11:"Choose any:";s:6:"values";a:4:{i:2;a:2:{s:5:"value";s:3:"PHP";s:8:"baseline";s:4:"true";}i:3;a:2:{s:5:"value";s:6:"jQuery";s:8:"baseline";s:4:"true";}i:4;a:2:{s:5:"value";s:3:"XML";s:8:"baseline";s:4:"true";}i:5;a:2:{s:5:"value";s:5:"Aspen";s:8:"baseline";s:5:"false";}}}i:3;a:4:{s:8:"cssClass";s:5:"radio";s:8:"required";s:4:"true";s:5:"title";s:11:"Choose one:";s:6:"values";a:2:{i:2;a:2:{s:5:"value";s:3:"Yes";s:8:"baseline";s:4:"true";}i:3;a:2:{s:5:"value";s:2:"No";s:8:"baseline";s:5:"false";}}}}');
?>