Form Builder | Create Responsive Contact Forms - Version 1.9.4

Version Description

Download this release

Release Info

Developer umarbajwa
Plugin Icon 128x128 Form Builder | Create Responsive Contact Forms
Version 1.9.4
Comparing to
See all releases

Code changes from version 1.9.3 to 1.9.4

admin/assets/css/style.css CHANGED
@@ -369,4 +369,4 @@ textarea#customHtmlSource, #fieldCssClasses {
369
  -moz-box-shadow: 0px 0px 3px 0px rgba(119, 119, 119, 0.5);
370
  -webkit-box-shadow: 0px 0px 3px 0px rgba(119, 119, 119, 0.5);
371
  border: 1px rgb(221, 221, 221) solid;
372
- }
369
  -moz-box-shadow: 0px 0px 3px 0px rgba(119, 119, 119, 0.5);
370
  -webkit-box-shadow: 0px 0px 3px 0px rgba(119, 119, 119, 0.5);
371
  border: 1px rgb(221, 221, 221) solid;
372
+ }
admin/core/class/class-smuzform-admin.php CHANGED
@@ -62,7 +62,7 @@ class SmuzForm_Admin {
62
 
63
  $page_title = 'Form Builder';
64
 
65
- $menu_title = 'Contact Form';
66
 
67
  $capability = 'manage_options';
68
 
62
 
63
  $page_title = 'Form Builder';
64
 
65
+ $menu_title = 'Form Builder';
66
 
67
  $capability = 'manage_options';
68
 
admin/views/backbone/form-field-settings-rules.php CHANGED
@@ -15,17 +15,11 @@
15
 
16
  <label>
17
 
18
- <?php if ( version_compare( '1.7' , get_option( 'smuzform_plugin_version' ) ) === 1 ): ?>
19
 
20
  <input type="checkbox" id="enableConditionalLogic" <% if ( ruleEnabled === true ) { %> <%- 'checked' %> <% } %> /> <?php smuzform_translate_e( 'Enable' ) ?>
21
 
22
- <?php else: ?>
23
-
24
- <p class="description"><h4><a href="http://web-settler.com/form-builder/?ref=logic" target="_blank"><?php smuzform_translate_e( 'Purchase premium version to unlock Conditional Logic.' ) ?></a></h4></p>
25
-
26
- <input type="checkbox" disabled > <?php smuzform_translate_e( 'Enable' ) ?>
27
-
28
- <?php endif; ?>
29
 
30
 
31
  </label>
15
 
16
  <label>
17
 
18
+
19
 
20
  <input type="checkbox" id="enableConditionalLogic" <% if ( ruleEnabled === true ) { %> <%- 'checked' %> <% } %> /> <?php smuzform_translate_e( 'Enable' ) ?>
21
 
22
+
 
 
 
 
 
 
23
 
24
 
25
  </label>
admin/views/backbone/form-navbar.php CHANGED
@@ -1,7 +1,7 @@
1
  <script type="text/template" id="formNavBar-template">
2
 
3
  <li class="navBarActionsLi">
4
- <a id="formStyleAction"><?php smuzform_translate_e( 'Styles' ) ?></a>
5
  </li>
6
 
7
  <li class="navBarActionsLi">
@@ -9,7 +9,7 @@
9
  </li>
10
 
11
  <li class="navBarActionsLi">
12
- <a id="formEntriesAction"><?php smuzform_translate_e( 'Entries' ) ?></a>
13
  </li>
14
 
15
  <li class="navBarActionsLi">
@@ -30,7 +30,7 @@
30
  <div class="form-group">
31
  <label for="formShortcode"><?php smuzform_translate_e( 'Shortcode.' ) ?></label>
32
  <input id="formShortcode" type="text" readonly value="[sform id='<%= tmpid %>']" class="form-control" />
33
- <small><?php smuzform_translate_e( 'To display the form insert the shortcode in posts or page content as a new line of ordinary text.' ) ?></small>
34
  </div>
35
  <div class="form-group">
36
  <label for="formShortcodeFunc"><?php smuzform_translate_e( 'PHP Template Function.' ) ?></label>
1
  <script type="text/template" id="formNavBar-template">
2
 
3
  <li class="navBarActionsLi">
4
+ <a id="formStyleAction"><?php smuzform_translate_e( 'Styles' ) ?> <sup style="color:red">New</sup></a>
5
  </li>
6
 
7
  <li class="navBarActionsLi">
9
  </li>
10
 
11
  <li class="navBarActionsLi">
12
+ <a id="formEntriesAction"><?php smuzform_translate_e( 'Entries' ) ?> <sup style="color:red">New</sup></a>
13
  </li>
14
 
15
  <li class="navBarActionsLi">
30
  <div class="form-group">
31
  <label for="formShortcode"><?php smuzform_translate_e( 'Shortcode.' ) ?></label>
32
  <input id="formShortcode" type="text" readonly value="[sform id='<%= tmpid %>']" class="form-control" />
33
+ <small><?php smuzform_translate_e( 'To display form insert the shortcode in posts or page content as a new line of ordinary text.' ) ?></small>
34
  </div>
35
  <div class="form-group">
36
  <label for="formShortcodeFunc"><?php smuzform_translate_e( 'PHP Template Function.' ) ?></label>
admin/views/entry/settings-page.php CHANGED
@@ -60,30 +60,4 @@
60
 
61
  <?php else: ?>
62
  <?php include smuzform_admin_view( 'entry/edit-entry.php' ) ?>
63
- <?php endif; ?>
64
-
65
-
66
- <?php if ( version_compare( '1.7' , get_option( 'smuzform_plugin_version' ) ) !== 1 ): ?>
67
- <!-- Modal -->
68
- <div class="modal show" id="premiumModal" role="dialog">
69
- <div class="modal-dialog" style="width: 45%;">
70
-
71
- <!-- Modal content-->
72
- <div class="modal-content">
73
- <div class="modal-header">
74
-
75
- <h4 class="modal-title" id="premiumModalUnlockHeading">Unlock Entries</h4>
76
- </div>
77
- <div class="modal-body" style="text-align: center;">
78
- <a href="http://web-settler.com/form-builder/?ref=entry" target="_blank" style="color: #fff; font-size:22px "><img src="<?php echo SMUZFORM_PLUGIN_URL.'/admin/assets/img/stack.png'; ?>" style="width: 200px;"></a>
79
- <p id="premiumModalUnlockDescription"><div style="text-align: center; padding:10px 30px; background:#03A9F4; "><a href="http://web-settler.com/form-builder/?ref=entry" target="_blank" style="color: #fff; font-size:22px ">Purchase Paid Version To Unlock</a></div></p>
80
- </div>
81
- <div class="modal-footer">
82
- <a id="formEntriesAction" href="<?php echo admin_url( 'admin.php?page=smuz-forms&form_id='.intval($_GET['form_id']) ); ?>"><?php smuzform_translate_e( 'Go Back to Form Builder..' ) ?></a>
83
- </div>
84
- </div>
85
-
86
- </div>
87
- </div>
88
-
89
- <?php endif; ?>
60
 
61
  <?php else: ?>
62
  <?php include smuzform_admin_view( 'entry/edit-entry.php' ) ?>
63
+ <?php endif; ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/views/plugin-entrypage/forms-list.php CHANGED
@@ -66,4 +66,4 @@ jQuery('.wp_smf_delete_img').click(function() {
66
  });
67
  </script>
68
 
69
- <p class="description" style="position: absolute;bottom: 0px;right: 30px;"><a href="<?php echo admin_url('admin.php?page=smuz-forms-all&src=entrypage') ?>">View all forms</a></p>
66
  });
67
  </script>
68
 
69
+ <p class="description" style="position: absolute;bottom: 0px;right: 30px;font-size: 14px"><a href="<?php echo admin_url('admin.php?page=smuz-forms-all&src=entrypage') ?>"><strong>View all forms</strong></a></p>
admin/views/plugin-entrypage/page.php CHANGED
@@ -25,7 +25,7 @@
25
  <div class="card-recent-forms">
26
 
27
  <h3 class="heading-recent-forms">Recent Forms
28
- <input id="wp_smf_add_new_button" class="wp_smf_add_new_button button button-primary" type="button" value="Add New" onclick="window.location = '<?php echo admin_url('admin.php?page=smuz-forms&new_post=1') ?>'"></h3>
29
 
30
  <div id="forms-list"><?php include smuzform_admin_view( '/plugin-entrypage/forms-list.php' ); ?></div>
31
 
25
  <div class="card-recent-forms">
26
 
27
  <h3 class="heading-recent-forms">Recent Forms
28
+ <input id="wp_smf_add_new_button" class="wp_smf_add_new_button button button-primary" type="button" value="Add New" onclick="window.location = '<?php echo admin_url('admin.php?page=templates-screen') ?>'"></h3>
29
 
30
  <div id="forms-list"><?php include smuzform_admin_view( '/plugin-entrypage/forms-list.php' ); ?></div>
31
 
admin/views/style/backbone/form-style.php CHANGED
@@ -3,21 +3,12 @@
3
  <script type="text/template" id="formStyle-template">
4
  <div class="form-group">
5
 
6
- <?php if ( version_compare( '1.7' , get_option( 'smuzform_plugin_version' ) ) === 1 ): ?>
7
  <div class="checkbox">
8
  <label><input type="checkbox" id="styleEnabled" <% if ( enabled ) { %> <%- 'checked' %> <% } %> > <?php smuzform_translate_e( 'Enabled' ) ?></label>
9
  </div>
10
  <p class="description"><?php smuzform_translate_e( 'If disabled most of the form styling will be inherited from your current WP theme.' ) ?></p>
11
- <?php else: ?>
12
-
13
- <div class="checkbox">
14
- <label><input type="checkbox" disabled="disabled"> <?php smuzform_translate_e( 'Enabled' ) ?></label>
15
- </div>
16
- <p class="description"><h4><a href="http://web-settler.com/form-builder/?ref=style" target="_blank"><?php smuzform_translate_e( 'Purchase premium version to unlock styles.' ) ?></a></h4></p>
17
-
18
- <p class="description"><?php smuzform_translate_e( 'If disabled most of the form styling will be inherited from your current WP theme.' ) ?></p>
19
-
20
- <?php endif; ?>
21
  </div>
22
 
23
  <?php include smuzform_admin_view( 'style/backbone/incsettings.php' ) ?>
3
  <script type="text/template" id="formStyle-template">
4
  <div class="form-group">
5
 
6
+
7
  <div class="checkbox">
8
  <label><input type="checkbox" id="styleEnabled" <% if ( enabled ) { %> <%- 'checked' %> <% } %> > <?php smuzform_translate_e( 'Enabled' ) ?></label>
9
  </div>
10
  <p class="description"><?php smuzform_translate_e( 'If disabled most of the form styling will be inherited from your current WP theme.' ) ?></p>
11
+
 
 
 
 
 
 
 
 
 
12
  </div>
13
 
14
  <?php include smuzform_admin_view( 'style/backbone/incsettings.php' ) ?>
changes.txt CHANGED
@@ -1,8 +1,14 @@
 
 
 
 
1
 
2
  **************
3
  | Entry Page |
4
  **************
5
 
 
 
6
  **************
7
  | Templates |
8
  **************
1
+ ** Entries can be viewed on the free version of the plugin and saved for later use.
2
+ ** Conditional logic can be used on the free version of the contact form plugin.
3
+ ** Styles are made available in the free version of the plugin.
4
+
5
 
6
  **************
7
  | Entry Page |
8
  **************
9
 
10
+
11
+
12
  **************
13
  | Templates |
14
  **************
core_functions.php CHANGED
@@ -19,6 +19,10 @@ function load_smuzform_classes() {
19
  $storage = new SmuzForm_Public_Storage();
20
 
21
  $storage->init();
 
 
 
 
22
 
23
  }
24
 
@@ -48,6 +52,8 @@ function load_smuzform_admin_classes() {
48
  smuzform_admin( 'core/class/class-smuzform-notification-manager.php' );
49
  smuzform_admin( 'core/class/class-smuzform-style-manager.php' );
50
 
 
 
51
  $Admin = new SmuzForm_Admin();
52
 
53
  $Admin->createUI();
@@ -64,6 +70,8 @@ function load_smuzform_admin_classes() {
64
  $Notification_Model = new SmuzForm_Notification_Model();
65
 
66
  $Notification_Model->init();
 
 
67
  }
68
 
69
  function load_smuzform_public_classes() {
19
  $storage = new SmuzForm_Public_Storage();
20
 
21
  $storage->init();
22
+
23
+ require_once ( 'exts/loader.php' );
24
+
25
+ SmuzForm_Ext_Loader::getInstance()->load();
26
 
27
  }
28
 
52
  smuzform_admin( 'core/class/class-smuzform-notification-manager.php' );
53
  smuzform_admin( 'core/class/class-smuzform-style-manager.php' );
54
 
55
+
56
+
57
  $Admin = new SmuzForm_Admin();
58
 
59
  $Admin->createUI();
70
  $Notification_Model = new SmuzForm_Notification_Model();
71
 
72
  $Notification_Model->init();
73
+
74
+
75
  }
76
 
77
  function load_smuzform_public_classes() {
exts/loader.php ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class SmuzForm_Ext_Loader {
4
+
5
+ private static $instance;
6
+
7
+ protected function __construct() {}
8
+
9
+ public static function getInstance() {
10
+
11
+ if ( null === self::$instance )
12
+ self::$instance = new self();
13
+
14
+ return self::$instance;
15
+ }
16
+
17
+ public function load() {
18
+
19
+ require_once( 'templates/loader.php' );
20
+
21
+ SmuzForm_Ext_Templates_Loader::getInstance()->load();
22
+
23
+ }
24
+ }
exts/templates/forms-src/contact-form-1-model.smuz ADDED
@@ -0,0 +1 @@
 
1
+ a:34:{s:5:"tmpid";s:0:"";s:6:"fields";a:3:{i:0;a:31:{s:5:"label";s:4:"Name";s:4:"type";s:10:"singletext";s:4:"size";s:6:"medium";s:8:"required";b:1;s:12:"noDuplicates";b:0;s:10:"visibility";b:1;s:12:"labelVisible";b:1;s:8:"rangeMin";s:0:"";s:8:"rangeMax";s:0:"";s:11:"rangeFormat";s:4:"char";s:8:"preValue";s:0:"";s:8:"helpText";s:0:"";s:10:"cssClasses";s:0:"";s:15:"placeholderText";s:0:"";s:6:"radios";b:0;s:10:"checkboxes";b:0;s:12:"textAreaRows";i:10;s:12:"textAreaCols";i:60;s:5:"cssID";s:17:"wpformfield171233";s:7:"choices";a:3:{i:0;s:12:"First Choice";i:1;s:13:"Second Choice";i:2;s:12:"Third Choice";}s:14:"selectedChoice";N;s:22:"checkboxSelectedChoice";a:0:{}s:12:"sectionTitle";s:13:"Section Title";s:18:"sectionDescription";s:34:"Click me to change the description";s:9:"extraData";N;s:11:"ruleEnabled";b:0;s:5:"rules";a:4:{s:5:"field";s:0:"";s:8:"operator";s:2:"is";s:8:"cmpValue";s:0:"";s:6:"action";s:4:"show";}s:10:"statements";a:0:{}s:7:"columns";a:0:{}s:4:"file";a:2:{s:7:"allowed";a:28:{i:0;s:3:"jpg";i:1;s:4:"jpeg";i:2;s:3:"png";i:3;s:3:"gif";i:4;s:3:"pdf";i:5;s:3:"doc";i:6;s:4:"docx";i:7;s:3:"key";i:8;s:3:"ppt";i:9;s:4:"pptx";i:10;s:3:"pps";i:11;s:4:"ppsx";i:12;s:3:"odt";i:13;s:3:"xls";i:14;s:4:"xlsx";i:15;s:3:"zip";i:16;s:3:"mp3";i:17;s:3:"m4a";i:18;s:3:"ogg";i:19;s:3:"wav";i:20;s:3:"mp4";i:21;s:3:"m4v";i:22;s:3:"wmv";i:23;s:3:"avi";i:24;s:3:"mpg";i:25;s:3:"ogv";i:26;s:3:"3gp";i:27;s:3:"3g2";}s:7:"maxSize";i:2;}s:5:"login";a:0:{}}i:1;a:31:{s:5:"label";s:5:"Email";s:4:"type";s:10:"singletext";s:4:"size";s:6:"medium";s:8:"required";b:1;s:12:"noDuplicates";b:0;s:10:"visibility";b:1;s:12:"labelVisible";b:1;s:8:"rangeMin";s:0:"";s:8:"rangeMax";s:0:"";s:11:"rangeFormat";s:4:"char";s:8:"preValue";s:0:"";s:8:"helpText";s:0:"";s:10:"cssClasses";s:0:"";s:15:"placeholderText";s:0:"";s:6:"radios";b:0;s:10:"checkboxes";b:0;s:12:"textAreaRows";i:10;s:12:"textAreaCols";i:60;s:5:"cssID";s:17:"wpformfield177701";s:7:"choices";a:3:{i:0;s:12:"First Choice";i:1;s:13:"Second Choice";i:2;s:12:"Third Choice";}s:14:"selectedChoice";N;s:22:"checkboxSelectedChoice";a:0:{}s:12:"sectionTitle";s:13:"Section Title";s:18:"sectionDescription";s:34:"Click me to change the description";s:9:"extraData";N;s:11:"ruleEnabled";b:0;s:5:"rules";a:4:{s:5:"field";s:0:"";s:8:"operator";s:2:"is";s:8:"cmpValue";s:0:"";s:6:"action";s:4:"show";}s:10:"statements";a:0:{}s:7:"columns";a:0:{}s:4:"file";a:2:{s:7:"allowed";a:28:{i:0;s:3:"jpg";i:1;s:4:"jpeg";i:2;s:3:"png";i:3;s:3:"gif";i:4;s:3:"pdf";i:5;s:3:"doc";i:6;s:4:"docx";i:7;s:3:"key";i:8;s:3:"ppt";i:9;s:4:"pptx";i:10;s:3:"pps";i:11;s:4:"ppsx";i:12;s:3:"odt";i:13;s:3:"xls";i:14;s:4:"xlsx";i:15;s:3:"zip";i:16;s:3:"mp3";i:17;s:3:"m4a";i:18;s:3:"ogg";i:19;s:3:"wav";i:20;s:3:"mp4";i:21;s:3:"m4v";i:22;s:3:"wmv";i:23;s:3:"avi";i:24;s:3:"mpg";i:25;s:3:"ogv";i:26;s:3:"3gp";i:27;s:3:"3g2";}s:7:"maxSize";i:2;}s:5:"login";a:0:{}}i:2;a:31:{s:5:"label";s:7:"Message";s:4:"type";s:8:"textarea";s:4:"size";s:5:"large";s:8:"required";b:1;s:12:"noDuplicates";b:0;s:10:"visibility";b:1;s:12:"labelVisible";b:1;s:8:"rangeMin";s:0:"";s:8:"rangeMax";s:0:"";s:11:"rangeFormat";s:4:"char";s:8:"preValue";s:0:"";s:8:"helpText";s:0:"";s:10:"cssClasses";s:0:"";s:15:"placeholderText";s:0:"";s:6:"radios";b:0;s:10:"checkboxes";b:0;s:12:"textAreaRows";i:10;s:12:"textAreaCols";i:60;s:5:"cssID";s:17:"wpformfield195771";s:7:"choices";a:3:{i:0;s:12:"First Choice";i:1;s:13:"Second Choice";i:2;s:12:"Third Choice";}s:14:"selectedChoice";N;s:22:"checkboxSelectedChoice";a:0:{}s:12:"sectionTitle";s:13:"Section Title";s:18:"sectionDescription";s:34:"Click me to change the description";s:9:"extraData";N;s:11:"ruleEnabled";b:0;s:5:"rules";a:4:{s:5:"field";s:0:"";s:8:"operator";s:2:"is";s:8:"cmpValue";s:0:"";s:6:"action";s:4:"show";}s:10:"statements";a:0:{}s:7:"columns";a:0:{}s:4:"file";a:2:{s:7:"allowed";a:28:{i:0;s:3:"jpg";i:1;s:4:"jpeg";i:2;s:3:"png";i:3;s:3:"gif";i:4;s:3:"pdf";i:5;s:3:"doc";i:6;s:4:"docx";i:7;s:3:"key";i:8;s:3:"ppt";i:9;s:4:"pptx";i:10;s:3:"pps";i:11;s:4:"ppsx";i:12;s:3:"odt";i:13;s:3:"xls";i:14;s:4:"xlsx";i:15;s:3:"zip";i:16;s:3:"mp3";i:17;s:3:"m4a";i:18;s:3:"ogg";i:19;s:3:"wav";i:20;s:3:"mp4";i:21;s:3:"m4v";i:22;s:3:"wmv";i:23;s:3:"avi";i:24;s:3:"mpg";i:25;s:3:"ogv";i:26;s:3:"3gp";i:27;s:3:"3g2";}s:7:"maxSize";i:2;}s:5:"login";a:0:{}}}s:5:"title";s:12:"Contact Form";s:11:"description";s:22:"Please fill this form.";s:4:"lang";s:2:"en";s:14:"labelPlacement";s:3:"top";s:18:"confirmationOption";s:4:"text";s:11:"textMessage";s:38:"Thanks for submitting your information";s:11:"redirectUrl";s:0:"";s:7:"captcha";b:0;s:11:"noOfEntries";s:0:"";s:12:"onlySingleIP";b:0;s:9:"formTimer";b:0;s:13:"formStartTime";N;s:11:"formEndTime";N;s:5:"theme";a:0:{}s:9:"extraData";a:0:{}s:23:"confirmationEmailToUser";b:0;s:17:"emailAddressField";s:0:"";s:12:"replyToEmail";s:0:"";s:9:"submitBtn";b:1;s:13:"submitBtnText";s:6:"Submit";s:13:"submitBtnType";s:6:"normal";s:13:"errorMessages";a:0:{}s:5:"style";a:8:{s:7:"enabled";b:1;s:8:"formCont";a:13:{s:4:"font";s:0:"";s:8:"fontSize";i:14;s:5:"color";s:7:"#000000";s:7:"bgColor";s:7:"#ffffff";s:6:"margin";s:0:"";s:7:"padding";s:0:"";s:5:"bgImg";s:0:"";s:18:"hideHeadingSection";b:0;s:13:"errorMsgColor";s:7:"#a94442";s:15:"successMsgColor";s:7:"#3c763d";s:18:"successMsgFontSize";i:14;s:30:"hideFormOnSuccessForSuccessMsg";b:0;s:10:"bgImageUrl";s:0:"";}s:11:"formHeading";a:6:{s:4:"font";s:0:"";s:8:"fontSize";s:2:"24";s:5:"color";s:7:"#dd3333";s:7:"bgColor";s:0:"";s:7:"padding";s:0:"";s:6:"margin";i:5;}s:15:"formDescription";a:6:{s:4:"font";s:0:"";s:8:"fontSize";i:16;s:5:"color";s:0:"";s:7:"bgColor";s:0:"";s:7:"padding";s:0:"";s:6:"margin";i:5;}s:10:"fieldLabel";a:18:{s:4:"font";s:0:"";s:8:"fontSize";s:2:"14";s:5:"color";s:0:"";s:7:"bgColor";s:0:"";s:11:"paddingLeft";s:0:"";s:12:"paddingRight";s:0:"";s:10:"paddingTop";s:0:"";s:13:"paddingBottom";s:0:"";s:10:"marginLeft";s:0:"";s:11:"marginRight";s:0:"";s:9:"marginTop";s:0:"";s:12:"marginBottom";s:0:"";s:10:"fontWeight";s:4:"bold";s:11:"borderColor";s:4:"#ccc";s:10:"borderSize";s:1:"0";s:11:"borderStyle";s:5:"solid";s:12:"borderRadius";s:1:"0";s:13:"advancedColor";s:0:"";}s:10:"fieldInput";a:17:{s:4:"font";s:0:"";s:8:"fontSize";s:2:"14";s:5:"color";s:0:"";s:7:"bgColor";s:0:"";s:11:"paddingLeft";s:2:"12";s:12:"paddingRight";s:2:"12";s:10:"paddingTop";s:1:"6";s:13:"paddingBottom";s:1:"6";s:10:"marginLeft";s:1:"0";s:11:"marginRight";s:1:"0";s:9:"marginTop";s:1:"0";s:12:"marginBottom";s:1:"0";s:10:"fontWeight";s:4:"bold";s:11:"borderColor";s:4:"#ccc";s:10:"borderSize";s:1:"1";s:11:"borderStyle";s:5:"solid";s:12:"borderRadius";s:1:"4";}s:9:"submitBtn";a:16:{s:4:"font";s:0:"";s:8:"fontSize";s:2:"16";s:5:"color";s:7:"#ffffff";s:7:"bgColor";s:7:"#dd3333";s:11:"paddingLeft";i:26;s:12:"paddingRight";i:26;s:13:"paddingBottom";i:13;s:10:"paddingTop";i:13;s:6:"margin";s:0:"";s:10:"fontWeight";s:4:"bold";s:12:"hoverBgColor";s:7:"#ff583a";s:11:"borderColor";s:4:"#ccc";s:10:"borderSize";s:1:"0";s:11:"borderStyle";s:5:"solid";s:12:"borderRadius";s:1:"0";s:11:"alignCenter";b:0;}s:9:"extraData";a:0:{}}s:18:"mailchimpAddOnData";a:0:{}s:9:"addOnData";a:0:{}s:2:"id";i:10;s:4:"data";a:1:{s:6:"formID";s:2:"10";}s:6:"method";s:3:"put";s:6:"action";s:4:"save";s:6:"formID";i:10;s:5:"error";b:0;s:8:"errorMsg";s:0:"";}
exts/templates/forms-src/contact-form-1-noti.smuz ADDED
@@ -0,0 +1 @@
 
1
+ a:2:{s:13:"notifications";a:1:{i:0;a:9:{s:4:"type";s:5:"email";s:5:"label";s:18:"Email Notification";s:6:"uniqID";s:19:"sfnotification65084";s:5:"order";i:10;s:6:"status";s:8:"disabled";s:9:"collapsed";s:0:"";s:9:"extraData";a:6:{s:7:"subject";s:14:"New Form Entry";s:12:"emailAddress";s:0:"";s:12:"replyToEmail";s:0:"";s:8:"fromText";s:9:"WordPress";s:8:"template";s:21:"[smfield print="all"]";s:7:"useHTML";b:1;}s:5:"rules";a:4:{s:5:"field";s:0:"";s:8:"operator";s:2:"is";s:8:"cmpValue";s:0:"";s:6:"action";s:4:"send";}s:11:"ruleEnabled";b:0;}}s:0:"";a:4:{s:5:"parse";b:1;s:11:"emulateHTTP";b:0;s:11:"emulateJSON";b:0;s:3:"xhr";a:5:{s:10:"readyState";i:4;s:12:"responseText";s:2:"""";s:12:"responseJSON";s:0:"";s:6:"status";i:200;s:10:"statusText";s:2:"OK";}}}
exts/templates/forms-src/feedback-form-1-model.smuz ADDED
@@ -0,0 +1 @@
 
1
+ a:28:{s:5:"tmpid";s:0:"";s:6:"fields";a:7:{i:0;a:31:{s:5:"label";s:4:"Name";s:4:"type";s:4:"name";s:4:"size";s:5:"large";s:8:"required";b:1;s:12:"noDuplicates";b:0;s:10:"visibility";b:1;s:12:"labelVisible";b:1;s:8:"rangeMin";s:0:"";s:8:"rangeMax";s:0:"";s:11:"rangeFormat";s:4:"char";s:8:"preValue";s:0:"";s:8:"helpText";s:0:"";s:10:"cssClasses";s:0:"";s:15:"placeholderText";s:0:"";s:6:"radios";b:0;s:10:"checkboxes";b:0;s:12:"textAreaRows";i:10;s:12:"textAreaCols";i:60;s:5:"cssID";s:15:"wpformfield3710";s:7:"choices";a:3:{i:0;s:12:"First Choice";i:1;s:13:"Second Choice";i:2;s:12:"Third Choice";}s:14:"selectedChoice";N;s:22:"checkboxSelectedChoice";a:0:{}s:12:"sectionTitle";s:13:"Section Title";s:18:"sectionDescription";s:34:"Click me to change the description";s:9:"extraData";a:2:{s:9:"firstName";s:0:"";s:8:"LastName";s:0:"";}s:11:"ruleEnabled";b:0;s:5:"rules";a:4:{s:5:"field";s:0:"";s:8:"operator";s:2:"is";s:8:"cmpValue";s:0:"";s:6:"action";s:4:"show";}s:10:"statements";a:0:{}s:7:"columns";a:0:{}s:4:"file";a:2:{s:7:"allowed";a:28:{i:0;s:3:"jpg";i:1;s:4:"jpeg";i:2;s:3:"png";i:3;s:3:"gif";i:4;s:3:"pdf";i:5;s:3:"doc";i:6;s:4:"docx";i:7;s:3:"key";i:8;s:3:"ppt";i:9;s:4:"pptx";i:10;s:3:"pps";i:11;s:4:"ppsx";i:12;s:3:"odt";i:13;s:3:"xls";i:14;s:4:"xlsx";i:15;s:3:"zip";i:16;s:3:"mp3";i:17;s:3:"m4a";i:18;s:3:"ogg";i:19;s:3:"wav";i:20;s:3:"mp4";i:21;s:3:"m4v";i:22;s:3:"wmv";i:23;s:3:"avi";i:24;s:3:"mpg";i:25;s:3:"ogv";i:26;s:3:"3gp";i:27;s:3:"3g2";}s:7:"maxSize";i:2;}s:5:"login";a:0:{}}i:1;a:31:{s:5:"label";s:5:"Email";s:4:"type";s:5:"email";s:4:"size";s:6:"medium";s:8:"required";b:1;s:12:"noDuplicates";b:0;s:10:"visibility";b:1;s:12:"labelVisible";b:1;s:8:"rangeMin";s:0:"";s:8:"rangeMax";s:0:"";s:11:"rangeFormat";s:4:"char";s:8:"preValue";s:0:"";s:8:"helpText";s:0:"";s:10:"cssClasses";s:0:"";s:15:"placeholderText";s:0:"";s:6:"radios";b:0;s:10:"checkboxes";b:0;s:12:"textAreaRows";i:10;s:12:"textAreaCols";i:60;s:5:"cssID";s:17:"wpformfield167953";s:7:"choices";a:3:{i:0;s:12:"First Choice";i:1;s:13:"Second Choice";i:2;s:12:"Third Choice";}s:14:"selectedChoice";N;s:22:"checkboxSelectedChoice";a:0:{}s:12:"sectionTitle";s:13:"Section Title";s:18:"sectionDescription";s:34:"Click me to change the description";s:9:"extraData";N;s:11:"ruleEnabled";b:0;s:5:"rules";a:4:{s:5:"field";s:0:"";s:8:"operator";s:2:"is";s:8:"cmpValue";s:0:"";s:6:"action";s:4:"show";}s:10:"statements";a:0:{}s:7:"columns";a:0:{}s:4:"file";a:2:{s:7:"allowed";a:28:{i:0;s:3:"jpg";i:1;s:4:"jpeg";i:2;s:3:"png";i:3;s:3:"gif";i:4;s:3:"pdf";i:5;s:3:"doc";i:6;s:4:"docx";i:7;s:3:"key";i:8;s:3:"ppt";i:9;s:4:"pptx";i:10;s:3:"pps";i:11;s:4:"ppsx";i:12;s:3:"odt";i:13;s:3:"xls";i:14;s:4:"xlsx";i:15;s:3:"zip";i:16;s:3:"mp3";i:17;s:3:"m4a";i:18;s:3:"ogg";i:19;s:3:"wav";i:20;s:3:"mp4";i:21;s:3:"m4v";i:22;s:3:"wmv";i:23;s:3:"avi";i:24;s:3:"mpg";i:25;s:3:"ogv";i:26;s:3:"3gp";i:27;s:3:"3g2";}s:7:"maxSize";i:2;}s:5:"login";a:0:{}}i:2;a:31:{s:5:"label";s:12:"Phone Number";s:4:"type";s:5:"phone";s:4:"size";s:6:"medium";s:8:"required";b:0;s:12:"noDuplicates";b:0;s:10:"visibility";b:1;s:12:"labelVisible";b:1;s:8:"rangeMin";s:0:"";s:8:"rangeMax";s:0:"";s:11:"rangeFormat";s:4:"char";s:8:"preValue";s:0:"";s:8:"helpText";s:0:"";s:10:"cssClasses";s:0:"";s:15:"placeholderText";s:0:"";s:6:"radios";b:0;s:10:"checkboxes";b:0;s:12:"textAreaRows";i:10;s:12:"textAreaCols";i:60;s:5:"cssID";s:16:"wpformfield59552";s:7:"choices";a:3:{i:0;s:12:"First Choice";i:1;s:13:"Second Choice";i:2;s:12:"Third Choice";}s:14:"selectedChoice";N;s:22:"checkboxSelectedChoice";a:0:{}s:12:"sectionTitle";s:13:"Section Title";s:18:"sectionDescription";s:34:"Click me to change the description";s:9:"extraData";a:0:{}s:11:"ruleEnabled";b:0;s:5:"rules";a:4:{s:5:"field";s:0:"";s:8:"operator";s:2:"is";s:8:"cmpValue";s:0:"";s:6:"action";s:4:"show";}s:10:"statements";a:0:{}s:7:"columns";a:0:{}s:4:"file";a:2:{s:7:"allowed";a:28:{i:0;s:3:"jpg";i:1;s:4:"jpeg";i:2;s:3:"png";i:3;s:3:"gif";i:4;s:3:"pdf";i:5;s:3:"doc";i:6;s:4:"docx";i:7;s:3:"key";i:8;s:3:"ppt";i:9;s:4:"pptx";i:10;s:3:"pps";i:11;s:4:"ppsx";i:12;s:3:"odt";i:13;s:3:"xls";i:14;s:4:"xlsx";i:15;s:3:"zip";i:16;s:3:"mp3";i:17;s:3:"m4a";i:18;s:3:"ogg";i:19;s:3:"wav";i:20;s:3:"mp4";i:21;s:3:"m4v";i:22;s:3:"wmv";i:23;s:3:"avi";i:24;s:3:"mpg";i:25;s:3:"ogv";i:26;s:3:"3gp";i:27;s:3:"3g2";}s:7:"maxSize";i:2;}s:5:"login";a:0:{}}i:3;a:31:{s:5:"label";s:36:"Are you satisfied with our service ?";s:4:"type";s:5:"radio";s:4:"size";s:6:"medium";s:8:"required";b:0;s:12:"noDuplicates";b:0;s:10:"visibility";b:1;s:12:"labelVisible";b:1;s:8:"rangeMin";s:0:"";s:8:"rangeMax";s:0:"";s:11:"rangeFormat";s:4:"char";s:8:"preValue";s:0:"";s:8:"helpText";s:0:"";s:10:"cssClasses";s:0:"";s:15:"placeholderText";s:0:"";s:6:"radios";b:0;s:10:"checkboxes";b:0;s:12:"textAreaRows";i:10;s:12:"textAreaCols";i:60;s:5:"cssID";s:17:"wpformfield154088";s:7:"choices";a:2:{i:0;s:3:"Yes";i:1;s:2:"No";}s:14:"selectedChoice";N;s:22:"checkboxSelectedChoice";a:0:{}s:12:"sectionTitle";s:13:"Section Title";s:18:"sectionDescription";s:34:"Click me to change the description";s:9:"extraData";N;s:11:"ruleEnabled";b:0;s:5:"rules";a:4:{s:5:"field";s:0:"";s:8:"operator";s:2:"is";s:8:"cmpValue";s:0:"";s:6:"action";s:4:"show";}s:10:"statements";a:0:{}s:7:"columns";a:0:{}s:4:"file";a:2:{s:7:"allowed";a:28:{i:0;s:3:"jpg";i:1;s:4:"jpeg";i:2;s:3:"png";i:3;s:3:"gif";i:4;s:3:"pdf";i:5;s:3:"doc";i:6;s:4:"docx";i:7;s:3:"key";i:8;s:3:"ppt";i:9;s:4:"pptx";i:10;s:3:"pps";i:11;s:4:"ppsx";i:12;s:3:"odt";i:13;s:3:"xls";i:14;s:4:"xlsx";i:15;s:3:"zip";i:16;s:3:"mp3";i:17;s:3:"m4a";i:18;s:3:"ogg";i:19;s:3:"wav";i:20;s:3:"mp4";i:21;s:3:"m4v";i:22;s:3:"wmv";i:23;s:3:"avi";i:24;s:3:"mpg";i:25;s:3:"ogv";i:26;s:3:"3gp";i:27;s:3:"3g2";}s:7:"maxSize";i:2;}s:5:"login";a:0:{}}i:4;a:31:{s:5:"label";s:51:"Do you experienced any problems with our servers ? ";s:4:"type";s:5:"radio";s:4:"size";s:6:"medium";s:8:"required";b:0;s:12:"noDuplicates";b:0;s:10:"visibility";b:1;s:12:"labelVisible";b:1;s:8:"rangeMin";s:0:"";s:8:"rangeMax";s:0:"";s:11:"rangeFormat";s:4:"char";s:8:"preValue";s:0:"";s:8:"helpText";s:0:"";s:10:"cssClasses";s:0:"";s:15:"placeholderText";s:0:"";s:6:"radios";b:0;s:10:"checkboxes";b:0;s:12:"textAreaRows";i:10;s:12:"textAreaCols";i:60;s:5:"cssID";s:17:"wpformfield171867";s:7:"choices";a:2:{i:0;s:3:"Yes";i:1;s:2:"No";}s:14:"selectedChoice";N;s:22:"checkboxSelectedChoice";a:0:{}s:12:"sectionTitle";s:13:"Section Title";s:18:"sectionDescription";s:34:"Click me to change the description";s:9:"extraData";N;s:11:"ruleEnabled";b:0;s:5:"rules";a:4:{s:5:"field";s:0:"";s:8:"operator";s:2:"is";s:8:"cmpValue";s:0:"";s:6:"action";s:4:"show";}s:10:"statements";a:0:{}s:7:"columns";a:0:{}s:4:"file";a:2:{s:7:"allowed";a:28:{i:0;s:3:"jpg";i:1;s:4:"jpeg";i:2;s:3:"png";i:3;s:3:"gif";i:4;s:3:"pdf";i:5;s:3:"doc";i:6;s:4:"docx";i:7;s:3:"key";i:8;s:3:"ppt";i:9;s:4:"pptx";i:10;s:3:"pps";i:11;s:4:"ppsx";i:12;s:3:"odt";i:13;s:3:"xls";i:14;s:4:"xlsx";i:15;s:3:"zip";i:16;s:3:"mp3";i:17;s:3:"m4a";i:18;s:3:"ogg";i:19;s:3:"wav";i:20;s:3:"mp4";i:21;s:3:"m4v";i:22;s:3:"wmv";i:23;s:3:"avi";i:24;s:3:"mpg";i:25;s:3:"ogv";i:26;s:3:"3gp";i:27;s:3:"3g2";}s:7:"maxSize";i:2;}s:5:"login";a:0:{}}i:5;a:31:{s:5:"label";s:52:"Are you happy with the performance and cost ratio ? ";s:4:"type";s:5:"radio";s:4:"size";s:6:"medium";s:8:"required";b:0;s:12:"noDuplicates";b:0;s:10:"visibility";b:1;s:12:"labelVisible";b:1;s:8:"rangeMin";s:0:"";s:8:"rangeMax";s:0:"";s:11:"rangeFormat";s:4:"char";s:8:"preValue";s:0:"";s:8:"helpText";s:0:"";s:10:"cssClasses";s:0:"";s:15:"placeholderText";s:0:"";s:6:"radios";b:0;s:10:"checkboxes";b:0;s:12:"textAreaRows";i:10;s:12:"textAreaCols";i:60;s:5:"cssID";s:17:"wpformfield112966";s:7:"choices";a:2:{i:0;s:3:"Yes";i:1;s:2:"No";}s:14:"selectedChoice";N;s:22:"checkboxSelectedChoice";a:0:{}s:12:"sectionTitle";s:13:"Section Title";s:18:"sectionDescription";s:34:"Click me to change the description";s:9:"extraData";N;s:11:"ruleEnabled";b:0;s:5:"rules";a:4:{s:5:"field";s:0:"";s:8:"operator";s:2:"is";s:8:"cmpValue";s:0:"";s:6:"action";s:4:"show";}s:10:"statements";a:0:{}s:7:"columns";a:0:{}s:4:"file";a:2:{s:7:"allowed";a:28:{i:0;s:3:"jpg";i:1;s:4:"jpeg";i:2;s:3:"png";i:3;s:3:"gif";i:4;s:3:"pdf";i:5;s:3:"doc";i:6;s:4:"docx";i:7;s:3:"key";i:8;s:3:"ppt";i:9;s:4:"pptx";i:10;s:3:"pps";i:11;s:4:"ppsx";i:12;s:3:"odt";i:13;s:3:"xls";i:14;s:4:"xlsx";i:15;s:3:"zip";i:16;s:3:"mp3";i:17;s:3:"m4a";i:18;s:3:"ogg";i:19;s:3:"wav";i:20;s:3:"mp4";i:21;s:3:"m4v";i:22;s:3:"wmv";i:23;s:3:"avi";i:24;s:3:"mpg";i:25;s:3:"ogv";i:26;s:3:"3gp";i:27;s:3:"3g2";}s:7:"maxSize";i:2;}s:5:"login";a:0:{}}i:6;a:31:{s:5:"label";s:8:"Comments";s:4:"type";s:8:"textarea";s:4:"size";s:5:"large";s:8:"required";b:0;s:12:"noDuplicates";b:0;s:10:"visibility";b:1;s:12:"labelVisible";b:1;s:8:"rangeMin";s:0:"";s:8:"rangeMax";s:0:"";s:11:"rangeFormat";s:4:"char";s:8:"preValue";s:0:"";s:8:"helpText";s:0:"";s:10:"cssClasses";s:0:"";s:15:"placeholderText";s:0:"";s:6:"radios";b:0;s:10:"checkboxes";b:0;s:12:"textAreaRows";i:10;s:12:"textAreaCols";i:60;s:5:"cssID";s:17:"wpformfield139242";s:7:"choices";a:3:{i:0;s:12:"First Choice";i:1;s:13:"Second Choice";i:2;s:12:"Third Choice";}s:14:"selectedChoice";N;s:22:"checkboxSelectedChoice";a:0:{}s:12:"sectionTitle";s:13:"Section Title";s:18:"sectionDescription";s:34:"Click me to change the description";s:9:"extraData";N;s:11:"ruleEnabled";b:0;s:5:"rules";a:4:{s:5:"field";s:0:"";s:8:"operator";s:2:"is";s:8:"cmpValue";s:0:"";s:6:"action";s:4:"show";}s:10:"statements";a:0:{}s:7:"columns";a:0:{}s:4:"file";a:2:{s:7:"allowed";a:28:{i:0;s:3:"jpg";i:1;s:4:"jpeg";i:2;s:3:"png";i:3;s:3:"gif";i:4;s:3:"pdf";i:5;s:3:"doc";i:6;s:4:"docx";i:7;s:3:"key";i:8;s:3:"ppt";i:9;s:4:"pptx";i:10;s:3:"pps";i:11;s:4:"ppsx";i:12;s:3:"odt";i:13;s:3:"xls";i:14;s:4:"xlsx";i:15;s:3:"zip";i:16;s:3:"mp3";i:17;s:3:"m4a";i:18;s:3:"ogg";i:19;s:3:"wav";i:20;s:3:"mp4";i:21;s:3:"m4v";i:22;s:3:"wmv";i:23;s:3:"avi";i:24;s:3:"mpg";i:25;s:3:"ogv";i:26;s:3:"3gp";i:27;s:3:"3g2";}s:7:"maxSize";i:2;}s:5:"login";a:0:{}}}s:5:"title";s:15:"Server Feedback";s:11:"description";s:26:"Tell us about our service.";s:4:"lang";s:2:"en";s:14:"labelPlacement";s:3:"top";s:18:"confirmationOption";s:4:"text";s:11:"textMessage";s:38:"Thanks for submitting your information";s:11:"redirectUrl";s:0:"";s:7:"captcha";b:0;s:11:"noOfEntries";s:0:"";s:12:"onlySingleIP";b:0;s:9:"formTimer";b:0;s:13:"formStartTime";N;s:11:"formEndTime";N;s:5:"theme";a:0:{}s:9:"extraData";a:0:{}s:23:"confirmationEmailToUser";b:0;s:17:"emailAddressField";s:0:"";s:12:"replyToEmail";s:0:"";s:9:"submitBtn";b:1;s:13:"submitBtnText";s:6:"Submit";s:13:"submitBtnType";s:6:"normal";s:13:"errorMessages";a:0:{}s:5:"style";a:0:{}s:18:"mailchimpAddOnData";a:0:{}s:9:"addOnData";a:0:{}s:2:"id";i:67;}
exts/templates/forms-src/question-form-1-model.smuz ADDED
@@ -0,0 +1 @@
 
1
+ a:33:{s:5:"tmpid";i:66;s:6:"fields";a:6:{i:0;a:31:{s:5:"label";s:4:"Name";s:4:"type";s:4:"name";s:4:"size";s:5:"large";s:8:"required";b:0;s:12:"noDuplicates";b:0;s:10:"visibility";b:1;s:12:"labelVisible";b:1;s:8:"rangeMin";s:0:"";s:8:"rangeMax";s:0:"";s:11:"rangeFormat";s:4:"char";s:8:"preValue";s:0:"";s:8:"helpText";s:0:"";s:10:"cssClasses";s:0:"";s:15:"placeholderText";s:0:"";s:6:"radios";b:0;s:10:"checkboxes";b:0;s:12:"textAreaRows";i:10;s:12:"textAreaCols";i:60;s:5:"cssID";s:17:"wpformfield190890";s:7:"choices";a:3:{i:0;s:12:"First Choice";i:1;s:13:"Second Choice";i:2;s:12:"Third Choice";}s:14:"selectedChoice";N;s:22:"checkboxSelectedChoice";a:0:{}s:12:"sectionTitle";s:13:"Section Title";s:18:"sectionDescription";s:34:"Click me to change the description";s:9:"extraData";a:2:{s:9:"firstName";s:0:"";s:8:"LastName";s:0:"";}s:11:"ruleEnabled";b:0;s:5:"rules";a:4:{s:5:"field";s:0:"";s:8:"operator";s:2:"is";s:8:"cmpValue";s:0:"";s:6:"action";s:4:"show";}s:10:"statements";a:0:{}s:7:"columns";a:0:{}s:4:"file";a:2:{s:7:"allowed";a:28:{i:0;s:3:"jpg";i:1;s:4:"jpeg";i:2;s:3:"png";i:3;s:3:"gif";i:4;s:3:"pdf";i:5;s:3:"doc";i:6;s:4:"docx";i:7;s:3:"key";i:8;s:3:"ppt";i:9;s:4:"pptx";i:10;s:3:"pps";i:11;s:4:"ppsx";i:12;s:3:"odt";i:13;s:3:"xls";i:14;s:4:"xlsx";i:15;s:3:"zip";i:16;s:3:"mp3";i:17;s:3:"m4a";i:18;s:3:"ogg";i:19;s:3:"wav";i:20;s:3:"mp4";i:21;s:3:"m4v";i:22;s:3:"wmv";i:23;s:3:"avi";i:24;s:3:"mpg";i:25;s:3:"ogv";i:26;s:3:"3gp";i:27;s:3:"3g2";}s:7:"maxSize";i:2;}s:5:"login";a:0:{}}i:1;a:31:{s:5:"label";s:9:"ID Number";s:4:"type";s:10:"singletext";s:4:"size";s:6:"medium";s:8:"required";b:0;s:12:"noDuplicates";b:0;s:10:"visibility";b:1;s:12:"labelVisible";b:1;s:8:"rangeMin";s:0:"";s:8:"rangeMax";s:0:"";s:11:"rangeFormat";s:4:"char";s:8:"preValue";s:0:"";s:8:"helpText";s:0:"";s:10:"cssClasses";s:0:"";s:15:"placeholderText";s:0:"";s:6:"radios";b:0;s:10:"checkboxes";b:0;s:12:"textAreaRows";i:10;s:12:"textAreaCols";i:60;s:5:"cssID";s:17:"wpformfield179015";s:7:"choices";a:3:{i:0;s:12:"First Choice";i:1;s:13:"Second Choice";i:2;s:12:"Third Choice";}s:14:"selectedChoice";N;s:22:"checkboxSelectedChoice";a:0:{}s:12:"sectionTitle";s:13:"Section Title";s:18:"sectionDescription";s:34:"Click me to change the description";s:9:"extraData";N;s:11:"ruleEnabled";b:0;s:5:"rules";a:4:{s:5:"field";s:0:"";s:8:"operator";s:2:"is";s:8:"cmpValue";s:0:"";s:6:"action";s:4:"show";}s:10:"statements";a:0:{}s:7:"columns";a:0:{}s:4:"file";a:2:{s:7:"allowed";a:28:{i:0;s:3:"jpg";i:1;s:4:"jpeg";i:2;s:3:"png";i:3;s:3:"gif";i:4;s:3:"pdf";i:5;s:3:"doc";i:6;s:4:"docx";i:7;s:3:"key";i:8;s:3:"ppt";i:9;s:4:"pptx";i:10;s:3:"pps";i:11;s:4:"ppsx";i:12;s:3:"odt";i:13;s:3:"xls";i:14;s:4:"xlsx";i:15;s:3:"zip";i:16;s:3:"mp3";i:17;s:3:"m4a";i:18;s:3:"ogg";i:19;s:3:"wav";i:20;s:3:"mp4";i:21;s:3:"m4v";i:22;s:3:"wmv";i:23;s:3:"avi";i:24;s:3:"mpg";i:25;s:3:"ogv";i:26;s:3:"3gp";i:27;s:3:"3g2";}s:7:"maxSize";i:2;}s:5:"login";a:0:{}}i:2;a:31:{s:5:"label";s:120:"When you leave your lane to pass another vehicle, you know you have enough room to return to your driving lane when you:";s:4:"type";s:8:"checkbox";s:4:"size";s:6:"medium";s:8:"required";b:0;s:12:"noDuplicates";b:0;s:10:"visibility";b:1;s:12:"labelVisible";b:1;s:8:"rangeMin";s:0:"";s:8:"rangeMax";s:0:"";s:11:"rangeFormat";s:4:"char";s:8:"preValue";s:0:"";s:8:"helpText";s:0:"";s:10:"cssClasses";s:0:"";s:15:"placeholderText";s:0:"";s:6:"radios";b:0;s:10:"checkboxes";b:0;s:12:"textAreaRows";i:10;s:12:"textAreaCols";i:60;s:5:"cssID";s:17:"wpformfield169366";s:7:"choices";a:3:{i:0;s:45:"Have passed the other vehicle's front bumper.";i:1;s:46:"Are two seconds in front of the other vehicle.";i:2;s:58:"Can see the front of the vehicle in your rear-view mirror.";}s:14:"selectedChoice";N;s:22:"checkboxSelectedChoice";a:0:{}s:12:"sectionTitle";s:13:"Section Title";s:18:"sectionDescription";s:34:"Click me to change the description";s:9:"extraData";N;s:11:"ruleEnabled";b:0;s:5:"rules";a:4:{s:5:"field";s:0:"";s:8:"operator";s:2:"is";s:8:"cmpValue";s:0:"";s:6:"action";s:4:"show";}s:10:"statements";a:0:{}s:7:"columns";a:0:{}s:4:"file";a:2:{s:7:"allowed";a:28:{i:0;s:3:"jpg";i:1;s:4:"jpeg";i:2;s:3:"png";i:3;s:3:"gif";i:4;s:3:"pdf";i:5;s:3:"doc";i:6;s:4:"docx";i:7;s:3:"key";i:8;s:3:"ppt";i:9;s:4:"pptx";i:10;s:3:"pps";i:11;s:4:"ppsx";i:12;s:3:"odt";i:13;s:3:"xls";i:14;s:4:"xlsx";i:15;s:3:"zip";i:16;s:3:"mp3";i:17;s:3:"m4a";i:18;s:3:"ogg";i:19;s:3:"wav";i:20;s:3:"mp4";i:21;s:3:"m4v";i:22;s:3:"wmv";i:23;s:3:"avi";i:24;s:3:"mpg";i:25;s:3:"ogv";i:26;s:3:"3gp";i:27;s:3:"3g2";}s:7:"maxSize";i:2;}s:5:"login";a:0:{}}i:3;a:31:{s:5:"label";s:48:"What is the speed limit at a blind intersection?";s:4:"type";s:8:"checkbox";s:4:"size";s:6:"medium";s:8:"required";b:0;s:12:"noDuplicates";b:0;s:10:"visibility";b:1;s:12:"labelVisible";b:1;s:8:"rangeMin";s:0:"";s:8:"rangeMax";s:0:"";s:11:"rangeFormat";s:4:"char";s:8:"preValue";s:0:"";s:8:"helpText";s:0:"";s:10:"cssClasses";s:0:"";s:15:"placeholderText";s:0:"";s:6:"radios";b:0;s:10:"checkboxes";b:0;s:12:"textAreaRows";i:10;s:12:"textAreaCols";i:60;s:5:"cssID";s:17:"wpformfield169246";s:7:"choices";a:3:{i:0;s:6:"10 mph";i:1;s:6:"15 mph";i:2;s:6:"25 mph";}s:14:"selectedChoice";N;s:22:"checkboxSelectedChoice";a:0:{}s:12:"sectionTitle";s:13:"Section Title";s:18:"sectionDescription";s:34:"Click me to change the description";s:9:"extraData";N;s:11:"ruleEnabled";b:0;s:5:"rules";a:4:{s:5:"field";s:0:"";s:8:"operator";s:2:"is";s:8:"cmpValue";s:0:"";s:6:"action";s:4:"show";}s:10:"statements";a:0:{}s:7:"columns";a:0:{}s:4:"file";a:2:{s:7:"allowed";a:28:{i:0;s:3:"jpg";i:1;s:4:"jpeg";i:2;s:3:"png";i:3;s:3:"gif";i:4;s:3:"pdf";i:5;s:3:"doc";i:6;s:4:"docx";i:7;s:3:"key";i:8;s:3:"ppt";i:9;s:4:"pptx";i:10;s:3:"pps";i:11;s:4:"ppsx";i:12;s:3:"odt";i:13;s:3:"xls";i:14;s:4:"xlsx";i:15;s:3:"zip";i:16;s:3:"mp3";i:17;s:3:"m4a";i:18;s:3:"ogg";i:19;s:3:"wav";i:20;s:3:"mp4";i:21;s:3:"m4v";i:22;s:3:"wmv";i:23;s:3:"avi";i:24;s:3:"mpg";i:25;s:3:"ogv";i:26;s:3:"3gp";i:27;s:3:"3g2";}s:7:"maxSize";i:2;}s:5:"login";a:0:{}}i:4;a:31:{s:5:"label";s:89:"You come to an intersection where the traffic signal isn’t working. What should you do?";s:4:"type";s:8:"checkbox";s:4:"size";s:6:"medium";s:8:"required";b:0;s:12:"noDuplicates";b:0;s:10:"visibility";b:1;s:12:"labelVisible";b:1;s:8:"rangeMin";s:0:"";s:8:"rangeMax";s:0:"";s:11:"rangeFormat";s:4:"char";s:8:"preValue";s:0:"";s:8:"helpText";s:0:"";s:10:"cssClasses";s:0:"";s:15:"placeholderText";s:0:"";s:6:"radios";b:0;s:10:"checkboxes";b:0;s:12:"textAreaRows";i:10;s:12:"textAreaCols";i:60;s:5:"cssID";s:17:"wpformfield187817";s:7:"choices";a:3:{i:0;s:51:"Stop only if other vehicles are crossing your path.";i:1;s:44:"Stop, then continue driving when it is safe.";i:2;s:32:"Slow down and stop if necessary.";}s:14:"selectedChoice";N;s:22:"checkboxSelectedChoice";a:0:{}s:12:"sectionTitle";s:13:"Section Title";s:18:"sectionDescription";s:34:"Click me to change the description";s:9:"extraData";N;s:11:"ruleEnabled";b:0;s:5:"rules";a:4:{s:5:"field";s:0:"";s:8:"operator";s:2:"is";s:8:"cmpValue";s:0:"";s:6:"action";s:4:"show";}s:10:"statements";a:0:{}s:7:"columns";a:0:{}s:4:"file";a:2:{s:7:"allowed";a:28:{i:0;s:3:"jpg";i:1;s:4:"jpeg";i:2;s:3:"png";i:3;s:3:"gif";i:4;s:3:"pdf";i:5;s:3:"doc";i:6;s:4:"docx";i:7;s:3:"key";i:8;s:3:"ppt";i:9;s:4:"pptx";i:10;s:3:"pps";i:11;s:4:"ppsx";i:12;s:3:"odt";i:13;s:3:"xls";i:14;s:4:"xlsx";i:15;s:3:"zip";i:16;s:3:"mp3";i:17;s:3:"m4a";i:18;s:3:"ogg";i:19;s:3:"wav";i:20;s:3:"mp4";i:21;s:3:"m4v";i:22;s:3:"wmv";i:23;s:3:"avi";i:24;s:3:"mpg";i:25;s:3:"ogv";i:26;s:3:"3gp";i:27;s:3:"3g2";}s:7:"maxSize";i:2;}s:5:"login";a:0:{}}i:5;a:31:{s:5:"label";s:41:"You take away your own cushion of safety:";s:4:"type";s:8:"checkbox";s:4:"size";s:6:"medium";s:8:"required";b:0;s:12:"noDuplicates";b:0;s:10:"visibility";b:1;s:12:"labelVisible";b:1;s:8:"rangeMin";s:0:"";s:8:"rangeMax";s:0:"";s:11:"rangeFormat";s:4:"char";s:8:"preValue";s:0:"";s:8:"helpText";s:0:"";s:10:"cssClasses";s:0:"";s:15:"placeholderText";s:0:"";s:6:"radios";b:0;s:10:"checkboxes";b:0;s:12:"textAreaRows";i:10;s:12:"textAreaCols";i:60;s:5:"cssID";s:16:"wpformfield63426";s:7:"choices";a:3:{i:0;s:30:"By tailgating a large vehicle.";i:1;s:37:"By using low beam headlights in rain.";i:2;s:37:"By passing other vehicles on the left";}s:14:"selectedChoice";N;s:22:"checkboxSelectedChoice";a:0:{}s:12:"sectionTitle";s:13:"Section Title";s:18:"sectionDescription";s:34:"Click me to change the description";s:9:"extraData";N;s:11:"ruleEnabled";b:0;s:5:"rules";a:4:{s:5:"field";s:0:"";s:8:"operator";s:2:"is";s:8:"cmpValue";s:0:"";s:6:"action";s:4:"show";}s:10:"statements";a:0:{}s:7:"columns";a:0:{}s:4:"file";a:2:{s:7:"allowed";a:28:{i:0;s:3:"jpg";i:1;s:4:"jpeg";i:2;s:3:"png";i:3;s:3:"gif";i:4;s:3:"pdf";i:5;s:3:"doc";i:6;s:4:"docx";i:7;s:3:"key";i:8;s:3:"ppt";i:9;s:4:"pptx";i:10;s:3:"pps";i:11;s:4:"ppsx";i:12;s:3:"odt";i:13;s:3:"xls";i:14;s:4:"xlsx";i:15;s:3:"zip";i:16;s:3:"mp3";i:17;s:3:"m4a";i:18;s:3:"ogg";i:19;s:3:"wav";i:20;s:3:"mp4";i:21;s:3:"m4v";i:22;s:3:"wmv";i:23;s:3:"avi";i:24;s:3:"mpg";i:25;s:3:"ogv";i:26;s:3:"3gp";i:27;s:3:"3g2";}s:7:"maxSize";i:2;}s:5:"login";a:0:{}}}s:5:"title";s:28:"Question Form - Driving Test";s:11:"description";s:29:"List of questions - Test #299";s:4:"lang";s:2:"en";s:14:"labelPlacement";s:3:"top";s:18:"confirmationOption";s:4:"text";s:11:"textMessage";s:38:"Thanks for submitting your information";s:11:"redirectUrl";s:0:"";s:7:"captcha";b:0;s:11:"noOfEntries";s:0:"";s:12:"onlySingleIP";b:0;s:9:"formTimer";b:0;s:13:"formStartTime";N;s:11:"formEndTime";N;s:5:"theme";a:0:{}s:9:"extraData";a:0:{}s:23:"confirmationEmailToUser";b:0;s:17:"emailAddressField";s:0:"";s:12:"replyToEmail";s:0:"";s:9:"submitBtn";b:1;s:13:"submitBtnText";s:6:"Submit";s:13:"submitBtnType";s:6:"normal";s:13:"errorMessages";a:0:{}s:5:"style";a:0:{}s:18:"mailchimpAddOnData";a:0:{}s:9:"addOnData";a:0:{}s:6:"method";s:4:"post";s:6:"action";s:6:"create";s:6:"formID";i:66;s:5:"error";b:0;s:8:"errorMsg";s:0:"";s:2:"id";i:66;}
exts/templates/forms-src/website-form-1-model.smuz ADDED
@@ -0,0 +1 @@
 
1
+ a:34:{s:5:"tmpid";i:65;s:6:"fields";a:9:{i:0;a:31:{s:5:"label";s:4:"Name";s:4:"type";s:4:"name";s:4:"size";s:5:"large";s:8:"required";b:1;s:12:"noDuplicates";b:0;s:10:"visibility";b:1;s:12:"labelVisible";b:1;s:8:"rangeMin";s:0:"";s:8:"rangeMax";s:0:"";s:11:"rangeFormat";s:4:"char";s:8:"preValue";s:0:"";s:8:"helpText";s:0:"";s:10:"cssClasses";s:0:"";s:15:"placeholderText";s:0:"";s:6:"radios";b:0;s:10:"checkboxes";b:0;s:12:"textAreaRows";i:10;s:12:"textAreaCols";i:60;s:5:"cssID";s:17:"wpformfield149519";s:7:"choices";a:3:{i:0;s:12:"First Choice";i:1;s:13:"Second Choice";i:2;s:12:"Third Choice";}s:14:"selectedChoice";N;s:22:"checkboxSelectedChoice";a:0:{}s:12:"sectionTitle";s:13:"Section Title";s:18:"sectionDescription";s:34:"Click me to change the description";s:9:"extraData";a:2:{s:9:"firstName";s:0:"";s:8:"LastName";s:0:"";}s:11:"ruleEnabled";b:0;s:5:"rules";a:4:{s:5:"field";s:0:"";s:8:"operator";s:2:"is";s:8:"cmpValue";s:0:"";s:6:"action";s:4:"show";}s:10:"statements";a:0:{}s:7:"columns";a:0:{}s:4:"file";a:2:{s:7:"allowed";a:28:{i:0;s:3:"jpg";i:1;s:4:"jpeg";i:2;s:3:"png";i:3;s:3:"gif";i:4;s:3:"pdf";i:5;s:3:"doc";i:6;s:4:"docx";i:7;s:3:"key";i:8;s:3:"ppt";i:9;s:4:"pptx";i:10;s:3:"pps";i:11;s:4:"ppsx";i:12;s:3:"odt";i:13;s:3:"xls";i:14;s:4:"xlsx";i:15;s:3:"zip";i:16;s:3:"mp3";i:17;s:3:"m4a";i:18;s:3:"ogg";i:19;s:3:"wav";i:20;s:3:"mp4";i:21;s:3:"m4v";i:22;s:3:"wmv";i:23;s:3:"avi";i:24;s:3:"mpg";i:25;s:3:"ogv";i:26;s:3:"3gp";i:27;s:3:"3g2";}s:7:"maxSize";i:2;}s:5:"login";a:0:{}}i:1;a:31:{s:5:"label";s:5:"Email";s:4:"type";s:5:"email";s:4:"size";s:6:"medium";s:8:"required";b:1;s:12:"noDuplicates";b:0;s:10:"visibility";b:1;s:12:"labelVisible";b:1;s:8:"rangeMin";s:0:"";s:8:"rangeMax";s:0:"";s:11:"rangeFormat";s:4:"char";s:8:"preValue";s:0:"";s:8:"helpText";s:0:"";s:10:"cssClasses";s:0:"";s:15:"placeholderText";s:0:"";s:6:"radios";b:0;s:10:"checkboxes";b:0;s:12:"textAreaRows";i:10;s:12:"textAreaCols";i:60;s:5:"cssID";s:16:"wpformfield43966";s:7:"choices";a:3:{i:0;s:12:"First Choice";i:1;s:13:"Second Choice";i:2;s:12:"Third Choice";}s:14:"selectedChoice";N;s:22:"checkboxSelectedChoice";a:0:{}s:12:"sectionTitle";s:13:"Section Title";s:18:"sectionDescription";s:34:"Click me to change the description";s:9:"extraData";N;s:11:"ruleEnabled";b:0;s:5:"rules";a:4:{s:5:"field";s:0:"";s:8:"operator";s:2:"is";s:8:"cmpValue";s:0:"";s:6:"action";s:4:"show";}s:10:"statements";a:0:{}s:7:"columns";a:0:{}s:4:"file";a:2:{s:7:"allowed";a:28:{i:0;s:3:"jpg";i:1;s:4:"jpeg";i:2;s:3:"png";i:3;s:3:"gif";i:4;s:3:"pdf";i:5;s:3:"doc";i:6;s:4:"docx";i:7;s:3:"key";i:8;s:3:"ppt";i:9;s:4:"pptx";i:10;s:3:"pps";i:11;s:4:"ppsx";i:12;s:3:"odt";i:13;s:3:"xls";i:14;s:4:"xlsx";i:15;s:3:"zip";i:16;s:3:"mp3";i:17;s:3:"m4a";i:18;s:3:"ogg";i:19;s:3:"wav";i:20;s:3:"mp4";i:21;s:3:"m4v";i:22;s:3:"wmv";i:23;s:3:"avi";i:24;s:3:"mpg";i:25;s:3:"ogv";i:26;s:3:"3gp";i:27;s:3:"3g2";}s:7:"maxSize";i:2;}s:5:"login";a:0:{}}i:2;a:31:{s:5:"label";s:12:"Phone Number";s:4:"type";s:5:"phone";s:4:"size";s:6:"medium";s:8:"required";b:0;s:12:"noDuplicates";b:0;s:10:"visibility";b:1;s:12:"labelVisible";b:1;s:8:"rangeMin";s:0:"";s:8:"rangeMax";s:0:"";s:11:"rangeFormat";s:4:"char";s:8:"preValue";s:0:"";s:8:"helpText";s:0:"";s:10:"cssClasses";s:0:"";s:15:"placeholderText";s:0:"";s:6:"radios";b:0;s:10:"checkboxes";b:0;s:12:"textAreaRows";i:10;s:12:"textAreaCols";i:60;s:5:"cssID";s:17:"wpformfield166329";s:7:"choices";a:3:{i:0;s:12:"First Choice";i:1;s:13:"Second Choice";i:2;s:12:"Third Choice";}s:14:"selectedChoice";N;s:22:"checkboxSelectedChoice";a:0:{}s:12:"sectionTitle";s:13:"Section Title";s:18:"sectionDescription";s:34:"Click me to change the description";s:9:"extraData";a:0:{}s:11:"ruleEnabled";b:0;s:5:"rules";a:4:{s:5:"field";s:0:"";s:8:"operator";s:2:"is";s:8:"cmpValue";s:0:"";s:6:"action";s:4:"show";}s:10:"statements";a:0:{}s:7:"columns";a:0:{}s:4:"file";a:2:{s:7:"allowed";a:28:{i:0;s:3:"jpg";i:1;s:4:"jpeg";i:2;s:3:"png";i:3;s:3:"gif";i:4;s:3:"pdf";i:5;s:3:"doc";i:6;s:4:"docx";i:7;s:3:"key";i:8;s:3:"ppt";i:9;s:4:"pptx";i:10;s:3:"pps";i:11;s:4:"ppsx";i:12;s:3:"odt";i:13;s:3:"xls";i:14;s:4:"xlsx";i:15;s:3:"zip";i:16;s:3:"mp3";i:17;s:3:"m4a";i:18;s:3:"ogg";i:19;s:3:"wav";i:20;s:3:"mp4";i:21;s:3:"m4v";i:22;s:3:"wmv";i:23;s:3:"avi";i:24;s:3:"mpg";i:25;s:3:"ogv";i:26;s:3:"3gp";i:27;s:3:"3g2";}s:7:"maxSize";i:2;}s:5:"login";a:0:{}}i:3;a:31:{s:5:"label";s:17:"How old are you ?";s:4:"type";s:5:"radio";s:4:"size";s:6:"medium";s:8:"required";b:0;s:12:"noDuplicates";b:0;s:10:"visibility";b:1;s:12:"labelVisible";b:1;s:8:"rangeMin";s:0:"";s:8:"rangeMax";s:0:"";s:11:"rangeFormat";s:4:"char";s:8:"preValue";s:0:"";s:8:"helpText";s:0:"";s:10:"cssClasses";s:0:"";s:15:"placeholderText";s:0:"";s:6:"radios";b:0;s:10:"checkboxes";b:0;s:12:"textAreaRows";i:10;s:12:"textAreaCols";i:60;s:5:"cssID";s:16:"wpformfield38913";s:7:"choices";a:3:{i:0;s:5:"18-25";i:1;s:5:"25-45";i:2;s:3:"45+";}s:14:"selectedChoice";N;s:22:"checkboxSelectedChoice";a:0:{}s:12:"sectionTitle";s:13:"Section Title";s:18:"sectionDescription";s:34:"Click me to change the description";s:9:"extraData";N;s:11:"ruleEnabled";b:0;s:5:"rules";a:4:{s:5:"field";s:0:"";s:8:"operator";s:2:"is";s:8:"cmpValue";s:0:"";s:6:"action";s:4:"show";}s:10:"statements";a:0:{}s:7:"columns";a:0:{}s:4:"file";a:2:{s:7:"allowed";a:28:{i:0;s:3:"jpg";i:1;s:4:"jpeg";i:2;s:3:"png";i:3;s:3:"gif";i:4;s:3:"pdf";i:5;s:3:"doc";i:6;s:4:"docx";i:7;s:3:"key";i:8;s:3:"ppt";i:9;s:4:"pptx";i:10;s:3:"pps";i:11;s:4:"ppsx";i:12;s:3:"odt";i:13;s:3:"xls";i:14;s:4:"xlsx";i:15;s:3:"zip";i:16;s:3:"mp3";i:17;s:3:"m4a";i:18;s:3:"ogg";i:19;s:3:"wav";i:20;s:3:"mp4";i:21;s:3:"m4v";i:22;s:3:"wmv";i:23;s:3:"avi";i:24;s:3:"mpg";i:25;s:3:"ogv";i:26;s:3:"3gp";i:27;s:3:"3g2";}s:7:"maxSize";i:2;}s:5:"login";a:0:{}}i:4;a:31:{s:5:"label";s:46:"Have you ever heard about our website before ?";s:4:"type";s:5:"radio";s:4:"size";s:6:"medium";s:8:"required";b:0;s:12:"noDuplicates";b:0;s:10:"visibility";b:1;s:12:"labelVisible";b:1;s:8:"rangeMin";s:0:"";s:8:"rangeMax";s:0:"";s:11:"rangeFormat";s:4:"char";s:8:"preValue";s:0:"";s:8:"helpText";s:0:"";s:10:"cssClasses";s:0:"";s:15:"placeholderText";s:0:"";s:6:"radios";b:0;s:10:"checkboxes";b:0;s:12:"textAreaRows";i:10;s:12:"textAreaCols";i:60;s:5:"cssID";s:17:"wpformfield193365";s:7:"choices";a:2:{i:0;s:3:"Yes";i:1;s:2:"No";}s:14:"selectedChoice";N;s:22:"checkboxSelectedChoice";a:0:{}s:12:"sectionTitle";s:13:"Section Title";s:18:"sectionDescription";s:34:"Click me to change the description";s:9:"extraData";N;s:11:"ruleEnabled";b:0;s:5:"rules";a:4:{s:5:"field";s:0:"";s:8:"operator";s:2:"is";s:8:"cmpValue";s:0:"";s:6:"action";s:4:"show";}s:10:"statements";a:0:{}s:7:"columns";a:0:{}s:4:"file";a:2:{s:7:"allowed";a:28:{i:0;s:3:"jpg";i:1;s:4:"jpeg";i:2;s:3:"png";i:3;s:3:"gif";i:4;s:3:"pdf";i:5;s:3:"doc";i:6;s:4:"docx";i:7;s:3:"key";i:8;s:3:"ppt";i:9;s:4:"pptx";i:10;s:3:"pps";i:11;s:4:"ppsx";i:12;s:3:"odt";i:13;s:3:"xls";i:14;s:4:"xlsx";i:15;s:3:"zip";i:16;s:3:"mp3";i:17;s:3:"m4a";i:18;s:3:"ogg";i:19;s:3:"wav";i:20;s:3:"mp4";i:21;s:3:"m4v";i:22;s:3:"wmv";i:23;s:3:"avi";i:24;s:3:"mpg";i:25;s:3:"ogv";i:26;s:3:"3gp";i:27;s:3:"3g2";}s:7:"maxSize";i:2;}s:5:"login";a:0:{}}i:5;a:31:{s:5:"label";s:63:"Did you find the information you were looking for on this page?";s:4:"type";s:5:"radio";s:4:"size";s:6:"medium";s:8:"required";b:0;s:12:"noDuplicates";b:0;s:10:"visibility";b:1;s:12:"labelVisible";b:1;s:8:"rangeMin";s:0:"";s:8:"rangeMax";s:0:"";s:11:"rangeFormat";s:4:"char";s:8:"preValue";s:0:"";s:8:"helpText";s:0:"";s:10:"cssClasses";s:0:"";s:15:"placeholderText";s:0:"";s:6:"radios";b:0;s:10:"checkboxes";b:0;s:12:"textAreaRows";i:10;s:12:"textAreaCols";i:60;s:5:"cssID";s:15:"wpformfield9394";s:7:"choices";a:2:{i:0;s:3:"Yes";i:1;s:2:"No";}s:14:"selectedChoice";N;s:22:"checkboxSelectedChoice";a:0:{}s:12:"sectionTitle";s:13:"Section Title";s:18:"sectionDescription";s:34:"Click me to change the description";s:9:"extraData";N;s:11:"ruleEnabled";b:0;s:5:"rules";a:4:{s:5:"field";s:0:"";s:8:"operator";s:2:"is";s:8:"cmpValue";s:0:"";s:6:"action";s:4:"show";}s:10:"statements";a:0:{}s:7:"columns";a:0:{}s:4:"file";a:2:{s:7:"allowed";a:28:{i:0;s:3:"jpg";i:1;s:4:"jpeg";i:2;s:3:"png";i:3;s:3:"gif";i:4;s:3:"pdf";i:5;s:3:"doc";i:6;s:4:"docx";i:7;s:3:"key";i:8;s:3:"ppt";i:9;s:4:"pptx";i:10;s:3:"pps";i:11;s:4:"ppsx";i:12;s:3:"odt";i:13;s:3:"xls";i:14;s:4:"xlsx";i:15;s:3:"zip";i:16;s:3:"mp3";i:17;s:3:"m4a";i:18;s:3:"ogg";i:19;s:3:"wav";i:20;s:3:"mp4";i:21;s:3:"m4v";i:22;s:3:"wmv";i:23;s:3:"avi";i:24;s:3:"mpg";i:25;s:3:"ogv";i:26;s:3:"3gp";i:27;s:3:"3g2";}s:7:"maxSize";i:2;}s:5:"login";a:0:{}}i:6;a:31:{s:5:"label";s:46:"What’s the ONE thing missing from this page?";s:4:"type";s:10:"singletext";s:4:"size";s:5:"large";s:8:"required";b:0;s:12:"noDuplicates";b:0;s:10:"visibility";b:1;s:12:"labelVisible";b:1;s:8:"rangeMin";s:0:"";s:8:"rangeMax";s:0:"";s:11:"rangeFormat";s:4:"char";s:8:"preValue";s:0:"";s:8:"helpText";s:0:"";s:10:"cssClasses";s:0:"";s:15:"placeholderText";s:0:"";s:6:"radios";b:0;s:10:"checkboxes";b:0;s:12:"textAreaRows";i:10;s:12:"textAreaCols";i:60;s:5:"cssID";s:17:"wpformfield128831";s:7:"choices";a:3:{i:0;s:12:"First Choice";i:1;s:13:"Second Choice";i:2;s:12:"Third Choice";}s:14:"selectedChoice";N;s:22:"checkboxSelectedChoice";a:0:{}s:12:"sectionTitle";s:13:"Section Title";s:18:"sectionDescription";s:34:"Click me to change the description";s:9:"extraData";N;s:11:"ruleEnabled";b:0;s:5:"rules";a:4:{s:5:"field";s:0:"";s:8:"operator";s:2:"is";s:8:"cmpValue";s:0:"";s:6:"action";s:4:"show";}s:10:"statements";a:0:{}s:7:"columns";a:0:{}s:4:"file";a:2:{s:7:"allowed";a:28:{i:0;s:3:"jpg";i:1;s:4:"jpeg";i:2;s:3:"png";i:3;s:3:"gif";i:4;s:3:"pdf";i:5;s:3:"doc";i:6;s:4:"docx";i:7;s:3:"key";i:8;s:3:"ppt";i:9;s:4:"pptx";i:10;s:3:"pps";i:11;s:4:"ppsx";i:12;s:3:"odt";i:13;s:3:"xls";i:14;s:4:"xlsx";i:15;s:3:"zip";i:16;s:3:"mp3";i:17;s:3:"m4a";i:18;s:3:"ogg";i:19;s:3:"wav";i:20;s:3:"mp4";i:21;s:3:"m4v";i:22;s:3:"wmv";i:23;s:3:"avi";i:24;s:3:"mpg";i:25;s:3:"ogv";i:26;s:3:"3gp";i:27;s:3:"3g2";}s:7:"maxSize";i:2;}s:5:"login";a:0:{}}i:7;a:31:{s:5:"label";s:42:"How easy was it to complete your purchase?";s:4:"type";s:5:"radio";s:4:"size";s:6:"medium";s:8:"required";b:0;s:12:"noDuplicates";b:0;s:10:"visibility";b:1;s:12:"labelVisible";b:1;s:8:"rangeMin";s:0:"";s:8:"rangeMax";s:0:"";s:11:"rangeFormat";s:4:"char";s:8:"preValue";s:0:"";s:8:"helpText";s:0:"";s:10:"cssClasses";s:0:"";s:15:"placeholderText";s:0:"";s:6:"radios";b:0;s:10:"checkboxes";b:0;s:12:"textAreaRows";i:10;s:12:"textAreaCols";i:60;s:5:"cssID";s:16:"wpformfield53957";s:7:"choices";a:3:{i:0;s:4:"Easy";i:1;s:8:"Not Easy";i:2;s:17:"Worst Experience ";}s:14:"selectedChoice";N;s:22:"checkboxSelectedChoice";a:0:{}s:12:"sectionTitle";s:13:"Section Title";s:18:"sectionDescription";s:34:"Click me to change the description";s:9:"extraData";N;s:11:"ruleEnabled";b:0;s:5:"rules";a:4:{s:5:"field";s:0:"";s:8:"operator";s:2:"is";s:8:"cmpValue";s:0:"";s:6:"action";s:4:"show";}s:10:"statements";a:0:{}s:7:"columns";a:0:{}s:4:"file";a:2:{s:7:"allowed";a:28:{i:0;s:3:"jpg";i:1;s:4:"jpeg";i:2;s:3:"png";i:3;s:3:"gif";i:4;s:3:"pdf";i:5;s:3:"doc";i:6;s:4:"docx";i:7;s:3:"key";i:8;s:3:"ppt";i:9;s:4:"pptx";i:10;s:3:"pps";i:11;s:4:"ppsx";i:12;s:3:"odt";i:13;s:3:"xls";i:14;s:4:"xlsx";i:15;s:3:"zip";i:16;s:3:"mp3";i:17;s:3:"m4a";i:18;s:3:"ogg";i:19;s:3:"wav";i:20;s:3:"mp4";i:21;s:3:"m4v";i:22;s:3:"wmv";i:23;s:3:"avi";i:24;s:3:"mpg";i:25;s:3:"ogv";i:26;s:3:"3gp";i:27;s:3:"3g2";}s:7:"maxSize";i:2;}s:5:"login";a:0:{}}i:8;a:31:{s:5:"label";s:60:"Were you looking for anything today that you could not find?";s:4:"type";s:10:"singletext";s:4:"size";s:5:"large";s:8:"required";b:0;s:12:"noDuplicates";b:0;s:10:"visibility";b:1;s:12:"labelVisible";b:1;s:8:"rangeMin";s:0:"";s:8:"rangeMax";s:0:"";s:11:"rangeFormat";s:4:"char";s:8:"preValue";s:0:"";s:8:"helpText";s:0:"";s:10:"cssClasses";s:0:"";s:15:"placeholderText";s:0:"";s:6:"radios";b:0;s:10:"checkboxes";b:0;s:12:"textAreaRows";i:10;s:12:"textAreaCols";i:60;s:5:"cssID";s:16:"wpformfield39216";s:7:"choices";a:3:{i:0;s:12:"First Choice";i:1;s:13:"Second Choice";i:2;s:12:"Third Choice";}s:14:"selectedChoice";N;s:22:"checkboxSelectedChoice";a:0:{}s:12:"sectionTitle";s:13:"Section Title";s:18:"sectionDescription";s:34:"Click me to change the description";s:9:"extraData";N;s:11:"ruleEnabled";b:0;s:5:"rules";a:4:{s:5:"field";s:0:"";s:8:"operator";s:2:"is";s:8:"cmpValue";s:0:"";s:6:"action";s:4:"show";}s:10:"statements";a:0:{}s:7:"columns";a:0:{}s:4:"file";a:2:{s:7:"allowed";a:28:{i:0;s:3:"jpg";i:1;s:4:"jpeg";i:2;s:3:"png";i:3;s:3:"gif";i:4;s:3:"pdf";i:5;s:3:"doc";i:6;s:4:"docx";i:7;s:3:"key";i:8;s:3:"ppt";i:9;s:4:"pptx";i:10;s:3:"pps";i:11;s:4:"ppsx";i:12;s:3:"odt";i:13;s:3:"xls";i:14;s:4:"xlsx";i:15;s:3:"zip";i:16;s:3:"mp3";i:17;s:3:"m4a";i:18;s:3:"ogg";i:19;s:3:"wav";i:20;s:3:"mp4";i:21;s:3:"m4v";i:22;s:3:"wmv";i:23;s:3:"avi";i:24;s:3:"mpg";i:25;s:3:"ogv";i:26;s:3:"3gp";i:27;s:3:"3g2";}s:7:"maxSize";i:2;}s:5:"login";a:0:{}}}s:5:"title";s:14:"Website Survey";s:11:"description";s:34:"Your experience about our website ";s:4:"lang";s:2:"en";s:14:"labelPlacement";s:3:"top";s:18:"confirmationOption";s:4:"text";s:11:"textMessage";s:38:"Thanks for submitting your information";s:11:"redirectUrl";s:0:"";s:7:"captcha";b:0;s:11:"noOfEntries";s:0:"";s:12:"onlySingleIP";b:0;s:9:"formTimer";b:0;s:13:"formStartTime";N;s:11:"formEndTime";N;s:5:"theme";a:0:{}s:9:"extraData";a:0:{}s:23:"confirmationEmailToUser";b:0;s:17:"emailAddressField";s:0:"";s:12:"replyToEmail";s:0:"";s:9:"submitBtn";b:1;s:13:"submitBtnText";s:6:"Submit";s:13:"submitBtnType";s:6:"normal";s:13:"errorMessages";a:0:{}s:5:"style";a:8:{s:7:"enabled";b:1;s:8:"formCont";a:13:{s:4:"font";s:0:"";s:8:"fontSize";i:14;s:5:"color";s:7:"#000000";s:7:"bgColor";s:7:"#ffffff";s:6:"margin";s:0:"";s:7:"padding";s:0:"";s:5:"bgImg";s:0:"";s:18:"hideHeadingSection";b:0;s:13:"errorMsgColor";s:7:"#a94442";s:15:"successMsgColor";s:7:"#3c763d";s:18:"successMsgFontSize";i:14;s:30:"hideFormOnSuccessForSuccessMsg";b:0;s:10:"bgImageUrl";s:0:"";}s:11:"formHeading";a:6:{s:4:"font";s:0:"";s:8:"fontSize";s:2:"24";s:5:"color";s:7:"#79a533";s:7:"bgColor";s:0:"";s:7:"padding";s:0:"";s:6:"margin";s:0:"";}s:15:"formDescription";a:6:{s:4:"font";s:0:"";s:8:"fontSize";s:2:"13";s:5:"color";s:0:"";s:7:"bgColor";s:0:"";s:7:"padding";s:0:"";s:6:"margin";s:0:"";}s:10:"fieldLabel";a:18:{s:4:"font";s:0:"";s:8:"fontSize";s:2:"14";s:5:"color";s:0:"";s:7:"bgColor";s:0:"";s:11:"paddingLeft";s:0:"";s:12:"paddingRight";s:0:"";s:10:"paddingTop";s:0:"";s:13:"paddingBottom";s:0:"";s:10:"marginLeft";s:0:"";s:11:"marginRight";s:0:"";s:9:"marginTop";s:0:"";s:12:"marginBottom";s:0:"";s:10:"fontWeight";s:4:"bold";s:11:"borderColor";s:4:"#ccc";s:10:"borderSize";s:1:"0";s:11:"borderStyle";s:5:"solid";s:12:"borderRadius";s:1:"0";s:13:"advancedColor";s:0:"";}s:10:"fieldInput";a:17:{s:4:"font";s:0:"";s:8:"fontSize";s:2:"14";s:5:"color";s:0:"";s:7:"bgColor";s:0:"";s:11:"paddingLeft";s:2:"12";s:12:"paddingRight";s:2:"12";s:10:"paddingTop";s:1:"6";s:13:"paddingBottom";s:1:"6";s:10:"marginLeft";s:1:"0";s:11:"marginRight";s:1:"0";s:9:"marginTop";s:1:"0";s:12:"marginBottom";s:1:"0";s:10:"fontWeight";s:4:"bold";s:11:"borderColor";s:4:"#ccc";s:10:"borderSize";s:1:"1";s:11:"borderStyle";s:5:"solid";s:12:"borderRadius";s:1:"4";}s:9:"submitBtn";a:16:{s:4:"font";s:0:"";s:8:"fontSize";s:2:"16";s:5:"color";s:7:"#ffffff";s:7:"bgColor";s:4:"#333";s:11:"paddingLeft";i:26;s:12:"paddingRight";i:26;s:13:"paddingBottom";i:13;s:10:"paddingTop";i:13;s:6:"margin";s:0:"";s:10:"fontWeight";s:4:"bold";s:12:"hoverBgColor";s:0:"";s:11:"borderColor";s:4:"#ccc";s:10:"borderSize";s:1:"0";s:11:"borderStyle";s:5:"solid";s:12:"borderRadius";s:1:"0";s:11:"alignCenter";b:0;}s:9:"extraData";a:0:{}}s:18:"mailchimpAddOnData";a:0:{}s:9:"addOnData";a:0:{}s:2:"id";i:65;s:6:"method";s:3:"put";s:6:"action";s:4:"save";s:6:"formID";i:65;s:5:"error";b:0;s:8:"errorMsg";s:0:"";s:4:"data";a:1:{s:6:"formID";s:2:"65";}}
exts/templates/imgs/contact-form-1.png ADDED
Binary file
exts/templates/imgs/feedback-form-1.png ADDED
Binary file
exts/templates/imgs/question-form-1.png ADDED
Binary file
exts/templates/imgs/survey-form-1.png ADDED
Binary file
exts/templates/loader.php ADDED
@@ -0,0 +1,234 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class SmuzForm_Ext_Templates_Loader {
4
+
5
+ private static $instance;
6
+
7
+ protected function __construct() {}
8
+
9
+ public static function getInstance() {
10
+
11
+ if ( null === self::$instance )
12
+ self::$instance = new self();
13
+
14
+ return self::$instance;
15
+ }
16
+
17
+ public function load() {
18
+
19
+ $this->_filters();
20
+ $this->_hooks();
21
+ }
22
+
23
+ function _filters(){}
24
+ function _hooks(){
25
+
26
+ add_action( "admin_menu", function() {
27
+ add_submenu_page( "smuz-forms-main", "Add New Form", "New Form", "manage_options", "templates-screen", array( $this, "templatesPage" ), 1 );
28
+ } );
29
+
30
+ add_action( "wp_ajax_smuzcreatetemplate", array( $this, "populateFormTemplate" ) );
31
+
32
+ }
33
+
34
+ function templatesPage() {
35
+
36
+ require_once( "views/template-screen.php" );
37
+
38
+ }
39
+
40
+ function populateFormTemplate( $templateNo = null ) {
41
+
42
+ if ( ! current_user_can( "manage_options" ) )
43
+ die( "No Access" );
44
+
45
+ $response = array(
46
+ "error" => False,
47
+ "formId" => 1,
48
+ "msg" => "Contact Form Created From Template."
49
+ );
50
+
51
+ if ( $templateNo == null ) {
52
+
53
+ $templateId = esc_sql( $_GET["id"] );
54
+
55
+ }
56
+
57
+ if ( $templateId == 1 ) {
58
+ $this->createContactFormTemplate( $response );
59
+ }
60
+
61
+ if ( $templateId == 2 ) {
62
+ $this->createWebsiteFormTemplate( $response );
63
+ }
64
+
65
+ if ( $templateId == 3 ) {
66
+ $this->createQuestionFormTemplate( $response );
67
+ }
68
+
69
+ if ( $templateId == 4 ) {
70
+ $this->createFeedbackFormTemplate( $response );
71
+ }
72
+
73
+ }
74
+
75
+ function createContactFormTemplate( $response ) {
76
+
77
+ $dir = SMUZFORM_PLUGIN_PATH . "/exts/templates/forms-src/" ;
78
+
79
+ $model = file_get_contents( $dir . "contact-form-1-model.smuz" );
80
+
81
+ $notificationModel = file_get_contents( $dir . "contact-form-1-noti.smuz" );
82
+
83
+ $model = maybe_unserialize( $model );
84
+
85
+ $notificationModel = maybe_unserialize( $notificationModel );
86
+
87
+ $model["title"] = "Contact Form #" . mt_rand(1000,10000);
88
+
89
+ $data = $model;
90
+
91
+ $postarr = array(
92
+ 'post_title' => sanitize_text_field( $data['title'] ),
93
+ 'post_content' => '',
94
+ 'post_type' => 'smuzform',
95
+ 'post_status' => 'publish'
96
+ );
97
+
98
+ $notificationModel["notifications"][0]["extraData"]["emailAddress"] = get_bloginfo( "admin_email" );
99
+ $notificationModel["notifications"][0]["extraData"]["fromText"] = get_bloginfo( "name" );
100
+
101
+ $form_id = wp_insert_post( $postarr );
102
+
103
+ $data['id'] = $form_id;
104
+
105
+ update_post_meta( $form_id, 'model', $data );
106
+ update_post_meta( $form_id, 'notifications', $notificationModel );
107
+
108
+ $response["formId"] = $form_id;
109
+
110
+ echo json_encode( $response );
111
+ die();
112
+
113
+ }
114
+
115
+ function createWebsiteFormTemplate( $response ) {
116
+
117
+ $dir = SMUZFORM_PLUGIN_PATH . "/exts/templates/forms-src/" ;
118
+
119
+ $model = file_get_contents( $dir . "website-form-1-model.smuz" );
120
+
121
+ $notificationModel = file_get_contents( $dir . "contact-form-1-noti.smuz" );
122
+
123
+ $model = maybe_unserialize( $model );
124
+
125
+ $notificationModel = maybe_unserialize( $notificationModel );
126
+
127
+ $model["title"] = "Website Survey #" . mt_rand(1000,10000);
128
+
129
+ $data = $model;
130
+
131
+ $postarr = array(
132
+ 'post_title' => sanitize_text_field( $data['title'] ),
133
+ 'post_content' => '',
134
+ 'post_type' => 'smuzform',
135
+ 'post_status' => 'publish'
136
+ );
137
+
138
+ $notificationModel["notifications"][0]["extraData"]["emailAddress"] = get_bloginfo( "admin_email" );
139
+ $notificationModel["notifications"][0]["extraData"]["fromText"] = get_bloginfo( "name" );
140
+
141
+ $form_id = wp_insert_post( $postarr );
142
+
143
+ $data['id'] = $form_id;
144
+
145
+ update_post_meta( $form_id, 'model', $data );
146
+ update_post_meta( $form_id, 'notifications', $notificationModel );
147
+
148
+ $response["formId"] = $form_id;
149
+
150
+ echo json_encode( $response );
151
+ die();
152
+
153
+ }
154
+
155
+ function createQuestionFormTemplate( $response ) {
156
+
157
+ $dir = SMUZFORM_PLUGIN_PATH . "/exts/templates/forms-src/" ;
158
+
159
+ $model = file_get_contents( $dir . "question-form-1-model.smuz" );
160
+
161
+ $notificationModel = file_get_contents( $dir . "contact-form-1-noti.smuz" );
162
+
163
+ $model = maybe_unserialize( $model );
164
+
165
+ $notificationModel = maybe_unserialize( $notificationModel );
166
+
167
+ $model["title"] = "Question Form #" . mt_rand(1000,10000);
168
+
169
+ $data = $model;
170
+
171
+ $postarr = array(
172
+ 'post_title' => sanitize_text_field( $data['title'] ),
173
+ 'post_content' => '',
174
+ 'post_type' => 'smuzform',
175
+ 'post_status' => 'publish'
176
+ );
177
+
178
+ $notificationModel["notifications"][0]["extraData"]["emailAddress"] = get_bloginfo( "admin_email" );
179
+ $notificationModel["notifications"][0]["extraData"]["fromText"] = get_bloginfo( "name" );
180
+
181
+ $form_id = wp_insert_post( $postarr );
182
+
183
+ $data['id'] = $form_id;
184
+
185
+ update_post_meta( $form_id, 'model', $data );
186
+ update_post_meta( $form_id, 'notifications', $notificationModel );
187
+
188
+ $response["formId"] = $form_id;
189
+
190
+ echo json_encode( $response );
191
+ die();
192
+
193
+ }
194
+
195
+ function createFeedbackFormTemplate( $response ) {
196
+
197
+ $dir = SMUZFORM_PLUGIN_PATH . "/exts/templates/forms-src/" ;
198
+
199
+ $model = file_get_contents( $dir . "feedback-form-1-model.smuz" );
200
+
201
+ $notificationModel = file_get_contents( $dir . "contact-form-1-noti.smuz" );
202
+
203
+ $model = maybe_unserialize( $model );
204
+
205
+ $notificationModel = maybe_unserialize( $notificationModel );
206
+
207
+ $model["title"] = "Feedback Form #" . mt_rand(1000,10000);
208
+
209
+ $data = $model;
210
+
211
+ $postarr = array(
212
+ 'post_title' => sanitize_text_field( $data['title'] ),
213
+ 'post_content' => '',
214
+ 'post_type' => 'smuzform',
215
+ 'post_status' => 'publish'
216
+ );
217
+
218
+ $notificationModel["notifications"][0]["extraData"]["emailAddress"] = get_bloginfo( "admin_email" );
219
+ $notificationModel["notifications"][0]["extraData"]["fromText"] = get_bloginfo( "name" );
220
+
221
+ $form_id = wp_insert_post( $postarr );
222
+
223
+ $data['id'] = $form_id;
224
+
225
+ update_post_meta( $form_id, 'model', $data );
226
+ update_post_meta( $form_id, 'notifications', $notificationModel );
227
+
228
+ $response["formId"] = $form_id;
229
+
230
+ echo json_encode( $response );
231
+ die();
232
+
233
+ }
234
+ }
exts/templates/views/template-screen.php ADDED
@@ -0,0 +1,162 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div id="template-screen">
2
+
3
+ <div id="template-screen-header">
4
+
5
+ <h3>Select a Template To Create New Form</h3>
6
+
7
+ </div>
8
+
9
+ <div id="list-of-templates">
10
+
11
+ <ul style="">
12
+
13
+ <li>
14
+
15
+ <p>
16
+
17
+ <strong>Contact Form #1</strong>
18
+
19
+ </p>
20
+
21
+ <a href="" data-formid="1">
22
+
23
+ <img src="<?php echo smuzform_url( "/exts/templates/imgs/contact-form-1.png" ) ?>" />
24
+
25
+ </a>
26
+
27
+ </li>
28
+
29
+ <li>
30
+
31
+ <p>
32
+
33
+ <strong>Survey Form #1</strong>
34
+
35
+ </p>
36
+
37
+ <a href="" data-formid="2">
38
+
39
+ <img src="<?php echo smuzform_url( "/exts/templates/imgs/survey-form-1.png" ) ?>" />
40
+
41
+ </a>
42
+
43
+ </li>
44
+
45
+ <li>
46
+
47
+ <p>
48
+
49
+ <strong>Question Form #1</strong>
50
+
51
+ </p>
52
+
53
+ <a href="" data-formid="3">
54
+
55
+ <img src="<?php echo smuzform_url( "/exts/templates/imgs/question-form-1.png" ) ?>" />
56
+
57
+ </a>
58
+
59
+ </li>
60
+
61
+ <li>
62
+
63
+ <p>
64
+
65
+ <strong>Feedback Form #1</strong>
66
+
67
+ </p>
68
+
69
+ <a href="" data-formid="4">
70
+
71
+ <img src="<?php echo smuzform_url( "/exts/templates/imgs/feedback-form-1.png" ) ?>" />
72
+
73
+ </a>
74
+
75
+ </li>
76
+
77
+ </ul>
78
+
79
+ </div>
80
+
81
+ <div id="template-screen-footer">
82
+
83
+ <h3>or Create a blank form</h3>
84
+
85
+ <input id="wp_smf_add_new_button" class="wp_smf_add_new_button button button-primary" type="button" value="Add New" onclick="window.location = '<?php echo admin_url('admin.php?page=smuz-forms&new_post=1') ?>'">
86
+
87
+ </div>
88
+
89
+ </div>
90
+ <style>
91
+
92
+ #list-of-templates ul {
93
+ display: flex;
94
+ flex-direction: row;
95
+ flex-wrap: wrap;
96
+ }
97
+
98
+ #list-of-templates ul li{
99
+
100
+ margin-left: 25px;
101
+
102
+ }
103
+
104
+ #list-of-templates ul li img{
105
+ width: 300px;
106
+ height: auto;
107
+ box-shadow: 2px 1px 7px 3px #88888880;
108
+ border: 1px solid #000;
109
+ }
110
+ #list-of-templates ul li p strong {
111
+ font-size: 16px;
112
+ }
113
+
114
+ #template-screen-header {
115
+ box-shadow: 2px 1px 7px 3px #88888880;
116
+ width: 90%;
117
+ }
118
+
119
+ #template-screen-header h3 {
120
+ font-size: 24px;
121
+ text-align: center;
122
+ padding: 25px;
123
+
124
+ }
125
+
126
+ #template-screen-footer {
127
+ text-align: center;
128
+ width: 90%;
129
+ }
130
+
131
+ #template-screen-footer h3 {
132
+ font-size: 24px;
133
+ padding: 15px;
134
+ }
135
+
136
+ </style>
137
+
138
+ <script>
139
+
140
+ $ = jQuery;
141
+
142
+ $(document).ready( function() {
143
+
144
+ $("#list-of-templates ul li a").click( function(e) {
145
+ e.preventDefault();
146
+
147
+ var id = $(this).data("formid");
148
+
149
+ var url = ajaxurl + "?action=smuzcreatetemplate&id=" + parseInt( id );
150
+
151
+ var redirectUrl = "<?php echo admin_url( 'admin.php?page=smuz-forms' ) ?>";
152
+
153
+ $.getJSON( url, function( resp ) {
154
+
155
+ window.location = redirectUrl + "&form_id=" + parseInt( resp.formId );
156
+
157
+ } );
158
+
159
+
160
+ } )
161
+ } );
162
+ </script>
forms.php CHANGED
@@ -1,11 +1,11 @@
1
  <?php
2
  /**
3
  Plugin Name: Contact Form
4
- Description: Create Responsive Forms using Drag & Drop Visual Builder.
5
  Author: Web-Settler
6
- Author URI: http://web-settler.com/form-builder/?ref=author_uri
7
- Plugin URI: http://web-settler.com/form-builder/?ref=plugin_uri
8
- Version: 1.9.3
9
  License: GPL V2+
10
  **/
11
 
1
  <?php
2
  /**
3
  Plugin Name: Contact Form
4
+ Description: Create Responsive Forms using Drag & Drop Visual Builder. View entries from admin interface.
5
  Author: Web-Settler
6
+ Author URI: http://web-settler.com/form-builder/?ref=pluginsPageAuthURI
7
+ Plugin URI: http://web-settler.com/form-builder/?ref=pluginsPagePluginURI
8
+ Version: 1.9.4
9
  License: GPL V2+
10
  **/
11
 
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: umarbajwa
3
  Requires at least: 3.7
4
  Tested up to: 5.4
5
  Tags: contact form, form builder, contact me, custom contact form, form, custom forms
6
- Stable tag: 1.9.3
7
- Donate Link: http://web-settler.com/form-builder/
8
  License: GPL V2 or latest
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -102,6 +102,11 @@ You can create any type of forms with contact form plugin it was built for multi
102
  * Ajax based forms.
103
  * Design your forms easily.
104
  * Customizable Form design.
 
 
 
 
 
105
 
106
 
107
  = <a href='http://web-settler.com/form-builder/' > Available AddOns </a> =
3
  Requires at least: 3.7
4
  Tested up to: 5.4
5
  Tags: contact form, form builder, contact me, custom contact form, form, custom forms
6
+ Stable tag: 1.9.4
7
+ Donate Link: http://web-settler.com/form-builder/?ref=wpPage
8
  License: GPL V2 or latest
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
102
  * Ajax based forms.
103
  * Design your forms easily.
104
  * Customizable Form design.
105
+ * Export Contact / Survey / Even Form Entries
106
+ * Export As CSV file format
107
+ * Print Entries
108
+ * Store Form Entries
109
+ * Style Form with many options
110
 
111
 
112
  = <a href='http://web-settler.com/form-builder/' > Available AddOns </a> =