Version Description
(Date: October 13. 2019) = * All new form editor screen with simple, powerful and clean interface * Built-in Data analysis tool for form submissions. * Email bug fix * Added new db table for advanced reporting * Submit button styling and customization option * Improve form security * Form Preview re-engineered now. In any theme, it will work fine. * Exporting data issue fixed * Entry status management improvement * File upload issue fixed * Lots of integration added * Global Integration and Module manager.
Download this release
Release Info
Developer | techjewel |
Plugin | Contact Form Plugin – Fastest Contact Form Builder Plugin for WordPress by Fluent Forms |
Version | 3.0.0 |
Comparing to | |
See all releases |
Code changes from version 2.0.1 to 3.0.0
- app/Databases/DatabaseMigrator.php +2 -0
- app/Databases/Migrations/FormSubmissionDetails.php +34 -0
- app/Helpers/Helper.php +102 -4
- app/Hooks/Ajax.php +103 -32
- app/Hooks/Backend.php +77 -7
- app/Hooks/Common.php +118 -98
- app/Hooks/Frontend.php +7 -8
- app/Modules/Acl/Acl.php +45 -28
- app/Modules/Activator.php +57 -1
- app/Modules/AddOnModule.php +127 -55
- app/Modules/Component/Component.php +4 -5
- app/Modules/Entries/Entries.php +166 -59
- app/Modules/Entries/EntryQuery.php +3 -1
- app/Modules/Entries/Export.php +1 -3
- app/Modules/Entries/Report.php +299 -0
- app/Modules/Form/Form.php +18 -5
- app/Modules/Form/FormFieldsParser.php +1 -0
- app/Modules/Form/FormHandler.php +50 -32
- app/Modules/Form/Inputs.php +0 -2
- app/Modules/Form/Predefined.php +708 -68
- app/Modules/Form/Settings/ExtraSettings.php +0 -2
- app/Modules/Form/Settings/FormCssJs.php +2 -5
- app/Modules/Form/Settings/FormSettings.php +0 -1
- app/Modules/ProcessExteriorModule.php +46 -66
- app/Modules/Registerer/Menu.php +30 -25
- app/Modules/Settings/Settings.php +5 -2
- app/Services/Emogrifier/Emogrifier.php +412 -164
- app/Services/FormBuilder/BaseFieldManager.php +108 -0
- app/Services/FormBuilder/Components/Rating.php +1 -1
- app/Services/FormBuilder/Components/SubmitButton.php +74 -31
- app/Services/FormBuilder/Components/Text.php +33 -8
- app/Services/FormBuilder/DefaultElements.php +31 -64
app/Databases/DatabaseMigrator.php
CHANGED
@@ -5,6 +5,7 @@ namespace FluentForm\App\Databases;
|
|
5 |
use FluentForm\App\Databases\Migrations\FormAnalytics;
|
6 |
use FluentForm\App\Databases\Migrations\Forms;
|
7 |
use FluentForm\App\Databases\Migrations\FormMeta;
|
|
|
8 |
use FluentForm\App\Databases\Migrations\FormSubmissions;
|
9 |
use FluentForm\App\Databases\Migrations\FormTransactions;
|
10 |
use FluentForm\App\Databases\Migrations\FormSubmissionMeta;
|
@@ -20,5 +21,6 @@ class DatabaseMigrator
|
|
20 |
FormSubmissionMeta::migrate();
|
21 |
FormTransactions::migrate();
|
22 |
FormAnalytics::migrate();
|
|
|
23 |
}
|
24 |
}
|
5 |
use FluentForm\App\Databases\Migrations\FormAnalytics;
|
6 |
use FluentForm\App\Databases\Migrations\Forms;
|
7 |
use FluentForm\App\Databases\Migrations\FormMeta;
|
8 |
+
use FluentForm\App\Databases\Migrations\FormSubmissionDetails;
|
9 |
use FluentForm\App\Databases\Migrations\FormSubmissions;
|
10 |
use FluentForm\App\Databases\Migrations\FormTransactions;
|
11 |
use FluentForm\App\Databases\Migrations\FormSubmissionMeta;
|
21 |
FormSubmissionMeta::migrate();
|
22 |
FormTransactions::migrate();
|
23 |
FormAnalytics::migrate();
|
24 |
+
FormSubmissionDetails::migrate();
|
25 |
}
|
26 |
}
|
app/Databases/Migrations/FormSubmissionDetails.php
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace FluentForm\App\Databases\Migrations;
|
4 |
+
|
5 |
+
class FormSubmissionDetails
|
6 |
+
{
|
7 |
+
/**
|
8 |
+
* Migrate the table.
|
9 |
+
*
|
10 |
+
* @return void
|
11 |
+
*/
|
12 |
+
public static function migrate()
|
13 |
+
{
|
14 |
+
global $wpdb;
|
15 |
+
|
16 |
+
$charsetCollate = $wpdb->get_charset_collate();
|
17 |
+
$table = $wpdb->prefix . 'fluentform_entry_details';
|
18 |
+
if ($wpdb->get_var("SHOW TABLES LIKE '$table'") != $table) {
|
19 |
+
$sql = "CREATE TABLE $table (
|
20 |
+
`id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
|
21 |
+
`form_id` BIGINT(20) UNSIGNED NULL,
|
22 |
+
`submission_id` BIGINT(20) UNSIGNED NULL,
|
23 |
+
`field_name` VARCHAR(255) NULL,
|
24 |
+
`sub_field_name` VARCHAR(255) NULL,
|
25 |
+
`field_value` LONGTEXT NULL,
|
26 |
+
PRIMARY KEY (`id`)) $charsetCollate;";
|
27 |
+
require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
|
28 |
+
dbDelta($sql);
|
29 |
+
}
|
30 |
+
|
31 |
+
update_option('fluentform_entry_details_migrated', 'yes');
|
32 |
+
|
33 |
+
}
|
34 |
+
}
|
app/Helpers/Helper.php
CHANGED
@@ -16,14 +16,14 @@ class Helper
|
|
16 |
public static function sanitizer($input, $attribute = null, $fields = [])
|
17 |
{
|
18 |
if (is_string($input)) {
|
19 |
-
if (ArrayHelper::get($fields, $attribute.'.element') === 'textarea') {
|
20 |
$input = sanitize_textarea_field($input);
|
21 |
} else {
|
22 |
$input = sanitize_text_field($input);
|
23 |
}
|
24 |
} elseif (is_array($input)) {
|
25 |
foreach ($input as $key => &$value) {
|
26 |
-
$attribute = $attribute ? $attribute.'['
|
27 |
|
28 |
$value = Helper::sanitizer($value, $attribute, $fields);
|
29 |
|
@@ -36,9 +36,26 @@ class Helper
|
|
36 |
|
37 |
public static function makeMenuUrl($page = 'fluent_forms_settings', $component = null)
|
38 |
{
|
39 |
-
$baseUrl = admin_url('admin.php?page='
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
40 |
|
41 |
-
return $component ? $baseUrl.'#'.ArrayHelper::get($component, 'hash', '') : $baseUrl;
|
42 |
}
|
43 |
|
44 |
public static function getHtmlElementClass($value1, $value2, $class = 'active', $default = '')
|
@@ -60,4 +77,85 @@ class Helper
|
|
60 |
|
61 |
return json_last_error() === JSON_ERROR_NONE;
|
62 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
63 |
}
|
16 |
public static function sanitizer($input, $attribute = null, $fields = [])
|
17 |
{
|
18 |
if (is_string($input)) {
|
19 |
+
if (ArrayHelper::get($fields, $attribute . '.element') === 'textarea') {
|
20 |
$input = sanitize_textarea_field($input);
|
21 |
} else {
|
22 |
$input = sanitize_text_field($input);
|
23 |
}
|
24 |
} elseif (is_array($input)) {
|
25 |
foreach ($input as $key => &$value) {
|
26 |
+
$attribute = $attribute ? $attribute . '[' . $key . ']' : $key;
|
27 |
|
28 |
$value = Helper::sanitizer($value, $attribute, $fields);
|
29 |
|
36 |
|
37 |
public static function makeMenuUrl($page = 'fluent_forms_settings', $component = null)
|
38 |
{
|
39 |
+
$baseUrl = admin_url('admin.php?page=' . $page);
|
40 |
+
|
41 |
+
$hash = ArrayHelper::get($component, 'hash', '');
|
42 |
+
if ($hash) {
|
43 |
+
$baseUrl = $baseUrl . '#' . $hash;
|
44 |
+
}
|
45 |
+
|
46 |
+
$query = ArrayHelper::get($component, 'query');
|
47 |
+
|
48 |
+
if ($query) {
|
49 |
+
$paramString = http_build_query($query);
|
50 |
+
if ($hash) {
|
51 |
+
$baseUrl .= '?' . $paramString;
|
52 |
+
} else {
|
53 |
+
$baseUrl .= '&' . $paramString;
|
54 |
+
}
|
55 |
+
}
|
56 |
+
|
57 |
+
return $baseUrl;
|
58 |
|
|
|
59 |
}
|
60 |
|
61 |
public static function getHtmlElementClass($value1, $value2, $class = 'active', $default = '')
|
77 |
|
78 |
return json_last_error() === JSON_ERROR_NONE;
|
79 |
}
|
80 |
+
|
81 |
+
|
82 |
+
public static function isSlackEnabled()
|
83 |
+
{
|
84 |
+
$globalModules = get_option('fluentform_global_modules_status');
|
85 |
+
return $globalModules && isset($globalModules['slack']) && $globalModules['slack'] == 'yes';
|
86 |
+
}
|
87 |
+
|
88 |
+
public static function getEntryStutuses($form_id = false)
|
89 |
+
{
|
90 |
+
$statuses = apply_filters('fluentform_entry_statuses', [
|
91 |
+
'unread' => 'Unread',
|
92 |
+
'read' => 'Read'
|
93 |
+
], $form_id);
|
94 |
+
$statuses['trashed'] = 'Trashed';
|
95 |
+
return $statuses;
|
96 |
+
}
|
97 |
+
|
98 |
+
public static function getReportableInputs()
|
99 |
+
{
|
100 |
+
return apply_filters('fluentform_reportable_inputs', [
|
101 |
+
'select',
|
102 |
+
'input_radio',
|
103 |
+
'input_checkbox',
|
104 |
+
'ratings',
|
105 |
+
'select_country'
|
106 |
+
]);
|
107 |
+
}
|
108 |
+
|
109 |
+
public static function getSubFieldReportableInputs()
|
110 |
+
{
|
111 |
+
return apply_filters('fluentform_subfield_reportable_inputs', [
|
112 |
+
'tabular_grid'
|
113 |
+
]);
|
114 |
+
}
|
115 |
+
|
116 |
+
public static function getFormMeta($formId, $metaKey, $default = '')
|
117 |
+
{
|
118 |
+
$meta = wpFluent()->table('fluentform_form_meta')
|
119 |
+
->where('meta_key', $metaKey)
|
120 |
+
->where('form_id', $formId)
|
121 |
+
->first();
|
122 |
+
if(!$meta || $meta->value) {
|
123 |
+
return $default;
|
124 |
+
}
|
125 |
+
|
126 |
+
$metaValue = $meta->value;
|
127 |
+
// decode the JSON data
|
128 |
+
$result = json_decode($metaValue, true);
|
129 |
+
if ($result === FALSE) {
|
130 |
+
return $metaValue;
|
131 |
+
}
|
132 |
+
return $result;
|
133 |
+
}
|
134 |
+
|
135 |
+
public static function setFormMeta($formId, $metaKey, $value)
|
136 |
+
{
|
137 |
+
$meta = wpFluent()->table('fluentform_form_meta')
|
138 |
+
->where('meta_key', $metaKey)
|
139 |
+
->where('form_id', $formId)
|
140 |
+
->first();
|
141 |
+
if(!$meta) {
|
142 |
+
$insetid = wpFluent()->table('fluentform_form_meta')
|
143 |
+
->insert([
|
144 |
+
'meta_key' => $metaKey,
|
145 |
+
'form_id' => $formId,
|
146 |
+
'value' => json_encode($value)
|
147 |
+
]);
|
148 |
+
return $insetid;
|
149 |
+
} else {
|
150 |
+
if(is_array($value) || is_object($value)) {
|
151 |
+
$value= json_encode($value);
|
152 |
+
}
|
153 |
+
wpFluent()->table('fluentform_form_meta')
|
154 |
+
->where('id', $meta->id)
|
155 |
+
->update([
|
156 |
+
'value' => $value
|
157 |
+
]);
|
158 |
+
}
|
159 |
+
return $meta->id;
|
160 |
+
}
|
161 |
}
|
app/Hooks/Ajax.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Add all ajax hooks
|
5 |
*/
|
6 |
|
7 |
-
use FluentForm\App\
|
8 |
|
9 |
/**
|
10 |
* @var $app \FluentForm\Framework\Foundation\Application
|
@@ -14,6 +14,11 @@ $app->addPublicAjaxAction('fluentform_submit', function () use ($app) {
|
|
14 |
(new \FluentForm\App\Modules\Form\FormHandler($app))->onSubmit();
|
15 |
});
|
16 |
|
|
|
|
|
|
|
|
|
|
|
17 |
$app->addPublicAjaxAction('fluentform-form-analytics-view', function () use ($app) {
|
18 |
(new \FluentForm\App\Modules\Form\Analytics($app))->record();
|
19 |
});
|
@@ -22,130 +27,162 @@ $app->addAdminAjaxAction('fluentform-form-analytics-view', function () use ($app
|
|
22 |
(new \FluentForm\App\Modules\Form\Analytics($app))->record();
|
23 |
});
|
24 |
|
25 |
-
$app->addAdminAjaxAction('fluentform_submit', function () use ($app) {
|
26 |
-
(new \FluentForm\App\Modules\Form\FormHandler($app))->onSubmit();
|
27 |
-
});
|
28 |
|
29 |
$app->addAdminAjaxAction('fluentform-global-settings', function () use ($app) {
|
|
|
30 |
(new \FluentForm\App\Modules\Settings\Settings($app->request))->get();
|
31 |
});
|
32 |
|
33 |
$app->addAdminAjaxAction('fluentform-global-settings-store', function () use ($app) {
|
|
|
34 |
(new \FluentForm\App\Modules\Settings\Settings($app->request))->store();
|
35 |
});
|
36 |
|
37 |
$app->addAdminAjaxAction('fluentform-forms', function () use ($app) {
|
|
|
38 |
(new \FluentForm\App\Modules\Form\Form($app))->index();
|
39 |
});
|
40 |
|
41 |
$app->addAdminAjaxAction('fluentform-form-store', function () use ($app) {
|
|
|
42 |
(new \FluentForm\App\Modules\Form\Form($app))->store();
|
43 |
});
|
44 |
|
45 |
$app->addAdminAjaxAction('fluentform-form-find', function () use ($app) {
|
|
|
46 |
(new \FluentForm\App\Modules\Form\Form($app))->find();
|
47 |
});
|
48 |
|
49 |
$app->addAdminAjaxAction('fluentform-form-update', function () use ($app) {
|
|
|
50 |
(new \FluentForm\App\Modules\Form\Form($app))->update();
|
51 |
});
|
52 |
|
53 |
$app->addAdminAjaxAction('fluentform-form-delete', function () use ($app) {
|
|
|
54 |
(new \FluentForm\App\Modules\Form\Form($app))->delete();
|
55 |
});
|
56 |
|
57 |
$app->addAdminAjaxAction('fluentform-form-duplicate', function () use ($app) {
|
|
|
58 |
(new \FluentForm\App\Modules\Form\Form($app))->duplicate();
|
59 |
});
|
60 |
|
61 |
$app->addAdminAjaxAction('fluentform-form-inputs', function () use ($app) {
|
|
|
62 |
(new \FluentForm\App\Modules\Form\Inputs($app))->index();
|
63 |
});
|
64 |
|
65 |
$app->addAdminAjaxAction('fluentform-load-editor-shortcodes', function () use ($app) {
|
|
|
66 |
(new \FluentForm\App\Modules\Component\Component($app))->getEditorShortcodes();
|
67 |
});
|
68 |
|
69 |
$app->addAdminAjaxAction('fluentform-load-all-editor-shortcodes', function () use ($app) {
|
|
|
70 |
(new \FluentForm\App\Modules\Component\Component($app))->getAllEditorShortcodes();
|
71 |
});
|
72 |
|
73 |
$app->addAdminAjaxAction('fluentform-settings-formSettings', function () use ($app) {
|
|
|
74 |
(new \FluentForm\App\Modules\Form\Settings\FormSettings($app))->index();
|
75 |
});
|
76 |
|
77 |
$app->addAdminAjaxAction('fluentform-settings-formSettings-store', function () use ($app) {
|
|
|
78 |
(new \FluentForm\App\Modules\Form\Settings\FormSettings($app))->store();
|
79 |
});
|
80 |
|
81 |
$app->addAdminAjaxAction('fluentform-settings-formSettings-remove', function () use ($app) {
|
|
|
82 |
(new \FluentForm\App\Modules\Form\Settings\FormSettings($app))->remove();
|
83 |
});
|
84 |
|
85 |
$app->addAdminAjaxAction('fluentform-get-form-custom_css_js', function () {
|
|
|
86 |
(new \FluentForm\App\Modules\Form\Settings\FormCssJs)->getSettingsAjax();
|
87 |
});
|
88 |
|
89 |
$app->addAdminAjaxAction('fluentform-save-form-custom_css_js', function () {
|
|
|
90 |
(new \FluentForm\App\Modules\Form\Settings\FormCssJs)->saveSettingsAjax();
|
91 |
});
|
92 |
|
93 |
$app->addAdminAjaxAction('fluentform-load-editor-components', function () use ($app) {
|
|
|
94 |
(new \FluentForm\App\Modules\Component\Component($app))->index();
|
95 |
});
|
96 |
|
97 |
$app->addAdminAjaxAction('fluentform-form-entry-counts', function () use ($app) {
|
|
|
98 |
(new \FluentForm\App\Modules\Entries\Entries())->getEntriesGroup();
|
99 |
});
|
100 |
|
101 |
$app->addAdminAjaxAction('fluentform-form-entries', function () use ($app) {
|
|
|
102 |
(new \FluentForm\App\Modules\Entries\Entries())->getEntries();
|
103 |
});
|
104 |
|
|
|
|
|
|
|
|
|
|
|
|
|
105 |
$app->addAdminAjaxAction('fluentform-form-entries-export', function () use ($app) {
|
|
|
106 |
(new \FluentForm\App\Modules\Entries\Export($app))->index();
|
107 |
});
|
108 |
|
109 |
$app->addAdminAjaxAction('fluentform-get-entry', function () use ($app) {
|
|
|
110 |
(new \FluentForm\App\Modules\Entries\Entries())->getEntry();
|
111 |
});
|
112 |
|
113 |
$app->addAdminAjaxAction('fluentform-get-entry-notes', function () use ($app) {
|
|
|
114 |
(new \FluentForm\App\Modules\Entries\Entries())->getNotes();
|
115 |
});
|
116 |
|
117 |
$app->addAdminAjaxAction('fluentform-add-entry-note', function () use ($app) {
|
|
|
118 |
(new \FluentForm\App\Modules\Entries\Entries())->addNote();
|
119 |
});
|
120 |
|
121 |
$app->addAdminAjaxAction('fluentform-change-entry-status', function () use ($app) {
|
|
|
122 |
(new \FluentForm\App\Modules\Entries\Entries())->changeEntryStatus();
|
123 |
});
|
124 |
|
125 |
$app->addAdminAjaxAction('fluentform-delete-entry', function () use ($app) {
|
|
|
126 |
(new \FluentForm\App\Modules\Entries\Entries())->deleteEntry();
|
127 |
});
|
128 |
|
129 |
$app->addAdminAjaxAction('fluentform-change-entry-favorites', function () use ($app) {
|
|
|
130 |
(new \FluentForm\App\Modules\Entries\Entries())->favoriteChange();
|
131 |
});
|
132 |
|
133 |
$app->addAdminAjaxAction('fluentform-do_entry_bulk_actions', function () use ($app) {
|
|
|
134 |
(new \FluentForm\App\Modules\Entries\Entries())->handleBulkAction();
|
135 |
});
|
136 |
|
137 |
$app->addAdminAjaxAction('fluentform-get-extra-form-settings', function () use ($app) {
|
|
|
138 |
(new FluentForm\App\Modules\Form\Settings\ExtraSettings($app))->getExtraSettingNavs();
|
139 |
});
|
140 |
|
141 |
$app->addAdminAjaxAction('fluentform-get-form-settings-extra-component', function () use ($app) {
|
|
|
142 |
(new FluentForm\App\Modules\Form\Settings\ExtraSettings($app))->getExtraSettingsComponent();
|
143 |
});
|
144 |
|
145 |
$app->addAdminAjaxAction(
|
146 |
'fluentform-get-pages',
|
147 |
function () {
|
148 |
-
|
149 |
|
150 |
$pages = get_pages();
|
151 |
$formattedPages = [];
|
@@ -165,56 +202,37 @@ $app->addAdminAjaxAction(
|
|
165 |
);
|
166 |
|
167 |
|
168 |
-
// Mailchimp Integration Endpoints
|
169 |
-
$app->addAdminAjaxAction('fluentform-get-form-mailchimp-settings', function () use ($app) {
|
170 |
-
(new MailChimpIntegration($app))->getMailChimpSettings();
|
171 |
-
});
|
172 |
-
|
173 |
-
$app->addAdminAjaxAction('fluentform-get-mailchimp-lists', function () use ($app) {
|
174 |
-
(new MailChimpIntegration($app))->getMailChimpLists();
|
175 |
-
});
|
176 |
-
|
177 |
-
$app->addAdminAjaxAction('fluentform-get-mailchimp-list-details', function () use ($app) {
|
178 |
-
(new MailChimpIntegration($app))->getMailChimpList();
|
179 |
-
});
|
180 |
-
|
181 |
-
$app->addAdminAjaxAction('fluentform-save-mailchimp-notification', function () use ($app) {
|
182 |
-
(new MailChimpIntegration($app))->saveNotification();
|
183 |
-
});
|
184 |
-
|
185 |
-
$app->addAdminAjaxAction('fluentform-delete-mailchimp-notification', function () use ($app) {
|
186 |
-
(new MailChimpIntegration($app))->deleteNotification();
|
187 |
-
});
|
188 |
-
|
189 |
-
$app->addAdminAjaxAction('fluentform_notice_action', function () use ($app) {
|
190 |
-
FluentForm\AdminNotice::noticeActions();
|
191 |
-
});
|
192 |
-
|
193 |
$app->addAdminAjaxAction('fluentform_notice_action_track_yes', function () use ($app) {
|
|
|
194 |
(new FluentForm\App\Modules\Track\TrackModule())->sendInitialInfo();
|
195 |
});
|
196 |
|
197 |
// Export forms
|
198 |
$app->addAdminAjaxAction('fluentform-export-forms', function () use ($app) {
|
|
|
199 |
(new \FluentForm\App\Modules\Form\Transfer($app))->export();
|
200 |
});
|
201 |
|
202 |
// Import forms
|
203 |
$app->addAdminAjaxAction('fluentform-import-forms', function () use ($app) {
|
|
|
204 |
(new \FluentForm\App\Modules\Form\Transfer($app))->import();
|
205 |
});
|
206 |
|
207 |
$app->addAdminAjaxAction('fluentform-get-all-forms', function () use ($app) {
|
|
|
208 |
(new \FluentForm\App\Modules\Form\Form($app))->getAllForms();
|
209 |
});
|
210 |
|
211 |
// Fetch simplified information for all predefined forms
|
212 |
$app->addAdminAjaxAction('fluentform-predefined-forms', function () use ($app) {
|
|
|
213 |
(new \FluentForm\App\Modules\Form\Predefined($app))->all();
|
214 |
});
|
215 |
|
216 |
// Create a form by predefined data
|
217 |
$app->addAdminAjaxAction('fluentform-predefined-create', function () use ($app) {
|
|
|
218 |
(new \FluentForm\App\Modules\Form\Predefined($app))->create();
|
219 |
});
|
220 |
|
@@ -224,17 +242,70 @@ $app->addAdminAjaxAction('fluentform-predefined-create', function () use ($app)
|
|
224 |
*/
|
225 |
if (fluentFormIsHandlingSubmission()) {
|
226 |
(new FluentForm\App\Services\Integrations\Slack\SlackNotificationActions($app))->register();
|
227 |
-
(new FluentForm\App\Services\Integrations\MailChimp\MailChimpNotificationActions($app))->register();
|
228 |
}
|
229 |
|
230 |
-
|
231 |
// Permission settings
|
232 |
$app->addAdminAjaxAction('fluentform_get_access_roles', function () {
|
|
|
233 |
$roleManager = new \FluentForm\App\Modules\Acl\RoleManager();
|
234 |
$roleManager->getRoles();
|
235 |
});
|
236 |
|
237 |
$app->addAdminAjaxAction('fluentform_set_access_roles', function () {
|
|
|
238 |
$roleManager = new \FluentForm\App\Modules\Acl\RoleManager();
|
239 |
$roleManager->setRoles();
|
240 |
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
* Add all ajax hooks
|
5 |
*/
|
6 |
|
7 |
+
use FluentForm\App\Modules\Acl\Acl;
|
8 |
|
9 |
/**
|
10 |
* @var $app \FluentForm\Framework\Foundation\Application
|
14 |
(new \FluentForm\App\Modules\Form\FormHandler($app))->onSubmit();
|
15 |
});
|
16 |
|
17 |
+
$app->addAdminAjaxAction('fluentform_submit', function () use ($app) {
|
18 |
+
(new \FluentForm\App\Modules\Form\FormHandler($app))->onSubmit();
|
19 |
+
});
|
20 |
+
|
21 |
+
|
22 |
$app->addPublicAjaxAction('fluentform-form-analytics-view', function () use ($app) {
|
23 |
(new \FluentForm\App\Modules\Form\Analytics($app))->record();
|
24 |
});
|
27 |
(new \FluentForm\App\Modules\Form\Analytics($app))->record();
|
28 |
});
|
29 |
|
|
|
|
|
|
|
30 |
|
31 |
$app->addAdminAjaxAction('fluentform-global-settings', function () use ($app) {
|
32 |
+
Acl::verify('fluentform_settings_manager');
|
33 |
(new \FluentForm\App\Modules\Settings\Settings($app->request))->get();
|
34 |
});
|
35 |
|
36 |
$app->addAdminAjaxAction('fluentform-global-settings-store', function () use ($app) {
|
37 |
+
Acl::verify('fluentform_settings_manager');
|
38 |
(new \FluentForm\App\Modules\Settings\Settings($app->request))->store();
|
39 |
});
|
40 |
|
41 |
$app->addAdminAjaxAction('fluentform-forms', function () use ($app) {
|
42 |
+
Acl::verify('fluentform_dashboard_access');
|
43 |
(new \FluentForm\App\Modules\Form\Form($app))->index();
|
44 |
});
|
45 |
|
46 |
$app->addAdminAjaxAction('fluentform-form-store', function () use ($app) {
|
47 |
+
Acl::verify('fluentform_forms_manager');
|
48 |
(new \FluentForm\App\Modules\Form\Form($app))->store();
|
49 |
});
|
50 |
|
51 |
$app->addAdminAjaxAction('fluentform-form-find', function () use ($app) {
|
52 |
+
Acl::verify('fluentform_forms_manager');
|
53 |
(new \FluentForm\App\Modules\Form\Form($app))->find();
|
54 |
});
|
55 |
|
56 |
$app->addAdminAjaxAction('fluentform-form-update', function () use ($app) {
|
57 |
+
Acl::verify('fluentform_forms_manager');
|
58 |
(new \FluentForm\App\Modules\Form\Form($app))->update();
|
59 |
});
|
60 |
|
61 |
$app->addAdminAjaxAction('fluentform-form-delete', function () use ($app) {
|
62 |
+
Acl::verify('fluentform_forms_manager');
|
63 |
(new \FluentForm\App\Modules\Form\Form($app))->delete();
|
64 |
});
|
65 |
|
66 |
$app->addAdminAjaxAction('fluentform-form-duplicate', function () use ($app) {
|
67 |
+
Acl::verify('fluentform_forms_manager');
|
68 |
(new \FluentForm\App\Modules\Form\Form($app))->duplicate();
|
69 |
});
|
70 |
|
71 |
$app->addAdminAjaxAction('fluentform-form-inputs', function () use ($app) {
|
72 |
+
Acl::verify('fluentform_forms_manager');
|
73 |
(new \FluentForm\App\Modules\Form\Inputs($app))->index();
|
74 |
});
|
75 |
|
76 |
$app->addAdminAjaxAction('fluentform-load-editor-shortcodes', function () use ($app) {
|
77 |
+
Acl::verify('fluentform_forms_manager');
|
78 |
(new \FluentForm\App\Modules\Component\Component($app))->getEditorShortcodes();
|
79 |
});
|
80 |
|
81 |
$app->addAdminAjaxAction('fluentform-load-all-editor-shortcodes', function () use ($app) {
|
82 |
+
Acl::verify('fluentform_forms_manager');
|
83 |
(new \FluentForm\App\Modules\Component\Component($app))->getAllEditorShortcodes();
|
84 |
});
|
85 |
|
86 |
$app->addAdminAjaxAction('fluentform-settings-formSettings', function () use ($app) {
|
87 |
+
Acl::verify('fluentform_forms_manager');
|
88 |
(new \FluentForm\App\Modules\Form\Settings\FormSettings($app))->index();
|
89 |
});
|
90 |
|
91 |
$app->addAdminAjaxAction('fluentform-settings-formSettings-store', function () use ($app) {
|
92 |
+
Acl::verify('fluentform_forms_manager');
|
93 |
(new \FluentForm\App\Modules\Form\Settings\FormSettings($app))->store();
|
94 |
});
|
95 |
|
96 |
$app->addAdminAjaxAction('fluentform-settings-formSettings-remove', function () use ($app) {
|
97 |
+
Acl::verify('fluentform_forms_manager');
|
98 |
(new \FluentForm\App\Modules\Form\Settings\FormSettings($app))->remove();
|
99 |
});
|
100 |
|
101 |
$app->addAdminAjaxAction('fluentform-get-form-custom_css_js', function () {
|
102 |
+
Acl::verify('fluentform_forms_manager');
|
103 |
(new \FluentForm\App\Modules\Form\Settings\FormCssJs)->getSettingsAjax();
|
104 |
});
|
105 |
|
106 |
$app->addAdminAjaxAction('fluentform-save-form-custom_css_js', function () {
|
107 |
+
Acl::verify('fluentform_forms_manager');
|
108 |
(new \FluentForm\App\Modules\Form\Settings\FormCssJs)->saveSettingsAjax();
|
109 |
});
|
110 |
|
111 |
$app->addAdminAjaxAction('fluentform-load-editor-components', function () use ($app) {
|
112 |
+
Acl::verify('fluentform_forms_manager');
|
113 |
(new \FluentForm\App\Modules\Component\Component($app))->index();
|
114 |
});
|
115 |
|
116 |
$app->addAdminAjaxAction('fluentform-form-entry-counts', function () use ($app) {
|
117 |
+
Acl::verify('fluentform_entries_viewer');
|
118 |
(new \FluentForm\App\Modules\Entries\Entries())->getEntriesGroup();
|
119 |
});
|
120 |
|
121 |
$app->addAdminAjaxAction('fluentform-form-entries', function () use ($app) {
|
122 |
+
Acl::verify('fluentform_entries_viewer');
|
123 |
(new \FluentForm\App\Modules\Entries\Entries())->getEntries();
|
124 |
});
|
125 |
|
126 |
+
$app->addAdminAjaxAction('fluentform-form-report', function () use ($app) {
|
127 |
+
$formId = intval($_REQUEST['form_id']);
|
128 |
+
Acl::verify('fluentform_entries_viewer', $formId);
|
129 |
+
(new \FluentForm\App\Modules\Entries\Report($app))->getReport($formId);
|
130 |
+
});
|
131 |
+
|
132 |
$app->addAdminAjaxAction('fluentform-form-entries-export', function () use ($app) {
|
133 |
+
Acl::verify('fluentform_entries_viewer');
|
134 |
(new \FluentForm\App\Modules\Entries\Export($app))->index();
|
135 |
});
|
136 |
|
137 |
$app->addAdminAjaxAction('fluentform-get-entry', function () use ($app) {
|
138 |
+
Acl::verify('fluentform_entries_viewer');
|
139 |
(new \FluentForm\App\Modules\Entries\Entries())->getEntry();
|
140 |
});
|
141 |
|
142 |
$app->addAdminAjaxAction('fluentform-get-entry-notes', function () use ($app) {
|
143 |
+
Acl::verify('fluentform_entries_viewer');
|
144 |
(new \FluentForm\App\Modules\Entries\Entries())->getNotes();
|
145 |
});
|
146 |
|
147 |
$app->addAdminAjaxAction('fluentform-add-entry-note', function () use ($app) {
|
148 |
+
Acl::verify('fluentform_entries_viewer');
|
149 |
(new \FluentForm\App\Modules\Entries\Entries())->addNote();
|
150 |
});
|
151 |
|
152 |
$app->addAdminAjaxAction('fluentform-change-entry-status', function () use ($app) {
|
153 |
+
Acl::verify('fluentform_entries_viewer');
|
154 |
(new \FluentForm\App\Modules\Entries\Entries())->changeEntryStatus();
|
155 |
});
|
156 |
|
157 |
$app->addAdminAjaxAction('fluentform-delete-entry', function () use ($app) {
|
158 |
+
Acl::verify('fluentform_entries_viewer');
|
159 |
(new \FluentForm\App\Modules\Entries\Entries())->deleteEntry();
|
160 |
});
|
161 |
|
162 |
$app->addAdminAjaxAction('fluentform-change-entry-favorites', function () use ($app) {
|
163 |
+
Acl::verify('fluentform_entries_viewer');
|
164 |
(new \FluentForm\App\Modules\Entries\Entries())->favoriteChange();
|
165 |
});
|
166 |
|
167 |
$app->addAdminAjaxAction('fluentform-do_entry_bulk_actions', function () use ($app) {
|
168 |
+
Acl::verify('fluentform_entries_viewer');
|
169 |
(new \FluentForm\App\Modules\Entries\Entries())->handleBulkAction();
|
170 |
});
|
171 |
|
172 |
$app->addAdminAjaxAction('fluentform-get-extra-form-settings', function () use ($app) {
|
173 |
+
Acl::verify('fluentform_forms_manager');
|
174 |
(new FluentForm\App\Modules\Form\Settings\ExtraSettings($app))->getExtraSettingNavs();
|
175 |
});
|
176 |
|
177 |
$app->addAdminAjaxAction('fluentform-get-form-settings-extra-component', function () use ($app) {
|
178 |
+
Acl::verify('fluentform_forms_manager');
|
179 |
(new FluentForm\App\Modules\Form\Settings\ExtraSettings($app))->getExtraSettingsComponent();
|
180 |
});
|
181 |
|
182 |
$app->addAdminAjaxAction(
|
183 |
'fluentform-get-pages',
|
184 |
function () {
|
185 |
+
Acl::verify('fluentform_forms_manager');
|
186 |
|
187 |
$pages = get_pages();
|
188 |
$formattedPages = [];
|
202 |
);
|
203 |
|
204 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
205 |
$app->addAdminAjaxAction('fluentform_notice_action_track_yes', function () use ($app) {
|
206 |
+
Acl::hasAnyFormPermission();
|
207 |
(new FluentForm\App\Modules\Track\TrackModule())->sendInitialInfo();
|
208 |
});
|
209 |
|
210 |
// Export forms
|
211 |
$app->addAdminAjaxAction('fluentform-export-forms', function () use ($app) {
|
212 |
+
Acl::verify('fluentform_settings_manager');
|
213 |
(new \FluentForm\App\Modules\Form\Transfer($app))->export();
|
214 |
});
|
215 |
|
216 |
// Import forms
|
217 |
$app->addAdminAjaxAction('fluentform-import-forms', function () use ($app) {
|
218 |
+
Acl::verify('fluentform_settings_manager');
|
219 |
(new \FluentForm\App\Modules\Form\Transfer($app))->import();
|
220 |
});
|
221 |
|
222 |
$app->addAdminAjaxAction('fluentform-get-all-forms', function () use ($app) {
|
223 |
+
Acl::verify(['fluentform_settings_manager', 'fluentform_forms_manager']);
|
224 |
(new \FluentForm\App\Modules\Form\Form($app))->getAllForms();
|
225 |
});
|
226 |
|
227 |
// Fetch simplified information for all predefined forms
|
228 |
$app->addAdminAjaxAction('fluentform-predefined-forms', function () use ($app) {
|
229 |
+
Acl::hasAnyFormPermission();
|
230 |
(new \FluentForm\App\Modules\Form\Predefined($app))->all();
|
231 |
});
|
232 |
|
233 |
// Create a form by predefined data
|
234 |
$app->addAdminAjaxAction('fluentform-predefined-create', function () use ($app) {
|
235 |
+
Acl::verify('fluentform_forms_manager');
|
236 |
(new \FluentForm\App\Modules\Form\Predefined($app))->create();
|
237 |
});
|
238 |
|
242 |
*/
|
243 |
if (fluentFormIsHandlingSubmission()) {
|
244 |
(new FluentForm\App\Services\Integrations\Slack\SlackNotificationActions($app))->register();
|
|
|
245 |
}
|
246 |
|
|
|
247 |
// Permission settings
|
248 |
$app->addAdminAjaxAction('fluentform_get_access_roles', function () {
|
249 |
+
Acl::verify('fluentform_full_access');
|
250 |
$roleManager = new \FluentForm\App\Modules\Acl\RoleManager();
|
251 |
$roleManager->getRoles();
|
252 |
});
|
253 |
|
254 |
$app->addAdminAjaxAction('fluentform_set_access_roles', function () {
|
255 |
+
Acl::verify('fluentform_full_access');
|
256 |
$roleManager = new \FluentForm\App\Modules\Acl\RoleManager();
|
257 |
$roleManager->setRoles();
|
258 |
});
|
259 |
+
|
260 |
+
|
261 |
+
// General Integration Settings Here
|
262 |
+
$app->addAdminAjaxAction('fluentform_get_global_integration_settings', function () use ($app) {
|
263 |
+
Acl::verify('fluentform_settings_manager');
|
264 |
+
$globalIntegrationManager = new \FluentForm\App\Services\Integrations\GlobalIntegrationManager($app);
|
265 |
+
$globalIntegrationManager->getGlobalSettingsAjax();
|
266 |
+
});
|
267 |
+
|
268 |
+
$app->addAdminAjaxAction('fluentform_post_global_integration_settings', function () use ($app) {
|
269 |
+
Acl::verify('fluentform_forms_manager');
|
270 |
+
$globalIntegrationManager = new \FluentForm\App\Services\Integrations\GlobalIntegrationManager($app);
|
271 |
+
$globalIntegrationManager->saveGlobalSettingsAjax();
|
272 |
+
});
|
273 |
+
|
274 |
+
$app->addAdminAjaxAction('fluentform_get_all-general-integration-feeds', function () use ($app) {
|
275 |
+
Acl::verify('fluentform_forms_manager');
|
276 |
+
$globalIntegrationManager = new \FluentForm\App\Services\Integrations\GlobalIntegrationManager($app);
|
277 |
+
$globalIntegrationManager->getAllFormIntegrations();
|
278 |
+
});
|
279 |
+
|
280 |
+
$app->addAdminAjaxAction('fluentform_post_update_form_integration_status', function () use ($app) {
|
281 |
+
Acl::verify('fluentform_forms_manager');
|
282 |
+
$globalIntegrationManager = new \FluentForm\App\Services\Integrations\GlobalIntegrationManager($app);
|
283 |
+
$globalIntegrationManager->updateNotificationStatus();
|
284 |
+
});
|
285 |
+
|
286 |
+
$app->addAdminAjaxAction('fluentform_get_form_integration_settings', function () use ($app) {
|
287 |
+
Acl::verify('fluentform_forms_manager');
|
288 |
+
$globalIntegrationManager = new \FluentForm\App\Services\Integrations\GlobalIntegrationManager($app);
|
289 |
+
$globalIntegrationManager->getIntegrationSettings();
|
290 |
+
});
|
291 |
+
$app->addAdminAjaxAction('fluentform_post_form_integration_settings', function () use ($app) {
|
292 |
+
Acl::verify('fluentform_forms_manager');
|
293 |
+
$globalIntegrationManager = new \FluentForm\App\Services\Integrations\GlobalIntegrationManager($app);
|
294 |
+
$globalIntegrationManager->saveIntegrationSettings();
|
295 |
+
});
|
296 |
+
$app->addAdminAjaxAction('fluentform-delete-general_integration_feed', function () use ($app) {
|
297 |
+
Acl::verify('fluentform_forms_manager');
|
298 |
+
$globalIntegrationManager = new \FluentForm\App\Services\Integrations\GlobalIntegrationManager($app);
|
299 |
+
$globalIntegrationManager->deleteIntegrationFeed();
|
300 |
+
});
|
301 |
+
|
302 |
+
$app->addAdminAjaxAction('fluentform_get_form_integration_list', function () use ($app) {
|
303 |
+
Acl::verify('fluentform_forms_manager');
|
304 |
+
$globalIntegrationManager = new \FluentForm\App\Services\Integrations\GlobalIntegrationManager($app);
|
305 |
+
$globalIntegrationManager->getIntegrationList();
|
306 |
+
});
|
307 |
+
|
308 |
+
$app->addAdminAjaxAction('fluentform_update_modules', function () {
|
309 |
+
Acl::verify('fluentform_settings_manager');
|
310 |
+
return (new \FluentForm\App\Modules\AddOnModule())->updateAddOnsStatus();
|
311 |
+
});
|
app/Hooks/Backend.php
CHANGED
@@ -19,7 +19,7 @@ $app->addAction('media_buttons', function () {
|
|
19 |
});
|
20 |
|
21 |
$app->addAction('fluentform_addons_page_render_fluentform_add_ons', function () {
|
22 |
-
|
23 |
});
|
24 |
|
25 |
|
@@ -32,23 +32,93 @@ add_filter('pre_set_site_transient_update_plugins', function ($updates) {
|
|
32 |
return $updates;
|
33 |
}, 999, 1);
|
34 |
|
35 |
-
|
36 |
-
$roleManager = new \FluentForm\App\Modules\Acl\RoleManager();
|
37 |
-
$roleManager->verifyPermissionSet();
|
38 |
-
});
|
39 |
|
40 |
$app->addAction('fluentform_global_menu', function () use ($app) {
|
41 |
$menu = new \FluentForm\App\Modules\Registerer\Menu($app);
|
42 |
$menu->renderGlobalMenu();
|
43 |
-
|
|
|
|
|
|
|
|
|
|
|
44 |
|
|
|
45 |
|
46 |
$app->addAction('wp_dashboard_setup', function () {
|
47 |
$roleManager = new \FluentForm\App\Modules\Acl\RoleManager();
|
48 |
-
if(!$roleManager->currentUserFormFormCapability()) {
|
49 |
return;
|
50 |
}
|
51 |
wp_add_dashboard_widget('fluenform_stat_widget', __('FluentForm Latest Form Submissions', 'fluentform'), function () {
|
52 |
(new \FluentForm\App\Modules\DashboardWidgetModule)->showStat();
|
53 |
}, 10, 1);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
});
|
19 |
});
|
20 |
|
21 |
$app->addAction('fluentform_addons_page_render_fluentform_add_ons', function () {
|
22 |
+
(new \FluentForm\App\Modules\AddOnModule())->showFluentAddOns();
|
23 |
});
|
24 |
|
25 |
|
32 |
return $updates;
|
33 |
}, 999, 1);
|
34 |
|
35 |
+
//$app->addAction('admin_init', function () {
|
36 |
+
// $roleManager = new \FluentForm\App\Modules\Acl\RoleManager();
|
37 |
+
// $roleManager->verifyPermissionSet();
|
38 |
+
//});
|
39 |
|
40 |
$app->addAction('fluentform_global_menu', function () use ($app) {
|
41 |
$menu = new \FluentForm\App\Modules\Registerer\Menu($app);
|
42 |
$menu->renderGlobalMenu();
|
43 |
+
/*
|
44 |
+
* Checking global addon migration
|
45 |
+
* This temporary. We will remove this code at 2010
|
46 |
+
*/
|
47 |
+
$activator = new \FluentForm\App\Modules\Activator();
|
48 |
+
$activator->migrateGlobalAddOns();
|
49 |
|
50 |
+
});
|
51 |
|
52 |
$app->addAction('wp_dashboard_setup', function () {
|
53 |
$roleManager = new \FluentForm\App\Modules\Acl\RoleManager();
|
54 |
+
if (!$roleManager->currentUserFormFormCapability()) {
|
55 |
return;
|
56 |
}
|
57 |
wp_add_dashboard_widget('fluenform_stat_widget', __('FluentForm Latest Form Submissions', 'fluentform'), function () {
|
58 |
(new \FluentForm\App\Modules\DashboardWidgetModule)->showStat();
|
59 |
}, 10, 1);
|
60 |
+
});
|
61 |
+
|
62 |
+
add_action('admin_init', function () {
|
63 |
+
$disablePages = [
|
64 |
+
'fluent_forms',
|
65 |
+
'fluent_forms_transfer',
|
66 |
+
'fluent_forms_settings',
|
67 |
+
'fluent_form_add_ons',
|
68 |
+
'fluent_forms_docs'
|
69 |
+
];
|
70 |
+
if (isset($_GET['page']) && in_array($_GET['page'], $disablePages)) {
|
71 |
+
remove_all_actions('admin_notices');
|
72 |
+
}
|
73 |
+
|
74 |
+
/*
|
75 |
+
* We will remove this in upcoming versions
|
76 |
+
*/
|
77 |
+
$activator = new \FluentForm\App\Modules\Activator();
|
78 |
+
$activator->maybeMigrateDB();
|
79 |
+
|
80 |
+
});
|
81 |
+
|
82 |
+
/*
|
83 |
+
* Current HardCoded Notice Here
|
84 |
+
*/
|
85 |
+
add_filter('fluentform_dashboard_notices', function ($notices) {
|
86 |
+
if (defined('FLUENTFORMPRO')) {
|
87 |
+
$firstForm = wpFluent()->table('fluentform_forms')->first();
|
88 |
+
if ($firstForm) {
|
89 |
+
|
90 |
+
|
91 |
+
$startTimeStamp = 1571047810;
|
92 |
+
$endTimeStamp1 = 1571699455;
|
93 |
+
$endTimeStamp2 = 1572304255;
|
94 |
+
|
95 |
+
if(time() < $startTimeStamp || time() > $endTimeStamp2) {
|
96 |
+
return $notices;
|
97 |
+
}
|
98 |
+
|
99 |
+
if ($startTimeStamp > $endTimeStamp1) {
|
100 |
+
$timeDiff = $endTimeStamp2 - $startTimeStamp;
|
101 |
+
} else {
|
102 |
+
$timeDiff = $endTimeStamp1 - $startTimeStamp;
|
103 |
+
}
|
104 |
+
|
105 |
+
if ($timeDiff > 1) {
|
106 |
+
$days = intval($timeDiff / 86400);
|
107 |
+
if ($days > 1) {
|
108 |
+
$days = $days . ' days';
|
109 |
+
} else {
|
110 |
+
$days = '1 day';
|
111 |
+
}
|
112 |
+
} else {
|
113 |
+
return $notices;
|
114 |
+
}
|
115 |
+
|
116 |
+
$notices['promo'] = [
|
117 |
+
'type' => 'info',
|
118 |
+
'message' => '<div style="text-align: center;"><h4><b>Special Offer:</b> Get LIFETIME deal for WP Fluent Forms Pro. 25 sites licnese for lifetime only for $49.<br/>Deal will expire in ' . $days . '</h4><a class="el-button el-button--danger el-button--small" href="https://wpmanageninja.com/fluentform-deal?from=fluentform">Get The Deal</a> </div>'
|
119 |
+
];
|
120 |
+
}
|
121 |
+
|
122 |
+
}
|
123 |
+
return $notices;
|
124 |
});
|
app/Hooks/Common.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
|
|
2 |
use FluentForm\App\Modules\Component\Component;
|
|
|
3 |
/**
|
4 |
* Declare common actions/filters/shortcodes
|
5 |
*/
|
@@ -19,145 +21,149 @@ $component = new \FluentForm\App\Modules\Component\Component($app);
|
|
19 |
$component->addFluentformSubmissionInsertedFilter();
|
20 |
$component->addIsRenderableFilter();
|
21 |
|
22 |
-
$app->addAction('
|
23 |
-
|
|
|
|
|
24 |
});
|
25 |
|
|
|
26 |
$elements = [
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
];
|
36 |
|
37 |
foreach ($elements as $element) {
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
}
|
62 |
|
63 |
$app->addFilter('fluentform_response_render_input_repeat', function ($response, $field, $form_id) {
|
64 |
-
|
65 |
}, 10, 3);
|
66 |
|
67 |
$app->addFilter('fluentform_response_render_tabular_grid', function ($response, $field, $form_id) {
|
68 |
-
|
69 |
}, 10, 3);
|
70 |
|
71 |
$app->addFilter('fluentform_response_render_input_name', function ($response) {
|
72 |
-
|
73 |
}, 10, 1);
|
74 |
|
75 |
-
$app->addFilter('fluentform_filter_insert_data', function($data) {
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
});
|
86 |
|
87 |
|
88 |
// Register api response log hooks
|
89 |
$app->addAction(
|
90 |
-
|
91 |
-
|
92 |
);
|
93 |
|
94 |
$app->addAction(
|
95 |
-
|
96 |
-
|
97 |
);
|
98 |
|
99 |
-
function fluentform_after_submission_api_response_success($form, $entryId, $data, $feed, $res, $msg = '')
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
|
|
118 |
}
|
119 |
|
120 |
-
function fluentform_after_submission_api_response_failed($form, $entryId, $data, $feed, $res, $msg = '')
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
|
|
139 |
}
|
140 |
|
141 |
|
142 |
$app->bindInstance(
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
);
|
148 |
|
149 |
|
150 |
-
$app->addAction('shutdown', function() use ($app) {
|
151 |
$fluentFormAsyncRequest = $app['fluentFormAsyncRequest'];
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
});
|
156 |
|
157 |
-
|
158 |
$app->addFilter('fluentform-disabled_analytics', function ($status) {
|
159 |
$settings = get_option('_fluentform_global_form_settings');
|
160 |
-
if(isset($settings['misc']['isAnalyticsDisabled']) && $settings['misc']['isAnalyticsDisabled']) {
|
161 |
return true;
|
162 |
}
|
163 |
return $status;
|
@@ -170,3 +176,17 @@ $app->addAction('fluentform_before_form_render', function ($form) {
|
|
170 |
$app->addAction('fluentform_after_form_render', function ($form) {
|
171 |
(new \FluentForm\App\Modules\Form\Settings\FormCssJs)->addCss($form);
|
172 |
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
<?php
|
2 |
+
|
3 |
use FluentForm\App\Modules\Component\Component;
|
4 |
+
|
5 |
/**
|
6 |
* Declare common actions/filters/shortcodes
|
7 |
*/
|
21 |
$component->addFluentformSubmissionInsertedFilter();
|
22 |
$component->addIsRenderableFilter();
|
23 |
|
24 |
+
$app->addAction('wp', function () use ($app) {
|
25 |
+
if (isset($_GET['fluentform_pages']) && $_GET['fluentform_pages'] == 1) {
|
26 |
+
(new \FluentForm\App\Modules\ProcessExteriorModule())->handleExteriorPages();
|
27 |
+
}
|
28 |
});
|
29 |
|
30 |
+
|
31 |
$elements = [
|
32 |
+
'select',
|
33 |
+
'input_checkbox',
|
34 |
+
'input_image',
|
35 |
+
'input_file',
|
36 |
+
'address',
|
37 |
+
'select_country',
|
38 |
+
'gdpr_agreement',
|
39 |
+
'terms_and_condition',
|
40 |
];
|
41 |
|
42 |
foreach ($elements as $element) {
|
43 |
+
$event = 'fluentform_response_render_' . $element;
|
44 |
+
$app->addFilter($event, function ($response, $field, $form_id) {
|
45 |
+
|
46 |
+
if ($field['element'] == 'address' && isset($response->country)) {
|
47 |
+
$countryList = getFluentFormCountryList();
|
48 |
+
if (isset($countryList[$response->country])) {
|
49 |
+
$response->country = $countryList[$response->country];
|
50 |
+
}
|
51 |
+
}
|
52 |
+
|
53 |
+
if ($field['element'] == 'select_country') {
|
54 |
+
$countryList = getFluentFormCountryList();
|
55 |
+
if (isset($countryList[$response])) {
|
56 |
+
$response = $countryList[$response];
|
57 |
+
}
|
58 |
+
}
|
59 |
+
|
60 |
+
if (in_array($field['element'], array('gdpr_agreement', 'terms_and_condition'))) {
|
61 |
+
$response = 'Accepted';
|
62 |
+
}
|
63 |
+
|
64 |
+
return \FluentForm\App\Modules\Form\FormDataParser::formatValue($response);
|
65 |
+
}, 10, 3);
|
66 |
}
|
67 |
|
68 |
$app->addFilter('fluentform_response_render_input_repeat', function ($response, $field, $form_id) {
|
69 |
+
return \FluentForm\App\Modules\Form\FormDataParser::formatRepeatFieldValue($response, $field, $form_id);
|
70 |
}, 10, 3);
|
71 |
|
72 |
$app->addFilter('fluentform_response_render_tabular_grid', function ($response, $field, $form_id) {
|
73 |
+
return \FluentForm\App\Modules\Form\FormDataParser::formatTabularGridFieldValue($response, $field, $form_id);
|
74 |
}, 10, 3);
|
75 |
|
76 |
$app->addFilter('fluentform_response_render_input_name', function ($response) {
|
77 |
+
return \FluentForm\App\Modules\Form\FormDataParser::formatName($response);
|
78 |
}, 10, 1);
|
79 |
|
80 |
+
$app->addFilter('fluentform_filter_insert_data', function ($data) {
|
81 |
+
$settings = get_option('_fluentform_global_form_settings', false);
|
82 |
+
if (is_array($settings) && isset($settings['misc'])) {
|
83 |
+
if (isset($settings['misc']['isIpLogingDisabled'])) {
|
84 |
+
if ($settings['misc']['isIpLogingDisabled']) {
|
85 |
+
unset($data['ip']);
|
86 |
+
}
|
87 |
+
}
|
88 |
+
}
|
89 |
+
return $data;
|
90 |
});
|
91 |
|
92 |
|
93 |
// Register api response log hooks
|
94 |
$app->addAction(
|
95 |
+
'fluentform_after_submission_api_response_success',
|
96 |
+
'fluentform_after_submission_api_response_success', 10, 6
|
97 |
);
|
98 |
|
99 |
$app->addAction(
|
100 |
+
'fluentform_after_submission_api_response_failed',
|
101 |
+
'fluentform_after_submission_api_response_failed', 10, 6
|
102 |
);
|
103 |
|
104 |
+
function fluentform_after_submission_api_response_success($form, $entryId, $data, $feed, $res, $msg = '')
|
105 |
+
{
|
106 |
+
try {
|
107 |
+
|
108 |
+
$isDev = wpFluentForm()->getEnv() != 'production';
|
109 |
+
if (!apply_filters('fluentform_api_success_log', $isDev, $form, $feed)) return;
|
110 |
+
|
111 |
+
wpFluent()->table('fluentform_submission_meta')->insert([
|
112 |
+
'response_id' => $entryId,
|
113 |
+
'form_id' => $form->id,
|
114 |
+
'meta_key' => 'api_log',
|
115 |
+
'value' => $msg,
|
116 |
+
'name' => $feed->formattedValue['name'],
|
117 |
+
'status' => 'success',
|
118 |
+
'created_at' => date('Y-m-d H:i:s'),
|
119 |
+
'updated_at' => date('Y-m-d H:i:s')
|
120 |
+
]);
|
121 |
+
} catch (Exception $e) {
|
122 |
+
error_log($e->getMessage());
|
123 |
+
}
|
124 |
}
|
125 |
|
126 |
+
function fluentform_after_submission_api_response_failed($form, $entryId, $data, $feed, $res, $msg = '')
|
127 |
+
{
|
128 |
+
try {
|
129 |
+
|
130 |
+
$isDev = wpFluentForm()->getEnv() != 'production';
|
131 |
+
if (!apply_filters('fluentform_api_failed_log', $isDev, $form, $feed)) return;
|
132 |
+
|
133 |
+
wpFluent()->table('fluentform_submission_meta')->insert([
|
134 |
+
'response_id' => $entryId,
|
135 |
+
'form_id' => $form->id,
|
136 |
+
'meta_key' => 'api_log',
|
137 |
+
'value' => json_encode($res),
|
138 |
+
'name' => $feed->formattedValue['name'],
|
139 |
+
'status' => 'failed',
|
140 |
+
'created_at' => date('Y-m-d H:i:s'),
|
141 |
+
'updated_at' => date('Y-m-d H:i:s'),
|
142 |
+
]);
|
143 |
+
} catch (Exception $e) {
|
144 |
+
error_log($e->getMessage());
|
145 |
+
}
|
146 |
}
|
147 |
|
148 |
|
149 |
$app->bindInstance(
|
150 |
+
'fluentFormAsyncRequest',
|
151 |
+
new \FluentForm\App\Services\WPAsync\FluentFormAsyncRequest($app),
|
152 |
+
'FluentFormAsyncRequest',
|
153 |
+
'FluentForm\App\Services\WPAsync\FluentFormAsyncRequest'
|
154 |
);
|
155 |
|
156 |
|
157 |
+
$app->addAction('shutdown', function () use ($app) {
|
158 |
$fluentFormAsyncRequest = $app['fluentFormAsyncRequest'];
|
159 |
+
if ($fluentFormAsyncRequest->hasActions()) {
|
160 |
+
$fluentFormAsyncRequest->dispatch();
|
161 |
+
}
|
162 |
});
|
163 |
|
|
|
164 |
$app->addFilter('fluentform-disabled_analytics', function ($status) {
|
165 |
$settings = get_option('_fluentform_global_form_settings');
|
166 |
+
if (isset($settings['misc']['isAnalyticsDisabled']) && $settings['misc']['isAnalyticsDisabled']) {
|
167 |
return true;
|
168 |
}
|
169 |
return $status;
|
176 |
$app->addAction('fluentform_after_form_render', function ($form) {
|
177 |
(new \FluentForm\App\Modules\Form\Settings\FormCssJs)->addCss($form);
|
178 |
});
|
179 |
+
|
180 |
+
$app->addAction('fluentform_submission_inserted', function ($insertId, $formData, $form) use ($app) {
|
181 |
+
$notificationManager = new \FluentForm\App\Services\Integrations\GlobalNotificationManager($app);
|
182 |
+
$notificationManager->globalNotify($insertId, $formData, $form);
|
183 |
+
}, 10, 3);
|
184 |
+
|
185 |
+
$app->addAction('fluentform_async_global_notify', function ($insertId, $feedIds, $form) use ($app) {
|
186 |
+
$notificationManager = new \FluentForm\App\Services\Integrations\GlobalNotificationManager($app);
|
187 |
+
$notificationManager->handleGlobalAsyncNotifications($insertId, $feedIds, $form);
|
188 |
+
}, 10, 3);
|
189 |
+
|
190 |
+
$app->addAction('init', function () use ($app) {
|
191 |
+
new \FluentForm\App\Services\Integrations\MailChimp\MailChimpIntegration($app);
|
192 |
+
});
|
app/Hooks/Frontend.php
CHANGED
@@ -4,11 +4,10 @@
|
|
4 |
* Declare frontend actions/filters/shortcodes
|
5 |
*/
|
6 |
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
}
|
4 |
* Declare frontend actions/filters/shortcodes
|
5 |
*/
|
6 |
|
7 |
+
//if ($app->getEnv() == 'dev') {
|
8 |
+
// add_filter('init', function() use ($app) {
|
9 |
+
// if ($header = $app->request->header('X-HOOK')) {
|
10 |
+
// error_log($header);
|
11 |
+
// }
|
12 |
+
// });
|
13 |
+
//}
|
|
app/Modules/Acl/Acl.php
CHANGED
@@ -4,18 +4,17 @@ namespace FluentForm\App\Modules\Acl;
|
|
4 |
|
5 |
class Acl
|
6 |
{
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
/**
|
20 |
* Fluentform access controll permissions assignment.
|
21 |
*/
|
@@ -57,10 +56,10 @@ class Acl
|
|
57 |
$formId = null,
|
58 |
$message = 'You do not have permission to perform this action.',
|
59 |
$json = true
|
60 |
-
)
|
61 |
-
|
62 |
-
|
63 |
-
if (
|
64 |
if ($json) {
|
65 |
wp_send_json_error([
|
66 |
'message' => $message
|
@@ -70,21 +69,39 @@ class Acl
|
|
70 |
}
|
71 |
}
|
72 |
}
|
73 |
-
|
74 |
public static function hasPermission($permission, $formId = false)
|
75 |
{
|
76 |
-
|
77 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
78 |
}
|
79 |
-
|
80 |
-
public static function hasAnyFormPermission($form_id = false
|
81 |
{
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
}
|
90 |
}
|
4 |
|
5 |
class Acl
|
6 |
{
|
7 |
+
public static function getPermissionSet()
|
8 |
+
{
|
9 |
+
return apply_filters('fluentform_permission_set', [
|
10 |
+
'fluentform_full_access',
|
11 |
+
'fluentform_settings_manager',
|
12 |
+
'fluentform_dashboard_access',
|
13 |
+
'fluentform_forms_manager',
|
14 |
+
'fluentform_entries_viewer',
|
15 |
+
]);
|
16 |
+
}
|
17 |
+
|
|
|
18 |
/**
|
19 |
* Fluentform access controll permissions assignment.
|
20 |
*/
|
56 |
$formId = null,
|
57 |
$message = 'You do not have permission to perform this action.',
|
58 |
$json = true
|
59 |
+
)
|
60 |
+
{
|
61 |
+
$allowed = self::hasPermission($permission, $formId);
|
62 |
+
if (!$allowed) {
|
63 |
if ($json) {
|
64 |
wp_send_json_error([
|
65 |
'message' => $message
|
69 |
}
|
70 |
}
|
71 |
}
|
72 |
+
|
73 |
public static function hasPermission($permission, $formId = false)
|
74 |
{
|
75 |
+
if (current_user_can('fluentform_full_access')) {
|
76 |
+
return true;
|
77 |
+
}
|
78 |
+
|
79 |
+
$allowed = current_user_can('fluentform_full_access');
|
80 |
+
if ($allowed) {
|
81 |
+
return true;
|
82 |
+
}
|
83 |
+
|
84 |
+
if (is_array($permission)) {
|
85 |
+
foreach ($permission as $eachPermission) {
|
86 |
+
$allowed = current_user_can($eachPermission);
|
87 |
+
if ($allowed) {
|
88 |
+
return apply_filters('fluentform_verify_user_permission_' . $eachPermission, $allowed, $formId);
|
89 |
+
}
|
90 |
+
}
|
91 |
+
}
|
92 |
+
|
93 |
+
$allowed = current_user_can($permission);
|
94 |
+
return apply_filters('fluentform_verify_user_permission_' . $permission, $allowed, $formId);
|
95 |
}
|
96 |
+
|
97 |
+
public static function hasAnyFormPermission($form_id = false)
|
98 |
{
|
99 |
+
$allPermissions = self::getPermissionSet();
|
100 |
+
foreach ($allPermissions as $permission) {
|
101 |
+
if (self::hasPermission($permission, $form_id)) {
|
102 |
+
return true;
|
103 |
+
}
|
104 |
+
}
|
105 |
+
return false;
|
106 |
}
|
107 |
}
|
app/Modules/Activator.php
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
<?php
|
2 |
namespace FluentForm\App\Modules;
|
3 |
|
|
|
4 |
use FluentForm\App\Modules\Acl\Acl;
|
5 |
use FluentForm\App\Databases\DatabaseMigrator;
|
6 |
|
@@ -37,11 +38,66 @@ class Activator
|
|
37 |
DatabaseMigrator::run();
|
38 |
// Assign fluentform permission set.
|
39 |
Acl::setPermissions();
|
40 |
-
|
41 |
$this->setDefaultGlobalSettings();
|
42 |
$this->setCurrentVersion();
|
|
|
43 |
}
|
44 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
|
46 |
private function setDefaultGlobalSettings()
|
47 |
{
|
1 |
<?php
|
2 |
namespace FluentForm\App\Modules;
|
3 |
|
4 |
+
use FluentForm\App\Databases\Migrations\FormSubmissionDetails;
|
5 |
use FluentForm\App\Modules\Acl\Acl;
|
6 |
use FluentForm\App\Databases\DatabaseMigrator;
|
7 |
|
38 |
DatabaseMigrator::run();
|
39 |
// Assign fluentform permission set.
|
40 |
Acl::setPermissions();
|
|
|
41 |
$this->setDefaultGlobalSettings();
|
42 |
$this->setCurrentVersion();
|
43 |
+
$this->maybeMigrateDB();
|
44 |
}
|
45 |
|
46 |
+
public function maybeMigrateDB()
|
47 |
+
{
|
48 |
+
// First we have to check if global modules is set or not
|
49 |
+
$this->migrateGlobalAddOns();
|
50 |
+
|
51 |
+
if(!get_option('fluentform_entry_details_migrated')) {
|
52 |
+
FormSubmissionDetails::migrate();
|
53 |
+
}
|
54 |
+
|
55 |
+
}
|
56 |
+
|
57 |
+
public function migrateGlobalAddOns()
|
58 |
+
{
|
59 |
+
$globalModules = get_option('fluentform_global_modules_status');
|
60 |
+
// Modules already set
|
61 |
+
if(is_array($globalModules)) {
|
62 |
+
return;
|
63 |
+
}
|
64 |
+
|
65 |
+
$possibleGloablModules = [
|
66 |
+
'mailchimp' => '_fluentform_mailchimp_details',
|
67 |
+
'activecampaign' => '_fluentform_activecampaign_settings',
|
68 |
+
'campaign_monitor' => '_fluentform_campaignmonitor_settings',
|
69 |
+
'constatantcontact' => '_fluentform_constantcontact_settings',
|
70 |
+
'getresponse' => '_fluentform_getresponse_settings',
|
71 |
+
'icontact' => '_fluentform_icontact_settings'
|
72 |
+
];
|
73 |
+
|
74 |
+
$possibleMetaModules = [
|
75 |
+
'webhook' => 'fluentform_webhook_feed',
|
76 |
+
'zapier' => 'fluentform_zapier_feed',
|
77 |
+
'slack' => 'slack'
|
78 |
+
];
|
79 |
+
|
80 |
+
$moduleStatuses = [];
|
81 |
+
foreach ($possibleGloablModules as $moduleName => $settingsKey)
|
82 |
+
{
|
83 |
+
if(get_option($settingsKey)) {
|
84 |
+
$moduleStatuses[$moduleName] = 'yes';
|
85 |
+
} else {
|
86 |
+
$moduleStatuses[$moduleName] = 'no';
|
87 |
+
}
|
88 |
+
}
|
89 |
+
|
90 |
+
global $wpdb;
|
91 |
+
foreach ($possibleMetaModules as $moduleName => $metaName) {
|
92 |
+
$row = $wpdb->get_row("SELECT * FROM {$wpdb->prefix}fluentform_form_meta WHERE meta_key = {$metaName} LIMIT 1");
|
93 |
+
if($row) {
|
94 |
+
$moduleStatuses[$moduleName] = 'yes';
|
95 |
+
} else {
|
96 |
+
$moduleStatuses[$moduleName] = 'no';
|
97 |
+
}
|
98 |
+
}
|
99 |
+
update_option('fluentform_global_modules_status', $moduleStatuses);
|
100 |
+
}
|
101 |
|
102 |
private function setDefaultGlobalSettings()
|
103 |
{
|
app/Modules/AddOnModule.php
CHANGED
@@ -40,7 +40,7 @@ class AddOnModule
|
|
40 |
'fluentform-add-ons',
|
41 |
App::publicUrl('css/add-ons.css'),
|
42 |
[],
|
43 |
-
|
44 |
'all'
|
45 |
);
|
46 |
|
@@ -56,68 +56,140 @@ class AddOnModule
|
|
56 |
*/
|
57 |
public function showFluentAddOns()
|
58 |
{
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
|
67 |
-
|
68 |
-
* Get the add-ons from the appropriate source
|
69 |
-
* e.g. `options` table or, remote server.
|
70 |
-
*
|
71 |
-
* @return array $addOns
|
72 |
-
*/
|
73 |
-
private function getAddOns()
|
74 |
-
{
|
75 |
-
$addOns = get_option('__fluentform_add_ons');
|
76 |
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
|
|
|
|
|
|
|
|
|
|
82 |
|
83 |
-
|
|
|
|
|
|
|
84 |
|
85 |
-
|
|
|
86 |
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
// Since the add-ons are not present in the options
|
92 |
-
// table we need to fetch it from the remote server.
|
93 |
-
$addOns = $this->prepareAddOnsFromRemoteServer();
|
94 |
-
}
|
95 |
|
96 |
-
|
|
|
|
|
97 |
}
|
98 |
|
99 |
-
|
100 |
-
* Request to the remote server to fetch the add-ons,
|
101 |
-
* then store it to the options table for caching.
|
102 |
-
*
|
103 |
-
* @return array $addOns
|
104 |
-
*/
|
105 |
-
private function prepareAddOnsFromRemoteServer()
|
106 |
{
|
107 |
-
$
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
122 |
}
|
123 |
}
|
40 |
'fluentform-add-ons',
|
41 |
App::publicUrl('css/add-ons.css'),
|
42 |
[],
|
43 |
+
FLUENTFORM_VERSION,
|
44 |
'all'
|
45 |
);
|
46 |
|
56 |
*/
|
57 |
public function showFluentAddOns()
|
58 |
{
|
59 |
+
wp_enqueue_script(
|
60 |
+
'fluentform-modules',
|
61 |
+
App::publicUrl('js/modules.js'),
|
62 |
+
['jquery'],
|
63 |
+
FLUENTFORM_VERSION,
|
64 |
+
true
|
65 |
+
);
|
66 |
|
67 |
+
$addOns = apply_filters('fluentform_global_addons', []);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
68 |
|
69 |
+
$addOns['slack'] = [
|
70 |
+
'title' => 'Slack',
|
71 |
+
'description' => 'Get realtime notification in slack channel when a new submission will be added',
|
72 |
+
'logo' => App::publicUrl('img/integrations/slack.png'),
|
73 |
+
'enabled' => App\Helpers\Helper::isSlackEnabled() ? 'yes' : 'no'
|
74 |
+
];
|
75 |
+
|
76 |
+
if (!defined('FLUENTFORMPRO')) {
|
77 |
+
$addOns = array_merge($addOns, $this->getPremiumAddOns());
|
78 |
+
}
|
79 |
|
80 |
+
wp_localize_script('fluentform-modules', 'fluent_addon_modules', [
|
81 |
+
'addons' => $addOns,
|
82 |
+
'has_pro' => defined('FLUENTFORMPRO')
|
83 |
+
]);
|
84 |
|
85 |
+
View::render('admin.addons.list', []);
|
86 |
+
}
|
87 |
|
88 |
+
public function updateAddOnsStatus()
|
89 |
+
{
|
90 |
+
$addons = wp_unslash($_REQUEST['addons']);
|
91 |
+
update_option('fluentform_global_modules_status', $addons);
|
|
|
|
|
|
|
|
|
92 |
|
93 |
+
wp_send_json_success([
|
94 |
+
'message' => 'Status successfully updated'
|
95 |
+
], 200);
|
96 |
}
|
97 |
|
98 |
+
private function getPremiumAddOns()
|
|
|
|
|
|
|
|
|
|
|
|
|
99 |
{
|
100 |
+
$purchaseUrl = 'https://wpmanageninja.com/downloads/fluentform-pro-add-on/';
|
101 |
+
return array(
|
102 |
+
'webhook' => array(
|
103 |
+
'title' => 'WebHook',
|
104 |
+
'description' => 'Broadcaset your WP Fluent Forms Submission to any web api endpount with powerful webhook module.',
|
105 |
+
'logo' => App::publicUrl('img/integrations/webhook.png'),
|
106 |
+
'enabled' => 'no',
|
107 |
+
'purchase_url' => $purchaseUrl
|
108 |
+
),
|
109 |
+
'zapier' => array(
|
110 |
+
'title' => 'Zapier',
|
111 |
+
'description' => 'Connect your WPFluentForms data with Zapier and push data to thousands of online softwares',
|
112 |
+
'logo' => App::publicUrl('img/integrations/zapier.png'),
|
113 |
+
'enabled' => 'no',
|
114 |
+
'purchase_url' => $purchaseUrl
|
115 |
+
),
|
116 |
+
'activecampaign' => array(
|
117 |
+
'title' => 'ActiveCampaign',
|
118 |
+
'description' => 'WP Fluent Forms ActiveCampaign Module allows you to create ActiveCampaign list signup forms in WordPress, so you can grow your email list.',
|
119 |
+
'logo' => App::publicUrl('img/integrations/activecampaign.png'),
|
120 |
+
'enabled' => 'no',
|
121 |
+
'purchase_url' => $purchaseUrl
|
122 |
+
),
|
123 |
+
'campaign_monitor' => array(
|
124 |
+
'title' => 'CampaignMonitor',
|
125 |
+
'description' => 'WP Fluent Forms Campaign Monitor module allows you to create Campaign Monitor newsletter signup forms in WordPress, so you can grow your email list.',
|
126 |
+
'logo' => App::publicUrl('img/integrations/campaignmonitor.png'),
|
127 |
+
'enabled' => 'no',
|
128 |
+
'purchase_url' => $purchaseUrl
|
129 |
+
),
|
130 |
+
'constatantcontact' => array(
|
131 |
+
'title' => 'ConstantContact',
|
132 |
+
'description' => 'Connect ConstantContact with WP Fluent Forms and create subscriptions forms right into WordPress and grow your list.',
|
133 |
+
'logo' => App::publicUrl('img/integrations/constantcontact.png'),
|
134 |
+
'enabled' => 'no',
|
135 |
+
'purchase_url' => $purchaseUrl
|
136 |
+
),
|
137 |
+
'convertkit' => array(
|
138 |
+
'title' => 'ConvertKit',
|
139 |
+
'description' => 'Connect ConvertKit with WP Fluent Forms and create subscriptions forms right into WordPress and grow your list.',
|
140 |
+
'logo' => App::publicUrl('img/integrations/convertkit.png'),
|
141 |
+
'enabled' => 'no',
|
142 |
+
'purchase_url' => $purchaseUrl
|
143 |
+
),
|
144 |
+
'getresponse' => array(
|
145 |
+
'title' => 'GetResponse',
|
146 |
+
'description' => 'WP Fluent Forms GetResponse module allows you to create GetResponse newsletter signup forms in WordPress, so you can grow your email list.',
|
147 |
+
'logo' => App::publicUrl('img/integrations/getresponse.png'),
|
148 |
+
'enabled' => 'no',
|
149 |
+
'purchase_url' => $purchaseUrl
|
150 |
+
),
|
151 |
+
'hubspot' => array(
|
152 |
+
'title' => 'Hubspot',
|
153 |
+
'description' => 'Connect HubSpot with WP Fluent Forms and subscribe a contact when a form is submitted',
|
154 |
+
'logo' => App::publicUrl('img/integrations/hubspot.png'),
|
155 |
+
'enabled' => 'no',
|
156 |
+
'purchase_url' => $purchaseUrl
|
157 |
+
),
|
158 |
+
'icontact' => array(
|
159 |
+
'title' => 'iContact',
|
160 |
+
'description' => 'Connect iContact with WP Fluent Forms and subscribe a contact when a form is submitted',
|
161 |
+
'logo' => App::publicUrl('img/integrations/icontact.png'),
|
162 |
+
'enabled' => 'no',
|
163 |
+
'purchase_url' => $purchaseUrl
|
164 |
+
),
|
165 |
+
'moosend' => array(
|
166 |
+
'title' => 'MooSend',
|
167 |
+
'description' => 'Connect MooSend with WP Fluent Forms and subscribe a contact when a form is submitted',
|
168 |
+
'logo' => App::publicUrl('img/integrations/moosend_logo.png'),
|
169 |
+
'enabled' => 'no',
|
170 |
+
'purchase_url' => $purchaseUrl
|
171 |
+
),
|
172 |
+
'sendfox' => array(
|
173 |
+
'title' => 'SendFox',
|
174 |
+
'description' => 'Connect SendFox with WP Fluent Forms and subscribe a contact when a form is submitted',
|
175 |
+
'logo' => App::publicUrl('img/integrations/sendfox.png'),
|
176 |
+
'enabled' => 'no',
|
177 |
+
'purchase_url' => $purchaseUrl
|
178 |
+
),
|
179 |
+
'mailerlite' => array(
|
180 |
+
'title' => 'MailerLite',
|
181 |
+
'description' => 'Connect your Fluent Forms with MailerLite and add subscribers easily',
|
182 |
+
'logo' => App::publicUrl('img/integrations/mailerlite.png'),
|
183 |
+
'enabled' => 'no',
|
184 |
+
'purchase_url' => $purchaseUrl
|
185 |
+
),
|
186 |
+
'sms_notifications' => array(
|
187 |
+
'title' => 'SMS Notification',
|
188 |
+
'description' => 'Send SMS when new submission will be happened in real time with Twillio',
|
189 |
+
'logo' => App::publicUrl('img/integrations/twillio.png'),
|
190 |
+
'enabled' => 'no',
|
191 |
+
'purchase_url' => $purchaseUrl
|
192 |
+
)
|
193 |
+
);
|
194 |
}
|
195 |
}
|
app/Modules/Component/Component.php
CHANGED
@@ -35,8 +35,6 @@ class Component
|
|
35 |
*/
|
36 |
public function index()
|
37 |
{
|
38 |
-
Acl::verify('fluentform_forms_manager');
|
39 |
-
|
40 |
$this->app->doAction(
|
41 |
'fluent_editor_init',
|
42 |
$components = $this->app->make('components')
|
@@ -93,6 +91,9 @@ class Component
|
|
93 |
$disabled['ratings'] = array(
|
94 |
'disabled' => true
|
95 |
);
|
|
|
|
|
|
|
96 |
}
|
97 |
return $this->app->applyFilters('fluentform_disabled_components', $disabled);
|
98 |
}
|
@@ -105,7 +106,6 @@ class Component
|
|
105 |
*/
|
106 |
public function getEditorShortcodes()
|
107 |
{
|
108 |
-
Acl::verify('fluentform_forms_manager');
|
109 |
$editor_shortcodes = fluentFormEditorShortCodes();
|
110 |
wp_send_json_success(['shortcodes' => $editor_shortcodes], 200);
|
111 |
}
|
@@ -118,7 +118,6 @@ class Component
|
|
118 |
*/
|
119 |
public function getAllEditorShortcodes()
|
120 |
{
|
121 |
-
Acl::verify('fluentform_forms_manager');
|
122 |
wp_send_json(fluentFormGetAllEditorShortCodes(
|
123 |
$this->app->request->get('formId')
|
124 |
), 200);
|
@@ -697,4 +696,4 @@ class Component
|
|
697 |
|
698 |
return apply_filters('fluentform/date_i18n', $i18n);
|
699 |
}
|
700 |
-
}
|
35 |
*/
|
36 |
public function index()
|
37 |
{
|
|
|
|
|
38 |
$this->app->doAction(
|
39 |
'fluent_editor_init',
|
40 |
$components = $this->app->make('components')
|
91 |
$disabled['ratings'] = array(
|
92 |
'disabled' => true
|
93 |
);
|
94 |
+
$disabled['tabular_grid'] = array(
|
95 |
+
'disabled' => true
|
96 |
+
);
|
97 |
}
|
98 |
return $this->app->applyFilters('fluentform_disabled_components', $disabled);
|
99 |
}
|
106 |
*/
|
107 |
public function getEditorShortcodes()
|
108 |
{
|
|
|
109 |
$editor_shortcodes = fluentFormEditorShortCodes();
|
110 |
wp_send_json_success(['shortcodes' => $editor_shortcodes], 200);
|
111 |
}
|
118 |
*/
|
119 |
public function getAllEditorShortcodes()
|
120 |
{
|
|
|
121 |
wp_send_json(fluentFormGetAllEditorShortCodes(
|
122 |
$this->app->request->get('formId')
|
123 |
), 200);
|
696 |
|
697 |
return apply_filters('fluentform/date_i18n', $i18n);
|
698 |
}
|
699 |
+
}
|
app/Modules/Entries/Entries.php
CHANGED
@@ -2,10 +2,11 @@
|
|
2 |
|
3 |
namespace FluentForm\App\Modules\Entries;
|
4 |
|
5 |
-
use FluentForm\
|
6 |
-
use FluentForm\App\Modules\Acl\Acl;
|
7 |
use FluentForm\App\Modules\Form\FormDataParser;
|
8 |
use FluentForm\App\Modules\Form\FormFieldsParser;
|
|
|
|
|
9 |
|
10 |
class Entries extends EntryQuery
|
11 |
{
|
@@ -23,8 +24,6 @@ class Entries extends EntryQuery
|
|
23 |
*/
|
24 |
public function __construct()
|
25 |
{
|
26 |
-
Acl::verify('fluentform_entries_viewer');
|
27 |
-
|
28 |
parent::__construct();
|
29 |
|
30 |
$this->responseMetaModel = wpFluent()->table('fluentform_submission_meta');
|
@@ -34,17 +33,30 @@ class Entries extends EntryQuery
|
|
34 |
{
|
35 |
wp_enqueue_script('fluentform_form_entries', fluentformMix('js/form_entries.js'), array(), FLUENTFORM_VERSION);
|
36 |
|
37 |
-
$forms = wpFluent()
|
|
|
|
|
|
|
|
|
38 |
|
39 |
$form = wpFluent()->table('fluentform_forms')->find($form_id);
|
40 |
|
|
|
|
|
|
|
41 |
wp_localize_script('fluentform_form_entries', 'fluent_form_entries_vars', [
|
42 |
'all_forms_url' => admin_url('admin.php?page=fluent_forms'),
|
43 |
'forms' => $forms,
|
44 |
'form_id' => $form->id,
|
45 |
'current_form_title' => $form->title,
|
|
|
46 |
'entries_url_base' => admin_url('admin.php?page=fluent_forms&route=entries&form_id='),
|
47 |
-
'no_found_text' => __('Sorry! No entries found. All your entries will be shown here once you start getting form submissions', 'fluentform')
|
|
|
|
|
|
|
|
|
|
|
48 |
]);
|
49 |
|
50 |
View::render('admin.form.entries', [
|
@@ -73,20 +85,20 @@ class Entries extends EntryQuery
|
|
73 |
|
74 |
if ($entryType == 'favorite') {
|
75 |
$this->is_favourite = true;
|
76 |
-
} elseif ($entryType != 'all') {
|
77 |
$this->status = $entryType;
|
78 |
}
|
79 |
|
80 |
$dateRange = $this->request->get('date_range');
|
81 |
-
if($dateRange) {
|
82 |
$this->startDate = $dateRange[0];
|
83 |
$this->endDate = $dateRange[1];
|
84 |
}
|
85 |
|
86 |
$form = $this->formModel->find($formId);
|
87 |
$formMeta = $this->getFormInputsAndLabels($form);
|
88 |
-
|
89 |
-
|
90 |
$submissions = $this->getResponses();
|
91 |
$submissions['data'] = FormDataParser::parseFormEntries($submissions['data'], $form);
|
92 |
|
@@ -95,7 +107,7 @@ class Entries extends EntryQuery
|
|
95 |
|
96 |
public function getEntries()
|
97 |
{
|
98 |
-
if(!defined('FLUENTFORM_RENDERING_ENTRIES')) {
|
99 |
define('FLUENTFORM_RENDERING_ENTRIES', true);
|
100 |
}
|
101 |
|
@@ -177,13 +189,13 @@ class Entries extends EntryQuery
|
|
177 |
], 200);
|
178 |
}
|
179 |
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
private function getFormInputsAndLabels($form, $with = ['admin_label', 'raw'])
|
188 |
{
|
189 |
$formInputs = FormFieldsParser::getEntryInputs($form, $with);
|
@@ -201,21 +213,22 @@ class Entries extends EntryQuery
|
|
201 |
$apiLog = sanitize_text_field($this->request->get('api_log')) == 'yes';
|
202 |
|
203 |
$metaKeys = ['_notes'];
|
204 |
-
if($apiLog) {
|
205 |
$metaKeys[] = 'api_log';
|
206 |
}
|
207 |
|
208 |
$notes = $this->responseMetaModel
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
|
|
213 |
|
214 |
foreach ($notes as $note) {
|
215 |
if ($note->user_id) {
|
216 |
$note->pemalink = get_edit_user_link($note->user_id);
|
217 |
$user = get_user_by('ID', $note->user_id);
|
218 |
-
if($user) {
|
219 |
$note->created_by = $user->display_name;
|
220 |
} else {
|
221 |
$note->created_by = __('FluentForm Bot', 'fluentform');
|
@@ -277,7 +290,7 @@ class Entries extends EntryQuery
|
|
277 |
->update(['status' => $newStatus]);
|
278 |
|
279 |
wp_send_json_success([
|
280 |
-
'message' => __('Item has been marked as '
|
281 |
'status' => $newStatus
|
282 |
], 200);
|
283 |
}
|
@@ -294,9 +307,14 @@ class Entries extends EntryQuery
|
|
294 |
->delete();
|
295 |
|
296 |
wpFluent()->table('fluentform_submission_meta')
|
297 |
-
|
298 |
-
|
299 |
-
|
|
|
|
|
|
|
|
|
|
|
300 |
|
301 |
wp_send_json_success([
|
302 |
'message' => __('Item Successfully deleted', 'fluentform'),
|
@@ -332,49 +350,55 @@ class Entries extends EntryQuery
|
|
332 |
|
333 |
$actionType = sanitize_text_field($this->request->get('action_type'));
|
334 |
|
|
|
|
|
|
|
335 |
if (!$formId || !count($entries)) {
|
336 |
wp_send_json_error([
|
337 |
'message' => __('Please select entries first', 'fluentform')
|
338 |
], 400);
|
339 |
}
|
340 |
|
341 |
-
$message = __('Action Successfully executed', 'fluentform');
|
342 |
-
|
343 |
$bulkQuery = wpFluent()->table('fluentform_submissions')
|
344 |
-
|
345 |
-
|
346 |
-
|
347 |
-
|
348 |
-
|
349 |
-
|
350 |
-
|
351 |
-
|
352 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
353 |
$bulkQuery->delete();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
354 |
$message = __('Selected entries successfully deleted', 'fluentform');
|
355 |
-
|
356 |
-
|
357 |
-
|
358 |
-
];
|
359 |
-
$bulkQuery->update($updateData);
|
360 |
-
$message = __('Selected entries successfully marked as read', 'fluentform');
|
361 |
-
} elseif ($actionType == 'unread') {
|
362 |
-
$updateData = [
|
363 |
-
'status' => 'unread'
|
364 |
-
];
|
365 |
-
$bulkQuery->update($updateData);
|
366 |
-
$message = __('Selected entries successfully marked as unread', 'fluentform');
|
367 |
-
} elseif ($actionType == 'favorite') {
|
368 |
-
$updateData = [
|
369 |
'is_favourite' => 1
|
370 |
-
];
|
371 |
-
$bulkQuery->update($updateData);
|
372 |
$message = __('Selected entries successfully marked as Favorite', 'fluentform');
|
373 |
-
} elseif ($actionType == '
|
374 |
-
$
|
375 |
'is_favourite' => 0
|
376 |
-
];
|
377 |
-
$bulkQuery->update($updateData);
|
378 |
$message = __('Selected entries successfully remove from favorite', 'fluentform');
|
379 |
}
|
380 |
|
@@ -382,4 +406,87 @@ class Entries extends EntryQuery
|
|
382 |
'message' => $message
|
383 |
], 200);
|
384 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
385 |
}
|
2 |
|
3 |
namespace FluentForm\App\Modules\Entries;
|
4 |
|
5 |
+
use FluentForm\App\Helpers\Helper;
|
|
|
6 |
use FluentForm\App\Modules\Form\FormDataParser;
|
7 |
use FluentForm\App\Modules\Form\FormFieldsParser;
|
8 |
+
use FluentForm\Framework\Helpers\ArrayHelper;
|
9 |
+
use FluentForm\View;
|
10 |
|
11 |
class Entries extends EntryQuery
|
12 |
{
|
24 |
*/
|
25 |
public function __construct()
|
26 |
{
|
|
|
|
|
27 |
parent::__construct();
|
28 |
|
29 |
$this->responseMetaModel = wpFluent()->table('fluentform_submission_meta');
|
33 |
{
|
34 |
wp_enqueue_script('fluentform_form_entries', fluentformMix('js/form_entries.js'), array(), FLUENTFORM_VERSION);
|
35 |
|
36 |
+
$forms = wpFluent()
|
37 |
+
->select(['id', 'title'])
|
38 |
+
->table('fluentform_forms')
|
39 |
+
->orderBy('id', 'DESC')
|
40 |
+
->get();
|
41 |
|
42 |
$form = wpFluent()->table('fluentform_forms')->find($form_id);
|
43 |
|
44 |
+
|
45 |
+
$app = wpFluentForm();
|
46 |
+
|
47 |
wp_localize_script('fluentform_form_entries', 'fluent_form_entries_vars', [
|
48 |
'all_forms_url' => admin_url('admin.php?page=fluent_forms'),
|
49 |
'forms' => $forms,
|
50 |
'form_id' => $form->id,
|
51 |
'current_form_title' => $form->title,
|
52 |
+
'entry_statuses' => Helper::getEntryStutuses($form_id),
|
53 |
'entries_url_base' => admin_url('admin.php?page=fluent_forms&route=entries&form_id='),
|
54 |
+
'no_found_text' => __('Sorry! No entries found. All your entries will be shown here once you start getting form submissions', 'fluentform'),
|
55 |
+
'has_pro' => defined('FLUENTFORMPRO'),
|
56 |
+
'printStyles' => [
|
57 |
+
fluentformMix('css/settings_global.css')
|
58 |
+
],
|
59 |
+
'available_countries' => $app->load($app->appPath('Services/FormBuilder/CountryNames.php'))
|
60 |
]);
|
61 |
|
62 |
View::render('admin.form.entries', [
|
85 |
|
86 |
if ($entryType == 'favorite') {
|
87 |
$this->is_favourite = true;
|
88 |
+
} elseif ($entryType != 'all' && $entryType) {
|
89 |
$this->status = $entryType;
|
90 |
}
|
91 |
|
92 |
$dateRange = $this->request->get('date_range');
|
93 |
+
if ($dateRange) {
|
94 |
$this->startDate = $dateRange[0];
|
95 |
$this->endDate = $dateRange[1];
|
96 |
}
|
97 |
|
98 |
$form = $this->formModel->find($formId);
|
99 |
$formMeta = $this->getFormInputsAndLabels($form);
|
100 |
+
$formLabels = $formMeta['labels'];
|
101 |
+
$formLabels = apply_filters('fluentfoform_entry_lists_labels', $formLabels, $form);
|
102 |
$submissions = $this->getResponses();
|
103 |
$submissions['data'] = FormDataParser::parseFormEntries($submissions['data'], $form);
|
104 |
|
107 |
|
108 |
public function getEntries()
|
109 |
{
|
110 |
+
if (!defined('FLUENTFORM_RENDERING_ENTRIES')) {
|
111 |
define('FLUENTFORM_RENDERING_ENTRIES', true);
|
112 |
}
|
113 |
|
189 |
], 200);
|
190 |
}
|
191 |
|
192 |
+
/**
|
193 |
+
* @param $form
|
194 |
+
* @param array $with
|
195 |
+
*
|
196 |
+
* @return array
|
197 |
+
* @todo: Implement Caching mechanism so we don't have to parse these things for every request
|
198 |
+
*/
|
199 |
private function getFormInputsAndLabels($form, $with = ['admin_label', 'raw'])
|
200 |
{
|
201 |
$formInputs = FormFieldsParser::getEntryInputs($form, $with);
|
213 |
$apiLog = sanitize_text_field($this->request->get('api_log')) == 'yes';
|
214 |
|
215 |
$metaKeys = ['_notes'];
|
216 |
+
if ($apiLog) {
|
217 |
$metaKeys[] = 'api_log';
|
218 |
}
|
219 |
|
220 |
$notes = $this->responseMetaModel
|
221 |
+
->where('form_id', $formId)
|
222 |
+
->where('response_id', $entry_id)
|
223 |
+
->whereIn('meta_key', $metaKeys)
|
224 |
+
->orderBy('id', 'DESC')
|
225 |
+
->get();
|
226 |
|
227 |
foreach ($notes as $note) {
|
228 |
if ($note->user_id) {
|
229 |
$note->pemalink = get_edit_user_link($note->user_id);
|
230 |
$user = get_user_by('ID', $note->user_id);
|
231 |
+
if ($user) {
|
232 |
$note->created_by = $user->display_name;
|
233 |
} else {
|
234 |
$note->created_by = __('FluentForm Bot', 'fluentform');
|
290 |
->update(['status' => $newStatus]);
|
291 |
|
292 |
wp_send_json_success([
|
293 |
+
'message' => __('Item has been marked as ' . $newStatus, 'fluentform'),
|
294 |
'status' => $newStatus
|
295 |
], 200);
|
296 |
}
|
307 |
->delete();
|
308 |
|
309 |
wpFluent()->table('fluentform_submission_meta')
|
310 |
+
->where('response_id', $entryId)
|
311 |
+
->where('form_id', $formId)
|
312 |
+
->delete();
|
313 |
+
|
314 |
+
wpFluent()->table('fluentform_entry_details')
|
315 |
+
->where('submission_id', $entryId)
|
316 |
+
->where('form_id', $formId)
|
317 |
+
->delete();
|
318 |
|
319 |
wp_send_json_success([
|
320 |
'message' => __('Item Successfully deleted', 'fluentform'),
|
350 |
|
351 |
$actionType = sanitize_text_field($this->request->get('action_type'));
|
352 |
|
353 |
+
// check if it's status change or not
|
354 |
+
$statuses = Helper::getEntryStutuses($formId);
|
355 |
+
|
356 |
if (!$formId || !count($entries)) {
|
357 |
wp_send_json_error([
|
358 |
'message' => __('Please select entries first', 'fluentform')
|
359 |
], 400);
|
360 |
}
|
361 |
|
|
|
|
|
362 |
$bulkQuery = wpFluent()->table('fluentform_submissions')
|
363 |
+
->where('form_id', $formId)
|
364 |
+
->whereIn('id', $entries);
|
365 |
+
|
366 |
+
if (isset($statuses[$actionType])) {
|
367 |
+
// it's status change
|
368 |
+
$bulkQuery->update([
|
369 |
+
'status' => $actionType,
|
370 |
+
'updated_at' => date('Y-m-d H:i:s')
|
371 |
+
]);
|
372 |
+
|
373 |
+
wp_send_json_success([
|
374 |
+
'message' => 'Selected entries successfully marked as ' . $statuses[$actionType]
|
375 |
+
], 200);
|
376 |
+
}
|
377 |
+
|
378 |
+
// now other action handler
|
379 |
+
if ($actionType == 'other.delete_parmanently') {
|
380 |
$bulkQuery->delete();
|
381 |
+
wpFluent()->table('fluentform_entry_details')
|
382 |
+
->where('form_id', $formId)
|
383 |
+
->whereIn('submission_id', $entries)
|
384 |
+
->delete();
|
385 |
+
|
386 |
+
wpFluent()->table('fluentform_submission_meta')
|
387 |
+
->where('form_id', $formId)
|
388 |
+
->whereIn('response_id', $entries)
|
389 |
+
->delete();
|
390 |
+
|
391 |
$message = __('Selected entries successfully deleted', 'fluentform');
|
392 |
+
|
393 |
+
} elseif ($actionType == 'other.make_favorite') {
|
394 |
+
$bulkQuery->update([
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
395 |
'is_favourite' => 1
|
396 |
+
]);
|
|
|
397 |
$message = __('Selected entries successfully marked as Favorite', 'fluentform');
|
398 |
+
} elseif ($actionType == 'other.unmark_favorite') {
|
399 |
+
$bulkQuery->update([
|
400 |
'is_favourite' => 0
|
401 |
+
]);
|
|
|
402 |
$message = __('Selected entries successfully remove from favorite', 'fluentform');
|
403 |
}
|
404 |
|
406 |
'message' => $message
|
407 |
], 200);
|
408 |
}
|
409 |
+
|
410 |
+
|
411 |
+
public function recordEntryDetails($entryId, $formId, $data)
|
412 |
+
{
|
413 |
+
$formData = ArrayHelper::except($data, ['__fluent_form_embded_post_id', '_fluentform_' . $formId . '_fluentformnonce', '_wp_http_referer']);
|
414 |
+
|
415 |
+
$entryItems = [];
|
416 |
+
foreach ($formData as $dataKey => $dataValue) {
|
417 |
+
if (!$dataValue) {
|
418 |
+
continue;
|
419 |
+
}
|
420 |
+
|
421 |
+
if (is_array($dataValue)) {
|
422 |
+
foreach ($dataValue as $subKey => $subValue) {
|
423 |
+
$entryItems[] = [
|
424 |
+
'form_id' => $formId,
|
425 |
+
'submission_id' => $entryId,
|
426 |
+
'field_name' => $dataKey,
|
427 |
+
'sub_field_name' => $subKey,
|
428 |
+
'field_value' => maybe_serialize($subValue)
|
429 |
+
];
|
430 |
+
}
|
431 |
+
} else {
|
432 |
+
$entryItems[] = [
|
433 |
+
'form_id' => $formId,
|
434 |
+
'submission_id' => $entryId,
|
435 |
+
'field_name' => $dataKey,
|
436 |
+
'sub_field_name' => '',
|
437 |
+
'field_value' => $dataValue
|
438 |
+
];
|
439 |
+
}
|
440 |
+
}
|
441 |
+
|
442 |
+
foreach ($entryItems as $entryItem) {
|
443 |
+
wpFluent()->table('fluentform_entry_details')
|
444 |
+
->insert($entryItem);
|
445 |
+
}
|
446 |
+
|
447 |
+
return true;
|
448 |
+
}
|
449 |
+
|
450 |
+
public function updateEntryDiffs($entryId, $formId, $formData)
|
451 |
+
{
|
452 |
+
wpFluent()->table('fluentform_entry_details')
|
453 |
+
->where('submission_id', $entryId)
|
454 |
+
->where('form_id', $formId)
|
455 |
+
->whereIn('field_name', array_keys($formData))
|
456 |
+
->delete();
|
457 |
+
|
458 |
+
$entryItems = [];
|
459 |
+
foreach ($formData as $dataKey => $dataValue) {
|
460 |
+
if (!$dataValue) {
|
461 |
+
continue;
|
462 |
+
}
|
463 |
+
|
464 |
+
if (is_array($dataValue)) {
|
465 |
+
foreach ($dataValue as $subKey => $subValue) {
|
466 |
+
$entryItems[] = [
|
467 |
+
'form_id' => $formId,
|
468 |
+
'submission_id' => $entryId,
|
469 |
+
'field_name' => $dataKey,
|
470 |
+
'sub_field_name' => $subKey,
|
471 |
+
'field_value' => maybe_serialize($subValue)
|
472 |
+
];
|
473 |
+
}
|
474 |
+
} else {
|
475 |
+
$entryItems[] = [
|
476 |
+
'form_id' => $formId,
|
477 |
+
'submission_id' => $entryId,
|
478 |
+
'field_name' => $dataKey,
|
479 |
+
'sub_field_name' => '',
|
480 |
+
'field_value' => $dataValue
|
481 |
+
];
|
482 |
+
}
|
483 |
+
}
|
484 |
+
|
485 |
+
foreach ($entryItems as $entryItem) {
|
486 |
+
wpFluent()->table('fluentform_entry_details')
|
487 |
+
->insert($entryItem);
|
488 |
+
}
|
489 |
+
return true;
|
490 |
+
}
|
491 |
+
|
492 |
}
|
app/Modules/Entries/EntryQuery.php
CHANGED
@@ -59,8 +59,10 @@ class EntryQuery
|
|
59 |
}
|
60 |
|
61 |
if ($this->startDate && $this->endDate) {
|
|
|
|
|
62 |
$query->where('created_at', '>=', $this->startDate);
|
63 |
-
$query->where('created_at', '<=', $
|
64 |
}
|
65 |
|
66 |
if ($this->search) {
|
59 |
}
|
60 |
|
61 |
if ($this->startDate && $this->endDate) {
|
62 |
+
$endDate = $this->endDate;
|
63 |
+
$endDate .= ' 23:59:59';
|
64 |
$query->where('created_at', '>=', $this->startDate);
|
65 |
+
$query->where('created_at', '<=', $endDate);
|
66 |
}
|
67 |
|
68 |
if ($this->search) {
|
app/Modules/Entries/Export.php
CHANGED
@@ -36,8 +36,6 @@ class Export
|
|
36 |
*/
|
37 |
public function index()
|
38 |
{
|
39 |
-
Acl::verify('fluentform_entries_viewer');
|
40 |
-
|
41 |
if (!defined('FLUENTFORM_DOING_CSV_EXPORT')) {
|
42 |
define('FLUENTFORM_DOING_CSV_EXPORT', true);
|
43 |
}
|
@@ -73,7 +71,7 @@ class Export
|
|
73 |
$submission->response = json_decode($submission->response, true);
|
74 |
$temp = [];
|
75 |
foreach ($inputLabels as $field => $label) {
|
76 |
-
$temp[] = FormDataParser::formatValue(Arr::get($submission->user_inputs, $field));
|
77 |
}
|
78 |
$temp[] = $submission->id;
|
79 |
$temp[] = $submission->status;
|
36 |
*/
|
37 |
public function index()
|
38 |
{
|
|
|
|
|
39 |
if (!defined('FLUENTFORM_DOING_CSV_EXPORT')) {
|
40 |
define('FLUENTFORM_DOING_CSV_EXPORT', true);
|
41 |
}
|
71 |
$submission->response = json_decode($submission->response, true);
|
72 |
$temp = [];
|
73 |
foreach ($inputLabels as $field => $label) {
|
74 |
+
$temp[] = wp_strip_all_tags(FormDataParser::formatValue(Arr::get($submission->user_inputs, $field)));
|
75 |
}
|
76 |
$temp[] = $submission->id;
|
77 |
$temp[] = $submission->status;
|
app/Modules/Entries/Report.php
ADDED
@@ -0,0 +1,299 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace FluentForm\App\Modules\Entries;
|
4 |
+
|
5 |
+
use FluentForm\App\Helpers\Helper;
|
6 |
+
use FluentForm\App\Modules\Form\FormFieldsParser;
|
7 |
+
use FluentForm\Framework\Foundation\Application;
|
8 |
+
use FluentForm\Framework\Helpers\ArrayHelper;
|
9 |
+
|
10 |
+
class Report
|
11 |
+
{
|
12 |
+
private $app;
|
13 |
+
private $formModel;
|
14 |
+
|
15 |
+
public function __construct(Application $app)
|
16 |
+
{
|
17 |
+
$this->app = $app;
|
18 |
+
$this->formModel = wpFluent()->table('fluentform_forms');
|
19 |
+
}
|
20 |
+
|
21 |
+
/**
|
22 |
+
* @param bool $formId
|
23 |
+
*/
|
24 |
+
public function getReport($formId = false)
|
25 |
+
{
|
26 |
+
if (!$formId) {
|
27 |
+
$formId = intval($_REQUEST['form_id']);
|
28 |
+
}
|
29 |
+
|
30 |
+
$this->maybeMigrateData($formId);
|
31 |
+
|
32 |
+
$statuses = $this->app->request->get('statuses');
|
33 |
+
|
34 |
+
$form = $this->formModel->find($formId);
|
35 |
+
|
36 |
+
$formInputs = FormFieldsParser::getEntryInputs($form, ['admin_label', 'element', 'options']);
|
37 |
+
|
38 |
+
$inputLabels = FormFieldsParser::getAdminLabels($form, $formInputs);
|
39 |
+
|
40 |
+
$elements = [];
|
41 |
+
|
42 |
+
foreach ($formInputs as $inputName => $input) {
|
43 |
+
$elements[$inputName] = $input['element'];
|
44 |
+
if ($input['element'] == 'select_country') {
|
45 |
+
$formInputs[$inputName]['options'] = getFluentFormCountryList();
|
46 |
+
}
|
47 |
+
}
|
48 |
+
|
49 |
+
$reportableInputs = Helper::getReportableInputs();
|
50 |
+
|
51 |
+
$formReportableInputs = array_intersect($reportableInputs, array_values($elements));
|
52 |
+
|
53 |
+
$reportableInputs = Helper::getSubFieldReportableInputs();
|
54 |
+
$formSubFieldInputs = array_intersect($reportableInputs, array_values($elements));
|
55 |
+
|
56 |
+
if (!$formReportableInputs && !$formSubFieldInputs) {
|
57 |
+
wp_send_json_success([
|
58 |
+
'report_items' => (object)[],
|
59 |
+
'total_entries' => 0
|
60 |
+
], 423);
|
61 |
+
}
|
62 |
+
|
63 |
+
$inputs = [];
|
64 |
+
$subfieldInputs = [];
|
65 |
+
foreach ($elements as $elementKey => $element) {
|
66 |
+
if (in_array($element, $formReportableInputs)) {
|
67 |
+
$inputs[$elementKey] = $element;
|
68 |
+
}
|
69 |
+
if (in_array($element, $formSubFieldInputs)) {
|
70 |
+
$subfieldInputs[$elementKey] = $element;
|
71 |
+
}
|
72 |
+
}
|
73 |
+
|
74 |
+
$whereClasuses = [];
|
75 |
+
|
76 |
+
if ($statuses) {
|
77 |
+
$whereClasuses['fluentform_submissions.status'] = [
|
78 |
+
'method' => 'whereIn',
|
79 |
+
'values' => $statuses
|
80 |
+
];
|
81 |
+
}
|
82 |
+
|
83 |
+
$reports = $this->getInputReport($formId, array_keys($inputs), $whereClasuses);
|
84 |
+
|
85 |
+
$subFieldReports = $this->getSubFieldInputReport($formId, array_keys($subfieldInputs), $whereClasuses);
|
86 |
+
|
87 |
+
$reports = array_merge($reports, $subFieldReports);
|
88 |
+
|
89 |
+
foreach ($reports as $reportKey => $report) {
|
90 |
+
$reports[$reportKey]['label'] = $inputLabels[$reportKey];
|
91 |
+
$reports[$reportKey]['element'] = ArrayHelper::get($inputs, $reportKey, []);
|
92 |
+
$reports[$reportKey]['options'] = $formInputs[$reportKey]['options'];
|
93 |
+
}
|
94 |
+
|
95 |
+
wp_send_json_success([
|
96 |
+
'report_items' => $reports,
|
97 |
+
'total_entries' => $this->getEntryCounts($formId, $statuses),
|
98 |
+
'browsers' => $this->getbrowserCounts($formId, $statuses),
|
99 |
+
'devices' => $this->getDeviceCounts($formId, $statuses),
|
100 |
+
], 200);
|
101 |
+
}
|
102 |
+
|
103 |
+
|
104 |
+
public function getInputReport($formId, $fieldNames, $whereClasuses)
|
105 |
+
{
|
106 |
+
if(!$fieldNames) {
|
107 |
+
return [];
|
108 |
+
}
|
109 |
+
global $wpdb;
|
110 |
+
$reportQuery = wpFluent()->table('fluentform_entry_details')
|
111 |
+
->select([
|
112 |
+
'fluentform_entry_details.field_name',
|
113 |
+
'fluentform_entry_details.sub_field_name',
|
114 |
+
'fluentform_entry_details.field_value'
|
115 |
+
])
|
116 |
+
->select(wpFluent()->raw('count(' . $wpdb->prefix . 'fluentform_entry_details.field_name) as total_count'))
|
117 |
+
->where('fluentform_entry_details.form_id', $formId)
|
118 |
+
->whereIn('fluentform_entry_details.field_name', $fieldNames)
|
119 |
+
->leftJoin('fluentform_submissions', 'fluentform_submissions.id', '=', 'fluentform_entry_details.submission_id');
|
120 |
+
|
121 |
+
if ($whereClasuses) {
|
122 |
+
foreach ($whereClasuses as $clauseColumn => $clasus) {
|
123 |
+
$reportQuery = $reportQuery->{$clasus['method']}($clauseColumn, $clasus['values']);
|
124 |
+
}
|
125 |
+
}
|
126 |
+
|
127 |
+
$reports = $reportQuery->groupBy(['fluentform_entry_details.field_name', 'fluentform_entry_details.field_value'])
|
128 |
+
->get();
|
129 |
+
|
130 |
+
$formattedReports = [];
|
131 |
+
foreach ($reports as $report) {
|
132 |
+
$formattedReports[$report->field_name]['reports'][] = [
|
133 |
+
'value' => maybe_unserialize($report->field_value),
|
134 |
+
'count' => $report->total_count,
|
135 |
+
'sub_field' => $report->sub_field_name,
|
136 |
+
];
|
137 |
+
$formattedReports[$report->field_name]['total_entry'] = $this->getEntryTotal($report->field_name, $formId, $whereClasuses);
|
138 |
+
}
|
139 |
+
|
140 |
+
return $formattedReports;
|
141 |
+
}
|
142 |
+
|
143 |
+
public function getSubFieldInputReport($formId, $fieldNames, $whereClasuses)
|
144 |
+
{
|
145 |
+
if(!$fieldNames) {
|
146 |
+
return [];
|
147 |
+
}
|
148 |
+
|
149 |
+
global $wpdb;
|
150 |
+
$reportQuery = wpFluent()->table('fluentform_entry_details')
|
151 |
+
->select([
|
152 |
+
'fluentform_entry_details.field_name',
|
153 |
+
'fluentform_entry_details.sub_field_name',
|
154 |
+
'fluentform_entry_details.field_value'
|
155 |
+
])
|
156 |
+
->select(wpFluent()->raw('count(' . $wpdb->prefix . 'fluentform_entry_details.field_name) as total_count'))
|
157 |
+
->where('fluentform_entry_details.form_id', $formId)
|
158 |
+
->whereIn('fluentform_entry_details.field_name', $fieldNames)
|
159 |
+
->leftJoin('fluentform_submissions', 'fluentform_submissions.id', '=', 'fluentform_entry_details.submission_id');
|
160 |
+
|
161 |
+
if ($whereClasuses) {
|
162 |
+
foreach ($whereClasuses as $clauseColumn => $clasus) {
|
163 |
+
$reportQuery = $reportQuery->{$clasus['method']}($clauseColumn, $clasus['values']);
|
164 |
+
}
|
165 |
+
}
|
166 |
+
|
167 |
+
$reports = $reportQuery->groupBy(['fluentform_entry_details.field_name', 'fluentform_entry_details.field_value', 'fluentform_entry_details.sub_field_name'])
|
168 |
+
->get();
|
169 |
+
|
170 |
+
$formattedReports = [];
|
171 |
+
foreach ($reports as $report) {
|
172 |
+
$formattedReports[$report->field_name]['reports'][] = [
|
173 |
+
'value' => $report->sub_field_name . ' : ' . maybe_unserialize($report->field_value),
|
174 |
+
'count' => $report->total_count,
|
175 |
+
'sub_field' => $report->sub_field_name,
|
176 |
+
];
|
177 |
+
$formattedReports[$report->field_name]['total_entry'] = $this->getEntryTotal($report->field_name, $formId, $whereClasuses);
|
178 |
+
}
|
179 |
+
|
180 |
+
return $formattedReports;
|
181 |
+
}
|
182 |
+
|
183 |
+
public function getEntryTotal($fieldName, $formId, $whereClasuses)
|
184 |
+
{
|
185 |
+
$query = wpFluent()->table('fluentform_entry_details')
|
186 |
+
->select('fluentform_entry_details.id')
|
187 |
+
->where('fluentform_entry_details.form_id', $formId)
|
188 |
+
->where('fluentform_entry_details.field_name', $fieldName)
|
189 |
+
->groupBy(['fluentform_entry_details.field_name', 'fluentform_entry_details.submission_id'])
|
190 |
+
->leftJoin('fluentform_submissions', 'fluentform_submissions.id', '=', 'fluentform_entry_details.submission_id');
|
191 |
+
|
192 |
+
if ($whereClasuses) {
|
193 |
+
foreach ($whereClasuses as $clauseColumn => $clasus) {
|
194 |
+
$query = $query->{$clasus['method']}($clauseColumn, $clasus['values']);
|
195 |
+
}
|
196 |
+
}
|
197 |
+
|
198 |
+
return $query->count();
|
199 |
+
}
|
200 |
+
|
201 |
+
private function maybeMigrateData($formId)
|
202 |
+
{
|
203 |
+
// We have to check if we need to migrate the data
|
204 |
+
if (Helper::getFormMeta($formId, 'report_data_migrated') == 'yes') {
|
205 |
+
return true;
|
206 |
+
}
|
207 |
+
global $wpdb;
|
208 |
+
// let's migrate the data
|
209 |
+
$unmigratedData = wpFluent()
|
210 |
+
->table('fluentform_submissions')
|
211 |
+
->select([
|
212 |
+
'fluentform_submissions.id',
|
213 |
+
'fluentform_submissions.response'
|
214 |
+
])
|
215 |
+
->where('fluentform_submissions.form_id', $formId)
|
216 |
+
->where(wpFluent()->raw($wpdb->prefix . 'fluentform_submissions.id NOT IN (SELECT submission_id from ' . $wpdb->prefix . 'fluentform_entry_details)'))
|
217 |
+
->get();
|
218 |
+
|
219 |
+
if (!$unmigratedData) {
|
220 |
+
return Helper::setFormMeta($formId, 'report_data_migrated', 'yes');
|
221 |
+
}
|
222 |
+
|
223 |
+
$entries = new Entries();
|
224 |
+
foreach ($unmigratedData as $datum) {
|
225 |
+
$value = json_decode($datum->response, true);
|
226 |
+
$entries->recordEntryDetails($datum->id, $formId, $value);
|
227 |
+
}
|
228 |
+
|
229 |
+
return true;
|
230 |
+
|
231 |
+
}
|
232 |
+
|
233 |
+
private function getEntryCounts($formId, $statuses = false)
|
234 |
+
{
|
235 |
+
$totalEntries = wpFluent()
|
236 |
+
->table('fluentform_submissions')
|
237 |
+
->where('fluentform_submissions.form_id', $formId);
|
238 |
+
|
239 |
+
if ($statuses) {
|
240 |
+
$totalEntries = $totalEntries->whereIn('fluentform_submissions.status', $statuses);
|
241 |
+
} else {
|
242 |
+
$totalEntries = $totalEntries->where('fluentform_submissions.status', '!=', 'trashed');
|
243 |
+
}
|
244 |
+
return $totalEntries->count();
|
245 |
+
}
|
246 |
+
|
247 |
+
private function getBrowserCounts($formId, $statuses)
|
248 |
+
{
|
249 |
+
global $wpdb;
|
250 |
+
$browserCounts = wpFluent()->table('fluentform_submissions')
|
251 |
+
->select([
|
252 |
+
wpFluent()->raw('count(' . $wpdb->prefix . 'fluentform_submissions.id) as total_count'),
|
253 |
+
'browser'
|
254 |
+
])
|
255 |
+
->where('form_id', $formId);
|
256 |
+
if ($statuses) {
|
257 |
+
$browserCounts = $browserCounts->whereIn('status', $statuses);
|
258 |
+
} else {
|
259 |
+
$browserCounts = $browserCounts->where('status', '!=', 'trashed');
|
260 |
+
}
|
261 |
+
|
262 |
+
$browserCounts = $browserCounts->groupBy('browser')
|
263 |
+
->get();
|
264 |
+
|
265 |
+
$formattedData = [];
|
266 |
+
foreach ($browserCounts as $browser) {
|
267 |
+
$formattedData[$browser->browser] = $browser->total_count;
|
268 |
+
}
|
269 |
+
|
270 |
+
return $formattedData;
|
271 |
+
|
272 |
+
}
|
273 |
+
|
274 |
+
private function getDeviceCounts($formId, $statuses)
|
275 |
+
{
|
276 |
+
global $wpdb;
|
277 |
+
$deviceCounts = wpFluent()->table('fluentform_submissions')
|
278 |
+
->select([
|
279 |
+
wpFluent()->raw('count(' . $wpdb->prefix . 'fluentform_submissions.id) as total_count'),
|
280 |
+
'device'
|
281 |
+
])
|
282 |
+
->where('form_id', $formId);
|
283 |
+
if ($statuses) {
|
284 |
+
$deviceCounts = $deviceCounts->whereIn('status', $statuses);
|
285 |
+
} else {
|
286 |
+
$deviceCounts = $deviceCounts->where('status', '!=', 'trashed');
|
287 |
+
}
|
288 |
+
|
289 |
+
$deviceCounts = $deviceCounts->groupBy('device')
|
290 |
+
->get();
|
291 |
+
|
292 |
+
$formattedData = [];
|
293 |
+
foreach ($deviceCounts as $deviceCount) {
|
294 |
+
$formattedData[$deviceCount->device] = $deviceCount->total_count;
|
295 |
+
}
|
296 |
+
return $formattedData;
|
297 |
+
}
|
298 |
+
|
299 |
+
}
|
app/Modules/Form/Form.php
CHANGED
@@ -43,10 +43,7 @@ class Form
|
|
43 |
*/
|
44 |
public function __construct(Application $application)
|
45 |
{
|
46 |
-
Acl::verify('fluentform_forms_manager');
|
47 |
-
|
48 |
$this->request = $application->request;
|
49 |
-
|
50 |
$this->model = wpFluent()->table('fluentform_forms');
|
51 |
}
|
52 |
|
@@ -105,7 +102,11 @@ class Form
|
|
105 |
|
106 |
private function getSubmissionCount($formID)
|
107 |
{
|
108 |
-
return wpFluent()
|
|
|
|
|
|
|
|
|
109 |
}
|
110 |
|
111 |
private function getConversionRate($form)
|
@@ -366,7 +367,19 @@ class Form
|
|
366 |
|
367 |
public function getAllForms()
|
368 |
{
|
369 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
370 |
|
371 |
wp_send_json($forms, 200);
|
372 |
}
|
43 |
*/
|
44 |
public function __construct(Application $application)
|
45 |
{
|
|
|
|
|
46 |
$this->request = $application->request;
|
|
|
47 |
$this->model = wpFluent()->table('fluentform_forms');
|
48 |
}
|
49 |
|
102 |
|
103 |
private function getSubmissionCount($formID)
|
104 |
{
|
105 |
+
return wpFluent()
|
106 |
+
->table('fluentform_submissions')
|
107 |
+
->where('form_id', $formID)
|
108 |
+
->where('status', '!=', 'trashed')
|
109 |
+
->count();
|
110 |
}
|
111 |
|
112 |
private function getConversionRate($form)
|
367 |
|
368 |
public function getAllForms()
|
369 |
{
|
370 |
+
|
371 |
+
$fields = $this->request->get('fields');
|
372 |
+
|
373 |
+
if($fields) {
|
374 |
+
$forms = $this->model
|
375 |
+
->select($fields)
|
376 |
+
->orderBy('created_at', 'DESC')->get();
|
377 |
+
} else {
|
378 |
+
$forms = $this->model
|
379 |
+
->orderBy('created_at', 'DESC')->get();
|
380 |
+
}
|
381 |
+
|
382 |
+
|
383 |
|
384 |
wp_send_json($forms, 200);
|
385 |
}
|
app/Modules/Form/FormFieldsParser.php
CHANGED
@@ -40,6 +40,7 @@ class FormFieldsParser
|
|
40 |
if (!isset(static::$forms[$form->id][$key])) {
|
41 |
$parser = new FormParser($form);
|
42 |
$method = str_replace(' ', '', ucwords(str_replace('_', ' ', $key)));
|
|
|
43 |
static::$forms[$form->id][$key] = $parser->{'get'.$method}($with);
|
44 |
}
|
45 |
|
40 |
if (!isset(static::$forms[$form->id][$key])) {
|
41 |
$parser = new FormParser($form);
|
42 |
$method = str_replace(' ', '', ucwords(str_replace('_', ' ', $key)));
|
43 |
+
|
44 |
static::$forms[$form->id][$key] = $parser->{'get'.$method}($with);
|
45 |
}
|
46 |
|
app/Modules/Form/FormHandler.php
CHANGED
@@ -2,11 +2,12 @@
|
|
2 |
|
3 |
namespace FluentForm\App\Modules\Form;
|
4 |
|
5 |
-
use FluentForm\App\
|
6 |
use FluentForm\App\Modules\ReCaptcha\ReCaptcha;
|
|
|
|
|
7 |
use FluentForm\Framework\Foundation\Application;
|
8 |
use FluentForm\Framework\Helpers\ArrayHelper as Arr;
|
9 |
-
use FluentForm\App\Services\FormBuilder\ShortCodeParser;
|
10 |
|
11 |
class FormHandler
|
12 |
{
|
@@ -72,25 +73,31 @@ class FormHandler
|
|
72 |
$this->setForm($formId);
|
73 |
|
74 |
// Parse the form and get the flat inputs with validations.
|
75 |
-
$fields = FormFieldsParser::getInputs($this->form, ['rules']);
|
76 |
|
77 |
// Sanitize the data properly.
|
78 |
$this->formData = fluentFormSanitizer($data, null, $fields);
|
79 |
|
|
|
80 |
// Now validate the data using the previous validations.
|
81 |
$this->validate($fields);
|
82 |
|
83 |
// Prepare the data to be inserted to the DB.
|
84 |
$insertData = $this->prepareInsertData();
|
85 |
|
|
|
86 |
$insertId = wpFluent()->table('fluentform_submissions')->insert($insertData);
|
87 |
|
|
|
|
|
|
|
|
|
88 |
try {
|
89 |
$this->app->doAction(
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
);
|
95 |
} catch (\Exception $e) {
|
96 |
if (defined('WP_DEBUG') && WP_DEBUG) {
|
@@ -110,10 +117,10 @@ class FormHandler
|
|
110 |
private function sendResponse($insertId)
|
111 |
{
|
112 |
$confirmation = apply_filters(
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
);
|
118 |
|
119 |
if ($confirmation['redirectTo'] == 'samePage') {
|
@@ -125,10 +132,10 @@ class FormHandler
|
|
125 |
);
|
126 |
|
127 |
$returnData = [
|
128 |
-
'message'
|
129 |
-
'action'
|
130 |
];
|
131 |
-
|
132 |
} else {
|
133 |
$redirectUrl = ShortCodeParser::parse(
|
134 |
$confirmation['customUrl'],
|
@@ -153,7 +160,7 @@ class FormHandler
|
|
153 |
$confirmation
|
154 |
);
|
155 |
|
156 |
-
do_action('fluenform_before_submission_confirmation', $insertId, $this->formData,
|
157 |
|
158 |
wp_send_json_success([
|
159 |
'insert_id' => $insertId,
|
@@ -182,9 +189,8 @@ class FormHandler
|
|
182 |
|
183 |
$validator = \FluentValidator\Validator::make($this->formData, $validations[0], $validations[1]);
|
184 |
|
|
|
185 |
if ($validator->validate()->fails()) {
|
186 |
-
$errors = [];
|
187 |
-
|
188 |
foreach ($validator->errors() as $attribute => $rules) {
|
189 |
$position = strpos($attribute, ']');
|
190 |
|
@@ -196,8 +202,18 @@ class FormHandler
|
|
196 |
}
|
197 |
|
198 |
// Fire an event so that one can hook into it to work with the errors.
|
199 |
-
$errors = $this->app->applyFilters('fluentform_validation_error', $errors, $this->form);
|
|
|
200 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
201 |
wp_send_json(['errors' => $errors], 422);
|
202 |
}
|
203 |
|
@@ -214,7 +230,7 @@ class FormHandler
|
|
214 |
$shouldVerifyNonce = $this->app->applyFilters('fluentform_nonce_verify', false, $formId);
|
215 |
|
216 |
if ($shouldVerifyNonce) {
|
217 |
-
$nonce = Arr::get($this->formData, '_fluentform_'
|
218 |
if (!wp_verify_nonce($nonce, 'fluentform-submit-form')) {
|
219 |
$errors = $this->app->applyFilters('fluentForm_nonce_error', [
|
220 |
'_fluentformnonce' => [
|
@@ -254,9 +270,9 @@ class FormHandler
|
|
254 |
private function validateRestrictions(&$fields)
|
255 |
{
|
256 |
$formSettings = wpFluent()->table('fluentform_form_meta')
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
|
261 |
$this->form->settings = $formSettings ? json_decode($formSettings->value, true) : [];
|
262 |
|
@@ -306,11 +322,11 @@ class FormHandler
|
|
306 |
);
|
307 |
|
308 |
// TODO: Extract this function into global functions file...
|
309 |
-
$arrayFilterRecursive = function() use
|
310 |
foreach ($array as $key => $item) {
|
311 |
is_array($item) && $array[$key] = $arrayFilterRecursive($item);
|
312 |
if (empty($array[$key])) {
|
313 |
-
|
314 |
}
|
315 |
}
|
316 |
return $array;
|
@@ -321,10 +337,10 @@ class FormHandler
|
|
321 |
'errors' => [
|
322 |
'restricted' => [
|
323 |
__(
|
324 |
-
|
325 |
-
|
326 |
-
|
327 |
-
|
328 |
)
|
329 |
]
|
330 |
]
|
@@ -349,9 +365,9 @@ class FormHandler
|
|
349 |
}
|
350 |
|
351 |
$previousItem = wpFluent()->table('fluentform_submissions')
|
352 |
-
|
353 |
-
|
354 |
-
|
355 |
|
356 |
$serialNumber = 1;
|
357 |
|
@@ -368,7 +384,7 @@ class FormHandler
|
|
368 |
|
369 |
$ipAddress = $this->app->request->getIp();
|
370 |
|
371 |
-
if((defined('FLUENTFROM_DISABLE_IP_LOGGING') && FLUENTFROM_DISABLE_IP_LOGGING) || apply_filters('fluentform_disable_ip_logging', false, $formId
|
372 |
$ipAddress = false;
|
373 |
}
|
374 |
|
@@ -413,4 +429,6 @@ class FormHandler
|
|
413 |
|
414 |
return [$rules, $messages];
|
415 |
}
|
|
|
|
|
416 |
}
|
2 |
|
3 |
namespace FluentForm\App\Modules\Form;
|
4 |
|
5 |
+
use FluentForm\App\Modules\Entries\Entries;
|
6 |
use FluentForm\App\Modules\ReCaptcha\ReCaptcha;
|
7 |
+
use FluentForm\App\Services\Browser\Browser;
|
8 |
+
use FluentForm\App\Services\FormBuilder\ShortCodeParser;
|
9 |
use FluentForm\Framework\Foundation\Application;
|
10 |
use FluentForm\Framework\Helpers\ArrayHelper as Arr;
|
|
|
11 |
|
12 |
class FormHandler
|
13 |
{
|
73 |
$this->setForm($formId);
|
74 |
|
75 |
// Parse the form and get the flat inputs with validations.
|
76 |
+
$fields = FormFieldsParser::getInputs($this->form, ['rules', 'raw']);
|
77 |
|
78 |
// Sanitize the data properly.
|
79 |
$this->formData = fluentFormSanitizer($data, null, $fields);
|
80 |
|
81 |
+
|
82 |
// Now validate the data using the previous validations.
|
83 |
$this->validate($fields);
|
84 |
|
85 |
// Prepare the data to be inserted to the DB.
|
86 |
$insertData = $this->prepareInsertData();
|
87 |
|
88 |
+
|
89 |
$insertId = wpFluent()->table('fluentform_submissions')->insert($insertData);
|
90 |
|
91 |
+
if ($insertId) {
|
92 |
+
$entries = new Entries();
|
93 |
+
$entries->recordEntryDetails($insertId, $this->form->id, $this->formData);
|
94 |
+
}
|
95 |
try {
|
96 |
$this->app->doAction(
|
97 |
+
'fluentform_submission_inserted',
|
98 |
+
$insertId,
|
99 |
+
$this->formData,
|
100 |
+
$this->form
|
101 |
);
|
102 |
} catch (\Exception $e) {
|
103 |
if (defined('WP_DEBUG') && WP_DEBUG) {
|
117 |
private function sendResponse($insertId)
|
118 |
{
|
119 |
$confirmation = apply_filters(
|
120 |
+
'fluentform_form_submission_confirmation',
|
121 |
+
$this->form->settings['confirmation'],
|
122 |
+
$this->formData,
|
123 |
+
$this->form
|
124 |
);
|
125 |
|
126 |
if ($confirmation['redirectTo'] == 'samePage') {
|
132 |
);
|
133 |
|
134 |
$returnData = [
|
135 |
+
'message' => $message,
|
136 |
+
'action' => $confirmation['samePageFormBehavior'],
|
137 |
];
|
138 |
+
|
139 |
} else {
|
140 |
$redirectUrl = ShortCodeParser::parse(
|
141 |
$confirmation['customUrl'],
|
160 |
$confirmation
|
161 |
);
|
162 |
|
163 |
+
do_action('fluenform_before_submission_confirmation', $insertId, $this->formData, $this->form);
|
164 |
|
165 |
wp_send_json_success([
|
166 |
'insert_id' => $insertId,
|
189 |
|
190 |
$validator = \FluentValidator\Validator::make($this->formData, $validations[0], $validations[1]);
|
191 |
|
192 |
+
$errors = [];
|
193 |
if ($validator->validate()->fails()) {
|
|
|
|
|
194 |
foreach ($validator->errors() as $attribute => $rules) {
|
195 |
$position = strpos($attribute, ']');
|
196 |
|
202 |
}
|
203 |
|
204 |
// Fire an event so that one can hook into it to work with the errors.
|
205 |
+
$errors = $this->app->applyFilters('fluentform_validation_error', $errors, $this->form, $fields);
|
206 |
+
}
|
207 |
|
208 |
+
foreach ($fields as $fieldKey => $field) {
|
209 |
+
$field['data_key'] = $fieldKey;
|
210 |
+
$error = apply_filters('fluentform_validate_input_item_' . $field['element'], false, $field, $this->formData, $fields, $this->form, $errors);
|
211 |
+
if ($error) {
|
212 |
+
$errors = array_merge($errors, $error);
|
213 |
+
}
|
214 |
+
}
|
215 |
+
|
216 |
+
if ($errors) {
|
217 |
wp_send_json(['errors' => $errors], 422);
|
218 |
}
|
219 |
|
230 |
$shouldVerifyNonce = $this->app->applyFilters('fluentform_nonce_verify', false, $formId);
|
231 |
|
232 |
if ($shouldVerifyNonce) {
|
233 |
+
$nonce = Arr::get($this->formData, '_fluentform_' . $formId . '_fluentformnonce');
|
234 |
if (!wp_verify_nonce($nonce, 'fluentform-submit-form')) {
|
235 |
$errors = $this->app->applyFilters('fluentForm_nonce_error', [
|
236 |
'_fluentformnonce' => [
|
270 |
private function validateRestrictions(&$fields)
|
271 |
{
|
272 |
$formSettings = wpFluent()->table('fluentform_form_meta')
|
273 |
+
->where('form_id', $this->form->id)
|
274 |
+
->where('meta_key', 'formSettings')
|
275 |
+
->first();
|
276 |
|
277 |
$this->form->settings = $formSettings ? json_decode($formSettings->value, true) : [];
|
278 |
|
322 |
);
|
323 |
|
324 |
// TODO: Extract this function into global functions file...
|
325 |
+
$arrayFilterRecursive = function () use (&$arrayFilterRecursive) {
|
326 |
foreach ($array as $key => $item) {
|
327 |
is_array($item) && $array[$key] = $arrayFilterRecursive($item);
|
328 |
if (empty($array[$key])) {
|
329 |
+
unset($array[$key]);
|
330 |
}
|
331 |
}
|
332 |
return $array;
|
337 |
'errors' => [
|
338 |
'restricted' => [
|
339 |
__(
|
340 |
+
!($m = Arr::get($settings, 'message'))
|
341 |
+
? 'Sorry! You can\'t submit an empty form.'
|
342 |
+
: $m,
|
343 |
+
'fluentform'
|
344 |
)
|
345 |
]
|
346 |
]
|
365 |
}
|
366 |
|
367 |
$previousItem = wpFluent()->table('fluentform_submissions')
|
368 |
+
->where('form_id', $formId)
|
369 |
+
->orderBy('id', 'DESC')
|
370 |
+
->first();
|
371 |
|
372 |
$serialNumber = 1;
|
373 |
|
384 |
|
385 |
$ipAddress = $this->app->request->getIp();
|
386 |
|
387 |
+
if ((defined('FLUENTFROM_DISABLE_IP_LOGGING') && FLUENTFROM_DISABLE_IP_LOGGING) || apply_filters('fluentform_disable_ip_logging', false, $formId)) {
|
388 |
$ipAddress = false;
|
389 |
}
|
390 |
|
429 |
|
430 |
return [$rules, $messages];
|
431 |
}
|
432 |
+
|
433 |
+
|
434 |
}
|
app/Modules/Form/Inputs.php
CHANGED
@@ -20,8 +20,6 @@ class Inputs
|
|
20 |
*/
|
21 |
public function __construct(Application $application)
|
22 |
{
|
23 |
-
Acl::verify('fluentform_forms_manager');
|
24 |
-
|
25 |
$this->request = $application->request;
|
26 |
}
|
27 |
|
20 |
*/
|
21 |
public function __construct(Application $application)
|
22 |
{
|
|
|
|
|
23 |
$this->request = $application->request;
|
24 |
}
|
25 |
|
app/Modules/Form/Predefined.php
CHANGED
@@ -14,143 +14,762 @@ class Predefined extends Form
|
|
14 |
private function getPredefinedForms()
|
15 |
{
|
16 |
return array(
|
17 |
-
|
|
|
18 |
'screenshot' => App::publicUrl('img/forms/new_blank.png'),
|
19 |
'createable' => true,
|
20 |
'title' => 'Blank Form',
|
|
|
|
|
21 |
'brief' => '',
|
22 |
'json' => '[{"id":"132","title":"Blank Form","form":{"fields":[],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Form","img_url":""}},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline"}},"notifications":{"name":"Admin Notification Email","sendTo":{"type":"email","email":"{wp.admin_email}","field":"email","routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"[{inputs.names}] New Form Submission","message":"<p>{all_data}<\/p>\n<p>This form submitted at: {embed_post.permalink}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
23 |
),
|
24 |
-
|
|
|
25 |
'screenshot' => App::publicUrl('img/forms/contact_form.png'),
|
26 |
'createable' => true,
|
27 |
'title' => 'Contact Form',
|
28 |
-
'
|
29 |
-
'
|
|
|
|
|
|
|
30 |
),
|
31 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
'screenshot' => App::publicUrl('img/forms/support_form.png'),
|
33 |
'createable' => true,
|
34 |
'title' => 'Support Form',
|
35 |
'brief' => 'Using this support form users can ask questions.',
|
|
|
|
|
36 |
'json' => '[{"id":"4","title":"Support Form","form":{"fields":[{"index":2,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"First Name field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1516797727681"},{"index":7,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":"you@domain.com"},"settings":{"container_class":"","label":"Email","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"Email field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1516797731343"},{"index":3,"element":"select","attributes":{"name":"department","value":"","id":"","class":""},"settings":{"label":"Department","help_message":"","container_class":"","label_placement":"","placeholder":"- Select Department -","validation_rules":{"required":{"value":true,"message":"Department field is required"}},"conditional_logics":[]},"options":{"Web Design":"Web Design","Web Development":"Web Development","WordPress Development":"WordPress Development","DevOps":"DevOps"},"editor_options":{"title":"Dropdown","icon_class":"icon-caret-square-o-down","element":"select","template":"select"},"uniqElKey":"el_1516797735245"},{"index":1,"element":"input_text","attributes":{"type":"text","name":"subject","value":"","class":"","placeholder":"Type your subject"},"settings":{"container_class":"","label":"Subject","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":true,"message":"Subject field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Input","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1516797770161"},{"index":2,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Description","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Textarea","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1516797774136"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Form","img_url":""}},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline"}},"notifications":{"name":"Support Form Notification","sendTo":{"type":"email","email":"{wp.admin_email}","field":null,"routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"{inputs.subject}, Support Form","message":"<p>{all_data}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
37 |
),
|
38 |
-
|
39 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
40 |
'createable' => true,
|
41 |
'title' => 'Event Registration Form',
|
42 |
'brief' => 'Using this registration form you can enable your event to achieve it\'s goal.',
|
|
|
|
|
43 |
'json' => '[{"id":"1","title":"Event Registration Form","form":{"fields":[{"index":2,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"First Name field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1516797727681"},{"index":7,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":"you@domain.com"},"settings":{"container_class":"","label":"Email","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"Email field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1516797731343"},{"index":14,"element":"input_number","attributes":{"type":"number","name":"phone","value":"","id":"","class":"","placeholder":"Your phone number"},"settings":{"container_class":"","label":"Phone","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"Phone field is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"","message":"Minimum value is "},"max":{"value":"","message":"Maximum value is "}},"conditional_logics":[]},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1516798280530"},{"index":1,"element":"input_text","attributes":{"type":"text","name":"company","value":"","class":"","placeholder":"Type your company name"},"settings":{"container_class":"","label":"Company","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"Company field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Input","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1516797770161"},{"index":8,"element":"input_url","attributes":{"type":"url","name":"url","value":"","id":"","class":"","placeholder":"http:\/\/www.google.com"},"settings":{"container_class":"","label":"Website","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"Website field is required"},"url":{"value":true,"message":"This field must contain a valid url"}},"conditional_logics":[]},"editor_options":{"title":"URL","icon_class":"icon-link","template":"inputText"},"uniqElKey":"el_1516798321477"},{"index":2,"element":"textarea","attributes":{"name":"message","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Message (if any)","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Textarea","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1516797774136"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Form","img_url":""}},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline"},"id":"29"},"notifications":{"name":"Event Registration Form Notification","sendTo":{"type":"email","email":"{wp.admin_email}","field":null,"routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"Event Registration Form submitted","message":"<p>{all_data}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
44 |
),
|
45 |
-
'vendor_contact_form'
|
46 |
-
'screenshot' =>
|
47 |
'createable' => true,
|
48 |
'title' => 'Vendor Contact Form',
|
49 |
-
'brief' => 'Easily create a vendor contact form and get
|
|
|
|
|
50 |
'json' => '[{"id":"2","title":"Vendor Contact Form","form":{"fields":[{"index":0,"element":"input_hidden","attributes":{"type":"hidden","name":"hidden","value":"{user.first_name} {user.last_name}"},"settings":{"admin_field_label":"Seller Name"},"editor_options":{"title":"Hidden Field","icon_class":"icon-eye-slash","template":"inputHidden"},"uniqElKey":"el_1559107765827"},{"index":0,"element":"input_hidden","attributes":{"type":"hidden","name":"hidden_1","value":"{user.user_email}"},"settings":{"admin_field_label":"Seller mail"},"editor_options":{"title":"Hidden Field","icon_class":"icon-eye-slash","template":"inputHidden"},"uniqElKey":"el_1559106971216"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Subject","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1559107049204"},{"index":3,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Message","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1559107086831"}],"submitButton":{"uniqElKey":"el_1559106893440","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Form","img_url":""}},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline","cssClassName":""}},"notifications":{"name":"Vendor Contact Form Notification","sendTo":{"type":"email","email":"{wp.admin_email}","field":null,"routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"{inputs.input_text}","message":"<p>{all_data}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
51 |
),
|
52 |
-
'patient_intake_form'
|
53 |
-
'screenshot' =>
|
54 |
'createable' => true,
|
55 |
'title' => 'Patient Intake Form',
|
56 |
'brief' => 'Using this form you can get the patient information with the medical history.',
|
|
|
|
|
57 |
'json' => '[{"id":"6","title":"Patient Intake Form","form":{"fields":[{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Patient Name","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1559109481426"},{"index":6,"element":"input_number","attributes":{"type":"number","name":"numeric-field","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Patient Age","admin_field_label":"Patient Age","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"","message":"Minimum value is "},"max":{"value":"","message":"Maximum value is "}},"conditional_logics":[]},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1559109564397"},{"index":0,"element":"input_name","attributes":{"name":"names_1","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Prefered Name \/ Nickname","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Prefered Name \/ Nickname","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1559109792382"},{"index":7,"element":"select","attributes":{"name":"dropdown","value":"","id":"","class":""},"settings":{"label":"Patient Gender","admin_field_label":"","help_message":"","container_class":"","label_placement":"","placeholder":"- Select -","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Male":"Male","Female":"Female","Others":"Others"},"editor_options":{"title":"Dropdown","icon_class":"icon-caret-square-o-down","element":"select","template":"select"},"uniqElKey":"el_1559109642614"},{"index":6,"element":"input_number","attributes":{"type":"number","name":"numeric-field_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Phone no.","admin_field_label":"Phone no.","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"","message":"Minimum value is "},"max":{"value":"","message":"Maximum value is "}},"conditional_logics":[]},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1559274675098"},{"index":0,"element":"input_name","attributes":{"name":"names_2","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Spouce Name","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Spouce Name","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1559109681450"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"With whome do you live?","label_placement":"","admin_field_label":"With whome do you live?","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1559274086054"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio","value":""},"settings":{"container_class":"","label":"Marital Status","admin_field_label":"Marital Status","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Married":"Married","Unmarried":"Unmarried","other":"other"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1559274134558"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_1","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Marital status(other)","label_placement":"","admin_field_label":"Marital status(other)","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":{"type":"any","status":true,"conditions":[{"field":"input_radio","value":"other","operator":"="}]}},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1559274183772"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_2","value":"","class":"","placeholder":"If retired or disabled enter your last occupation"},"settings":{"container_class":"","label":"Occupation","label_placement":"","admin_field_label":"Occupation","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1559274252192"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio_1","value":""},"settings":{"container_class":"","label":"Retired? ","admin_field_label":"Retired? ","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"yes":"Yes","no":"No"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1559274467432"},{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Date of retirement","admin_field_label":"Date of retirement","label_placement":"","date_format":"m\/d\/y","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":{"type":"any","status":true,"conditions":[{"field":"input_radio_1","value":"yes","operator":"="}]}},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1559274499317"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio_2","value":""},"settings":{"container_class":"","label":"Disability ?","admin_field_label":"Disability ?","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"yes":"Yes","no":"No"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1559274553377"},{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Date of disability","admin_field_label":"Date of disability","label_placement":"","date_format":"m\/d\/y","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":{"type":"any","status":true,"conditions":[{"field":"input_radio_2","value":"yes","operator":"="}]}},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1559274530031"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_3","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Who is your primary care doctor: ","label_placement":"","admin_field_label":"Who is your primary care doctor: ","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1559274621989"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_4","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Where is your primary care doctor located ? ","label_placement":"","admin_field_label":"Where is your primary care doctor located ? ","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1559274635900"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_5","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Phone Number of primary care doctor:","label_placement":"","admin_field_label":"Phone Number of primary care doctor:","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1559274697189"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio_3","value":""},"settings":{"container_class":"","label":"allergic to any medications","admin_field_label":"allergic to any medications","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"yes":"Yes","no":"No"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1559274799405"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_6","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"allergic to any medications","label_placement":"","admin_field_label":"allergic to any medications","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":{"type":"any","status":true,"conditions":[{"field":"input_radio_3","value":"yes","operator":"="}]}},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1559274743792"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio_4","value":""},"settings":{"container_class":"","label":"Do you smoke? ","admin_field_label":"Do you smoke? ","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"yes":"Yes","no":"No"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1559274844179"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_7","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"How many years did you smoke?","label_placement":"","admin_field_label":"How many years did you smoke?","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":{"type":"any","status":true,"conditions":[{"field":"input_radio_4","value":"yes","operator":"="}]}},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1559274869218"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_8","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"If you quit, when did you stop?","label_placement":"","admin_field_label":"If you quit, when did you stop?","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1559274922518"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_9","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Do you drink alcohol? ","label_placement":"","admin_field_label":"Do you drink alcohol? ","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1559274938140"},{"index":3,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Personal opinion","admin_field_label":"Personal opinion","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1559275053975"}],"submitButton":{"uniqElKey":"el_1559109464078","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Form","img_url":""}},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline","cssClassName":""}},"notifications":{"name":"Patient Intake Form Notification","sendTo":{"type":"email","email":"{wp.admin_email}","field":null,"routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"Patient Intake Form Notification","message":"<p>{all_data}<\/p>\n<p> <\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
58 |
),
|
59 |
-
'volunteer_application_form'
|
60 |
-
'screenshot' =>
|
61 |
'createable' => true,
|
62 |
'title' => 'Volunteer Application Form',
|
63 |
'brief' => 'Get volunteer applicants data according to their particular interests with working days.',
|
|
|
|
|
64 |
'json' => '[{"id":"7","title":"Volunteer Application","form":{"fields":[{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1559110051637"},{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Email","label_placement":"","help_message":"","admin_field_label":"Email","validation_rules":{"required":{"value":false,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email Address","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1559110054313"},{"index":6,"element":"input_number","attributes":{"type":"number","name":"numeric-field","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Contact No","admin_field_label":"Contact No","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"","message":"Minimum value is "},"max":{"value":"","message":"Maximum value is "}},"conditional_logics":[]},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1559110059986"},{"index":4,"element":"address","attributes":{"id":"","class":"","name":"address1","data-type":"address-element"},"settings":{"label":"Address","admin_field_label":"","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"fields":{"address_line_1":{"element":"input_text","attributes":{"type":"text","name":"address_line_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Address Line 1","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"address_line_2":{"element":"input_text","attributes":{"type":"text","name":"address_line_2","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Address Line 2","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"city":{"element":"input_text","attributes":{"type":"text","name":"city","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"City","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"state":{"element":"input_text","attributes":{"type":"text","name":"state","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"State","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"zip":{"element":"input_text","attributes":{"type":"text","name":"zip","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Zip Code","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"country":{"element":"select_country","attributes":{"name":"country","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Country","admin_field_label":"","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"country_list":{"active_list":"all","visible_list":[],"hidden_list":[]},"conditional_logics":[]},"options":{"BD":"Bangladesh","US":"US of America"},"editor_options":{"title":"Country List","element":"country-list","icon_class":"icon-text-width","template":"selectCountry"}}},"editor_options":{"title":"Address Fields","element":"address-fields","icon_class":"icon-credit-card","template":"addressFields"},"uniqElKey":"el_1559110065995"},{"index":9,"element":"input_checkbox","attributes":{"type":"checkbox","name":"checkbox","value":[]},"settings":{"container_class":"","label":"Working Days","admin_field_label":"Working Days","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{" Sunday":" Sunday","Satarday":"Satarday","Monday":"Monday","Tuesday":"Tuesday","Wednesday":"Wednesday","Thursday":"Thursday","Friday":"Friday"},"editor_options":{"title":"Check Box","icon_class":"icon-check-square-o","template":"inputCheckbox"},"uniqElKey":"el_1559186288251"},{"index":3,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Area of Interest\/ skills","admin_field_label":"Area of Interest\/ skills","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1559186858825"},{"index":3,"element":"textarea","attributes":{"name":"description_1","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Comments (optional)","admin_field_label":"Comments (optional)","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1559186958391"}],"submitButton":{"uniqElKey":"el_1559110013898","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Application","img_url":""}},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline","cssClassName":""}},"notifications":{"name":"Volunteer Application Notification","sendTo":{"type":"email","email":"{wp.admin_email}","field":null,"routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"Volunteer Application by {inputs.names}","message":"<p>{all_data}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
65 |
),
|
66 |
-
'request_for_quote'
|
67 |
-
'screenshot' =>
|
68 |
'createable' => true,
|
69 |
'title' => 'Request for Quote',
|
70 |
'brief' => 'Get user request for quote using this simple form.',
|
|
|
|
|
71 |
'json' => '[{"id":"9","title":"Request for Quote","form":{"fields":[{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1559111679342"},{"index":6,"element":"input_number","attributes":{"type":"number","name":"numeric-field","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Phone no.","admin_field_label":"Phone no.","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"","message":"Minimum value is "},"max":{"value":"","message":"Maximum value is "}},"conditional_logics":[]},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1559111693607"},{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Email","label_placement":"","help_message":"","admin_field_label":"Email","validation_rules":{"required":{"value":true,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email Address","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1559111716176"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio","value":""},"settings":{"container_class":"","label":"Prefered Method of Contact","admin_field_label":"Prefered Method of Contact","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":{"type":"any","status":true,"conditions":[{"field":"","value":"","operator":""}]}},"options":{"Phone":"Phone","Email":"Email","other":"other"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1559111739945"},{"index":4,"element":"address","attributes":{"id":"","class":"","name":"address1","data-type":"address-element"},"settings":{"label":"Address","admin_field_label":"","conditional_logics":{"type":"any","status":true,"conditions":[{"field":"input_radio","value":"other","operator":"="}]}},"fields":{"address_line_1":{"element":"input_text","attributes":{"type":"text","name":"address_line_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Address Line 1","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"address_line_2":{"element":"input_text","attributes":{"type":"text","name":"address_line_2","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Address Line 2","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"city":{"element":"input_text","attributes":{"type":"text","name":"city","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"City","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"state":{"element":"input_text","attributes":{"type":"text","name":"state","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"State","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"zip":{"element":"input_text","attributes":{"type":"text","name":"zip","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Zip Code","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"country":{"element":"select_country","attributes":{"name":"country","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Country","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"country_list":{"active_list":"all","visible_list":[],"hidden_list":[]},"conditional_logics":[]},"options":{"BD":"Bangladesh","US":"US of America"},"editor_options":{"title":"Country List","element":"country-list","icon_class":"icon-text-width","template":"selectCountry"}}},"editor_options":{"title":"Address Fields","element":"address-fields","icon_class":"icon-credit-card","template":"addressFields"},"uniqElKey":"el_1559111849017"},{"index":3,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Comments","admin_field_label":"Comments","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1559187328513"}],"submitButton":{"uniqElKey":"el_1559111649130","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Form","img_url":""}},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline","cssClassName":""}},"notifications":{"name":"Request for Quote Notification","sendTo":{"type":"email","email":"{wp.admin_email}","field":null,"routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"Request for Quote","message":"<p>{all_data}<\/p>\n<p>Form Submitted successfully.<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
72 |
),
|
73 |
-
'conference_proposal'
|
74 |
-
'screenshot' =>
|
75 |
'createable' => true,
|
76 |
'title' => 'Conference Proposal',
|
77 |
'brief' => 'This sample form is to make a conference proposal efficient and effective.',
|
|
|
|
|
78 |
'json' => '[{"id":"10","title":"Conference Proposal","form":{"fields":[{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1559112198786"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Job Title","label_placement":"","admin_field_label":"Job Title","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1559112216398"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_1","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Company Name","label_placement":"","admin_field_label":"Company Name","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1559112231309"},{"index":3,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Biography","admin_field_label":"Biography","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1559112255236"},{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Email","label_placement":"","help_message":"","admin_field_label":"Email","validation_rules":{"required":{"value":true,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email Address","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1559112265631"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_2","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Proposal Title","label_placement":"","admin_field_label":"Proposal Title","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1559112290259"},{"index":3,"element":"textarea","attributes":{"name":"description_1","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Short Description","admin_field_label":"Short Description","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1559112314875"},{"index":3,"element":"textarea","attributes":{"name":"description_2","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Abstract","admin_field_label":"Abstract","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1559112331026"},{"index":9,"element":"input_checkbox","attributes":{"type":"checkbox","name":"checkbox","value":[]},"settings":{"container_class":"","label":"Topics","admin_field_label":"Topics","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"Topics 1":"Topics 1","Topics 2":"Topics 2","Topics 3":"Topics 3"},"editor_options":{"title":"Check Box","icon_class":"icon-check-square-o","template":"inputCheckbox"},"uniqElKey":"el_1559112363613"},{"index":7,"element":"select","attributes":{"name":"dropdown","value":"","id":"","class":""},"settings":{"label":"Session Type","admin_field_label":"","help_message":"","container_class":"","label_placement":"","placeholder":"- Select -","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Panel":"Panel","Work shop":"Work shop","Presentation":"Presentation","Other":"Other"},"editor_options":{"title":"Dropdown","icon_class":"icon-caret-square-o-down","element":"select","template":"select"},"uniqElKey":"el_1559112402526"},{"index":7,"element":"select","attributes":{"name":"dropdown_1","value":"","id":"","class":""},"settings":{"label":"Audience Level","admin_field_label":"Audience Level","help_message":"","container_class":"","label_placement":"","placeholder":"- Select -","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Novice":"Novice","Intermediate":"Intermediate","Expert":"Expert"},"editor_options":{"title":"Dropdown","icon_class":"icon-caret-square-o-down","element":"select","template":"select"},"uniqElKey":"el_1559112480834"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_3","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Video URL","label_placement":"","admin_field_label":"Video URL","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1559112543915"},{"index":3,"element":"textarea","attributes":{"name":"description_3","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Additional Information","admin_field_label":"Additional Information","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1559112578458"}],"submitButton":{"uniqElKey":"el_1559112181623","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"center","button_style":"green","container_class":"","help_message":"","background_color":"#67C23A","button_size":"lg","color":"#ffffff","button_ui":{"type":"default","text":"Submit Form Data","img_url":""}},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline","cssClassName":""}},"notifications":{"name":"Conference Proposal Notification","sendTo":{"type":"email","email":"{wp.admin_email}","field":null,"routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"Conference Proposal","message":"<p>Your data submitted Successfully<\/p>\n<p>{all_data}<\/p>\n<p> <\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
79 |
),
|
80 |
-
'report_a_bug'
|
81 |
-
'screenshot' =>
|
82 |
'createable' => true,
|
83 |
'title' => 'Report a bug',
|
84 |
-
'brief' => 'You can get user feedback, bug
|
85 |
-
'json' => '[{"id":"11","title":"Report a bug","form":{"fields":[{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Full Name","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Full Name","help_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1559112858212"},{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Enter Your Email Address ","label_placement":"","help_message":"","admin_field_label":"Email Address","validation_rules":{"required":{"value":true,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email Address","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1559112923651"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Title of the Issue","label_placement":"","admin_field_label":"Title of the Issue","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1559112936885"},{"index":7,"element":"select","attributes":{"name":"dropdown","value":"","id":"","class":""},"settings":{"label":"Problem Status","admin_field_label":"Problem Status","help_message":"","container_class":"","label_placement":"","placeholder":"- Select -","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Open":"Open","Hold":"Hold","Fixed":"Fixed","Closed":"Closed","Invalid":"Invalid","Other":"Other"},"editor_options":{"title":"Dropdown","icon_class":"icon-caret-square-o-down","element":"select","template":"select"},"uniqElKey":"el_1559112981010"},{"index":3,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Summary of the Information","admin_field_label":"Summary Information","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1559113034559"},{"index":3,"element":"textarea","attributes":{"name":"description_1","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Steps to Reproduce","admin_field_label":"Steps to Reproduce","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1559113051369"},{"index":3,"element":"textarea","attributes":{"name":"description_2","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Results","admin_field_label":"Results","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1559113074493"},{"index":3,"element":"textarea","attributes":{"name":"description_3","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Regression","admin_field_label":"Regression","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1559113093300"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio","value":""},"settings":{"container_class":"","label":"Is there a Workaround?","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"yes":"Yes","no":"No"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1559113134071"},{"index":3,"element":"textarea","attributes":{"name":"description_4","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Documentation & Notes","admin_field_label":"Documentation & Notes","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1559113248045"},{"index":1,"element":"container","attributes":[],"settings":[],"columns":[{"fields":[{"index":3,"element":"custom_html","attributes":[],"settings":{"html_codes":"<p style=\"text-align: right\">Upload Your documents (if need)<\/p>","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Custom HTML","icon_class":"icon-code","template":"customHTML"},"uniqElKey":"el_1559187803664"}]},{"fields":[{"index":14,"element":"input_file","attributes":{"type":"file","name":"file-upload","value":"","id":"","class":""},"settings":{"container_class":"","label":"","admin_field_label":"Optional documents","label_placement":"right","btn_text":"Choose File","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"max_file_size":{"value":2097152,"_valueFrom":"MB","message":"Maximum file size limit"},"max_file_count":{"value":1,"message":"Max file count"},"allowed_file_types":{"value":["jpg|jpeg|gif|png|bmp","mp3|wav|ogg|wma|mka|m4a|ra|mid|midi","avi|divx|flv|mov|ogv|mkv|mp4|m4v|divx|mpg|mpeg|mpe|video\/quicktime|qt","pdf","doc|ppt|pps|xls|mdb|docx|xlsx|pptx|odt|odp|ods|odg|odc|odb|odf|rtf|txt","zip|gz|gzip|rar|7z","exe","csv"],"message":"allowed_file_types"}},"conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"File Upload","icon_class":"icon-upload","template":"inputFile"},"uniqElKey":"el_1559187757610"}]}],"editor_options":{"title":"Two Column Container","icon_class":"icon-columns"},"uniqElKey":"el_1559187753426"},{"index":7,"element":"select","attributes":{"name":"dropdown_1","value":"","id":"","class":""},"settings":{"label":"Reproducibility","admin_field_label":"Reproducibility","help_message":"","container_class":"","label_placement":"","placeholder":"- Select -","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"I didn\'t try":"I didn\'t try","Rarely":"Rarely","Sometimes":"Sometimes","Always":"Always"},"editor_options":{"title":"Dropdown","icon_class":"icon-caret-square-o-down","element":"select","template":"select"},"uniqElKey":"el_1559113160537"},{"index":7,"element":"select","attributes":{"name":"dropdown_3","value":"","id":"","class":""},"settings":{"label":"Classification of Bug","admin_field_label":"Classification of Bug","help_message":"","container_class":"","label_placement":"","placeholder":"- Select -","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Security":"Security","Crash \/Hang \/Data loss":"Crash \/Hang \/Data loss","Performance \/Ui-Usability":"Performance \/Ui-Usability","Serious Bug":"Serious Bug","Other Bug":"Other Bug","Feature (New)":"Feature (New)","Enhancement":"Enhancement"},"editor_options":{"title":"Dropdown","icon_class":"icon-caret-square-o-down","element":"select","template":"select"},"uniqElKey":"el_1559113361150"},{"index":7,"element":"select","attributes":{"name":"dropdown_2","value":"","id":"","class":""},"settings":{"label":"How severe it is?","admin_field_label":"How severe it is?","help_message":"","container_class":"","label_placement":"","placeholder":"- Select -","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Trivial":"Trivial","Normal":"Normal","Major":"Major","Critical":"Critical"},"editor_options":{"title":"Dropdown","icon_class":"icon-caret-square-o-down","element":"select","template":"select"},"uniqElKey":"el_1559113271926"}],"submitButton":{"uniqElKey":"el_1559112849800","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"orange","container_class":"","help_message":"","background_color":"#E6A23C","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Bug Report","img_url":""}},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline","cssClassName":""}},"notifications":{"name":"Bug Report Notification","sendTo":{"type":"email","email":"{wp.admin_email}","field":null,"routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"New Bug Reported","message":"<p>{all_data}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
86 |
-
|
87 |
-
'polling_form' => array(
|
88 |
-
'screenshot' => App::publicUrl('img/forms/polling_form.png'),
|
89 |
-
'createable' => true,
|
90 |
-
'title' => 'Polling Form',
|
91 |
-
'brief' => 'A sample polling form to get user opinion from your scheduled time.',
|
92 |
-
'json' => '[{"id":"14","title":"Polling Form","form":{"fields":[{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Full Name","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Full Name","help_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1559116201333"},{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Email","label_placement":"","help_message":"","admin_field_label":"Email","validation_rules":{"required":{"value":true,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email Address","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1559116203187"},{"index":9,"element":"input_checkbox","attributes":{"type":"checkbox","name":"checkbox","value":[]},"settings":{"container_class":"","label":"Which game you want to play?","admin_field_label":"Which game you want to play?","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Football":"Football","Cricket":"Cricket","Hocky":"Hocky"},"editor_options":{"title":"Check Box","icon_class":"icon-check-square-o","template":"inputCheckbox"},"uniqElKey":"el_1559116572343"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio_1","value":""},"settings":{"container_class":"","label":"Time of the match?","admin_field_label":"Time of the match?","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Morning":"Morning","Afternoon":"Afternoon","Any time":"Any time"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1559116394587"},{"index":3,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Put your suggestion (optional)","admin_field_label":"suggestions","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1559188488518"}],"submitButton":{"uniqElKey":"el_1559116097684","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"green","container_class":"","help_message":"","background_color":"#67C23A","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Your opinion","img_url":""}},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline","cssClassName":""}},"notifications":{"name":"Polling Form Notification","sendTo":{"type":"email","email":"{wp.admin_email}","field":null,"routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"Polling Form","message":"<p>{all_data}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
93 |
),
|
94 |
-
'tell_a_friend_form'
|
95 |
-
'screenshot' =>
|
96 |
'createable' => true,
|
97 |
'title' => 'Tell A Friend Form',
|
98 |
'brief' => 'Get text from you site users.',
|
|
|
|
|
99 |
'json' => '[{"id":"15","title":"Tell A Friend Form","form":{"fields":[{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1559117552587"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"To","label_placement":"","admin_field_label":"To","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1559117572857"},{"index":3,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Message","admin_field_label":"Message","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1559117587626"}],"submitButton":{"uniqElKey":"el_1559117545661","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"center","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Send Message","img_url":""}},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline","cssClassName":""}},"notifications":{"name":"Tell A Friend Form Notification","sendTo":{"type":"email","email":"{wp.admin_email}","field":null,"routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"Text submitted","message":"<p>{all_data}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
100 |
),
|
101 |
-
'directory_information_form'
|
102 |
-
'screenshot' =>
|
103 |
'createable' => true,
|
104 |
'title' => 'Directory Information Form',
|
105 |
-
'brief' => 'This form allows you to get the directory
|
|
|
|
|
106 |
'json' => '[{"id":"16","title":"My Directory Information","form":{"fields":[{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1559117767222"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Username","label_placement":"","admin_field_label":"Username","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1559117793585"},{"index":11,"element":"input_url","attributes":{"type":"url","name":"url","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Site Address","admin_field_label":"Address","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"},"url":{"value":true,"message":"This field must contain a valid url"}},"conditional_logics":[]},"editor_options":{"title":"Website URL","icon_class":"icon-link","template":"inputText"},"uniqElKey":"el_1559117830376"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio","value":"no"},"settings":{"container_class":"","label":"Do you want to share your password?","admin_field_label":"Agree to share password","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"options":{"yes":"Yes","no":"No"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1559188732753"},{"index":12,"element":"input_password","attributes":{"type":"password","name":"password","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Enter your password","admin_field_label":"password","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":{"type":"any","status":true,"conditions":[{"field":"input_radio","value":"yes","operator":"="}]}},"editor_options":{"title":"Password Field","icon_class":"icon-lock","template":"inputText"},"uniqElKey":"el_1559188774833"}],"submitButton":{"uniqElKey":"el_1559117761747","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Informations","img_url":""}},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline","cssClassName":""}},"notifications":{"name":"Directory Information Notification","sendTo":{"type":"email","email":"{wp.admin_email}","field":null,"routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"Directory Information submited","message":"<p>{all_data}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
107 |
),
|
108 |
-
'request_for_leave'
|
109 |
-
'screenshot' =>
|
110 |
'createable' => true,
|
111 |
'title' => 'Request for Leave',
|
|
|
|
|
112 |
'brief' => 'Receive leave requests from your employee instantly.',
|
113 |
'json' => '[{"id":"18","title":"Request for Leave","form":{"fields":[{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1559119229242"},{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Email address(optional)","label_placement":"","help_message":"","admin_field_label":"Email address","validation_rules":{"required":{"value":false,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email Address","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1559189778769"},{"index":6,"element":"input_number","attributes":{"type":"number","name":"numeric-field","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Contact no.","admin_field_label":"Contact no.","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"","message":"Minimum value is "},"max":{"value":"","message":"Maximum value is "}},"conditional_logics":[]},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1559275288135"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Position","label_placement":"","admin_field_label":"Position","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1559119248104"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_1","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Manager","label_placement":"","admin_field_label":"Manager","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1559119277903"},{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Leave Start ","admin_field_label":"Leave Start ","label_placement":"","date_format":"d\/m\/Y","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1559119287246"},{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Leave End","admin_field_label":"Leave End","label_placement":"","date_format":"d\/m\/Y","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1559119907871"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio","value":""},"settings":{"container_class":"","label":"Leave Type ","admin_field_label":"Leave Type ","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Vacation":"Vacation","Sick":"Sick","Quitting":"Quitting","Maternity\/Paternity":"Maternity\/Paternity","Other":"Other"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1559119926213"},{"index":3,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Comments","admin_field_label":"Comments","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1559119977368"}],"submitButton":{"uniqElKey":"el_1559119222045","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Apply For Leave","img_url":""}},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline","cssClassName":""}},"notifications":{"name":"Request for Leave Notification","sendTo":{"type":"email","email":"{wp.admin_email}","field":null,"routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"New Request for Leave","message":"<p>{all_data}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
114 |
),
|
115 |
-
'admission_form'
|
116 |
-
'screenshot' =>
|
117 |
'createable' => true,
|
118 |
'is_pro' => true,
|
119 |
-
'title' => 'Admissions Form
|
120 |
'brief' => 'Receive new admission students data along with their documents using this sample admission form.',
|
121 |
-
'
|
|
|
|
|
122 |
),
|
123 |
-
'loan_application_form'
|
124 |
-
'screenshot' =>
|
125 |
'createable' => true,
|
126 |
-
'title' => 'Loan Application Form
|
127 |
'is_pro' => true,
|
128 |
'brief' => 'Get loan application from applicants with their detail information.',
|
129 |
-
'json' => '[{"id":"8","title":"Loan Application (Pro)","form":{"fields":[{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"Personal Information","description":"","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1559207413587"},{"index":7,"element":"select","attributes":{"name":"dropdown","value":"","id":"","class":""},"settings":{"label":"Title","admin_field_label":"Title","help_message":"","container_class":"","label_placement":"","placeholder":"- Select -","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Mr":"Mr","Mrs":"Mrs","Ms":"Ms"},"editor_options":{"title":"Dropdown","icon_class":"icon-caret-square-o-down","element":"select","template":"select"},"uniqElKey":"el_1559110533621"},{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1559110355217"},{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Birth Date","admin_field_label":"Birth Date","label_placement":"","date_format":"d.m.Y","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1559110597665"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio","value":""},"settings":{"container_class":"","label":"Marital Status","admin_field_label":"Marital Status","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Single":"Single","Married":"Married","Other":"Other"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1559110647827"},{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Email","label_placement":"","help_message":"","admin_field_label":"Applicant Email","validation_rules":{"required":{"value":true,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email Address","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1559110700355"},{"index":6,"element":"input_number","attributes":{"type":"number","name":"numeric-field","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Phone no.","admin_field_label":"Phone no.","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"","message":"Minimum value is "},"max":{"value":"","message":"Maximum value is "}},"conditional_logics":[]},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1559110739318"},{"index":4,"element":"address","attributes":{"id":"","class":"","name":"address1","data-type":"address-element"},"settings":{"label":"Address","admin_field_label":"","conditional_logics":[]},"fields":{"address_line_1":{"element":"input_text","attributes":{"type":"text","name":"address_line_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Address Line 1","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"address_line_2":{"element":"input_text","attributes":{"type":"text","name":"address_line_2","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Address Line 2","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"city":{"element":"input_text","attributes":{"type":"text","name":"city","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"City","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"state":{"element":"input_text","attributes":{"type":"text","name":"state","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"State","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"zip":{"element":"input_text","attributes":{"type":"text","name":"zip","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Zip Code","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"country":{"element":"select_country","attributes":{"name":"country","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Country","admin_field_label":"","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"country_list":{"active_list":"all","visible_list":[],"hidden_list":[]},"conditional_logics":[]},"options":{"BD":"Bangladesh","US":"US of America"},"editor_options":{"title":"Country List","element":"country-list","icon_class":"icon-text-width","template":"selectCountry"}}},"editor_options":{"title":"Address Fields","element":"address-fields","icon_class":"icon-credit-card","template":"addressFields"},"uniqElKey":"el_1559110782924"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio_1","value":""},"settings":{"container_class":"","label":"How long have you lived in your given address? ","admin_field_label":"Lived in this address (years)","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"0-1 years":"0-1 years","1-2 years":"1-2 years","2-3 years":"2-3 years","3-4 years":"3-4 years","5+ years":"5+ years"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1559110849005"},{"index":7,"element":"form_step","attributes":{"id":"","class":""},"settings":{"prev_btn":{"type":"default","text":"Previous","img_url":""},"next_btn":{"type":"default","text":"Next","img_url":""}},"editor_options":{"title":"Form Step","icon_class":"icon-step-forward","template":"formStep"},"uniqElKey":"el_1559207478467"},{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"Employment Information","description":"Put Your Employment Information bellow,\nPlease fill all the required.","align":"center","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1559110949366"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Present Employer ","label_placement":"","admin_field_label":"Present Employer ","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1559111023883"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_1","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Occupation","label_placement":"","admin_field_label":"Occupation","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1559111049075"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio_2","value":""},"settings":{"container_class":"","label":"Experience of work (years)","admin_field_label":"Experience of work (years)","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"0-1 years":"0-1 years","1-2 years":"1-2 years","2-3 years":"2-3 years","3-4 years":"3-4 years","5+ years":"5+ years"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1559111110100"},{"index":6,"element":"input_number","attributes":{"type":"number","name":"numeric-field_1","value":"","id":"","class":"","placeholder":"Ex 15000"},"settings":{"container_class":"","label":"Gross monthly income ","admin_field_label":"Gross monthly income ","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"","message":"Minimum value is "},"max":{"value":"","message":"Maximum value is "}},"conditional_logics":[]},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1559111169812"},{"index":6,"element":"input_number","attributes":{"type":"number","name":"numeric-field_2","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Monthly rent\/mortgage","admin_field_label":"Monthly rent\/mortgage","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"","message":"Minimum value is "},"max":{"value":"","message":"Maximum value is "}},"conditional_logics":[]},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1559111225701"},{"index":6,"element":"input_number","attributes":{"type":"number","name":"numeric-field_3","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Down Payment Amount","admin_field_label":"Down Payment Amount","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"","message":"Minimum value is "},"max":{"value":"","message":"Maximum value is "}},"conditional_logics":[]},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1559111277768"},{"index":3,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"Put your comments here (optional)","rows":4,"cols":2},"settings":{"container_class":"","label":"Comments","admin_field_label":"Comments","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1559111302333"},{"index":5,"element":"terms_and_condition","attributes":{"type":"checkbox","name":"terms-n-condition","value":false,"class":""},"settings":{"tnc_html":"I have read and agree to the <a href=\"#\">Terms and Conditions<\/a> and <a href=\"#\">Privacy Policy<\/a>","has_checkbox":true,"admin_field_label":"Terms and Conditions","container_class":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Terms & Conditions","icon_class":"icon-check-square-o","template":"termsCheckbox"},"uniqElKey":"el_1559111347132"}],"submitButton":{"uniqElKey":"el_1559110346631","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Form","img_url":""}},"editor_options":{"title":"Submit Button"}},"stepsWrapper":{"stepStart":{"element":"step_start","attributes":{"id":"","class":""},"settings":{"progress_indicator":"","step_titles":[]},"editor_options":{"title":"Start Paging"}},"stepEnd":{"element":"step_end","attributes":{"id":"","class":""},"settings":{"prev_btn":{"type":"default","text":"Previous","img_url":""}},"editor_options":{"title":"End Paging"}}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline","cssClassName":""}},"notifications":{"name":"Loan Application Form Notification","sendTo":{"type":"email","email":"{wp.admin_email}","field":null,"routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"Loan Application Form submited","message":"<p>{all_data}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
|
|
|
|
130 |
),
|
131 |
-
'job_listing_form'
|
132 |
-
'screenshot' =>
|
133 |
'createable' => true,
|
134 |
-
'title' => 'Job Listing Form
|
135 |
'is_pro' => true,
|
136 |
'brief' => 'Get application and uploaded resume from online applicants.',
|
137 |
-
'json' => '[{"id":"17","title":"Job Listing Form (Pro)","form":{"fields":[{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"Personal informations","description":"","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1559205807740"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Company Name","label_placement":"","admin_field_label":"Company Name","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1559118283900"},{"index":7,"element":"select","attributes":{"name":"dropdown","value":"","id":"","class":""},"settings":{"label":"Salutation","admin_field_label":"Salutation","help_message":"","container_class":"","label_placement":"","placeholder":"- Select -","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"Mr":"Mr","Mrs":"Mrs","Miss":"Miss","Ms.":"Ms.","Dr.":"Dr.","Prof.":"Prof."},"editor_options":{"title":"Dropdown","icon_class":"icon-caret-square-o-down","element":"select","template":"select"},"uniqElKey":"el_1559118312135"},{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1559118403552"},{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Email address","label_placement":"","help_message":"","admin_field_label":"Email address","validation_rules":{"required":{"value":false,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email Address","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1559205920436"},{"index":5,"element":"terms_and_condition","attributes":{"type":"checkbox","name":"terms-n-condition","value":false,"class":""},"settings":{"tnc_html":"Agree to show contact information in public posting (optional)","has_checkbox":true,"admin_field_label":"Terms and Conditions","container_class":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Terms & Conditions","icon_class":"icon-check-square-o","template":"termsCheckbox"},"uniqElKey":"el_1559118426293"},{"index":7,"element":"form_step","attributes":{"id":"","class":""},"settings":{"prev_btn":{"type":"default","text":"Previous","img_url":""},"next_btn":{"type":"default","text":"Next","img_url":""}},"editor_options":{"title":"Form Step","icon_class":"icon-step-forward","template":"formStep"},"uniqElKey":"el_1559189413198"},{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"Information of your Position ","description":"","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1559118465186"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_1","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Company Name","label_placement":"","admin_field_label":"Company Name","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1559118495931"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_2","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Department \/ Division","label_placement":"","admin_field_label":"Department \/ Division","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1559118508878"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_3","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Position Title","label_placement":"","admin_field_label":"Position Title","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1559118527032"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_4","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Reference Number","label_placement":"","admin_field_label":"Reference Number","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1559118539776"},{"index":11,"element":"input_url","attributes":{"type":"url","name":"url","value":"","class":"","placeholder":"ex. http:\/\/www.example.com\/"},"settings":{"container_class":"","label":"Job Posting Url","admin_field_label":"Job Posting Url","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"url":{"value":true,"message":"This field must contain a valid url"}},"conditional_logics":[]},"editor_options":{"title":"Website URL","icon_class":"icon-link","template":"inputText"},"uniqElKey":"el_1559118552911"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_5","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Salary Details","label_placement":"","admin_field_label":"Salary Details","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1559118570345"},{"index":5,"element":"terms_and_condition","attributes":{"type":"checkbox","name":"terms-n-condition_1","value":false,"class":""},"settings":{"tnc_html":"Salary Negotiable","has_checkbox":true,"admin_field_label":"Salary Negotiable","container_class":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Terms & Conditions","icon_class":"icon-check-square-o","template":"termsCheckbox"},"uniqElKey":"el_1559118595891"},{"index":7,"element":"select","attributes":{"name":"dropdown_1","value":"","id":"","class":""},"settings":{"label":"Type of Employment","admin_field_label":"Type of Employment","help_message":"","container_class":"","label_placement":"","placeholder":"- Select -","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"Full time":"Full time","Part time":"Part time"},"editor_options":{"title":"Dropdown","icon_class":"icon-caret-square-o-down","element":"select","template":"select"},"uniqElKey":"el_1559118624957"},{"index":7,"element":"select","attributes":{"name":"dropdown_2","value":"","id":"","class":""},"settings":{"label":"Type of Contract","admin_field_label":"","help_message":"","container_class":"","label_placement":"","placeholder":"- Select -","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"permanent":"permanent","Term\/Contract":"Term\/Contract","Locum":"Locum"},"editor_options":{"title":"Dropdown","icon_class":"icon-caret-square-o-down","element":"select","template":"select"},"uniqElKey":"el_1559118667887"},{"index":7,"element":"select","attributes":{"name":"dropdown_3","value":"","id":"","class":""},"settings":{"label":"Type Of the Position","admin_field_label":"Type Of the Position","help_message":"","container_class":"","label_placement":"","placeholder":"- Select -","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"Academic":"Academic","Administrative":"Administrative","Obstetrics":"Obstetrics","Gynaecology":"Gynaecology","Obstetrics\/Gynaecology":"Obstetrics\/Gynaecology","Other":"Other"},"editor_options":{"title":"Dropdown","icon_class":"icon-caret-square-o-down","element":"select","template":"select"},"uniqElKey":"el_1559118729498"},{"index":3,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Job Summary","admin_field_label":"Job Summary","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1559118826214"},{"index":3,"element":"textarea","attributes":{"name":"description_1","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Roles and Responsibilities","admin_field_label":"Roles and Responsibilities","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1559118841680"},{"index":3,"element":"textarea","attributes":{"name":"description_2","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Skills and Competencies","admin_field_label":"Skills and Competencies","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1559118857624"},{"index":3,"element":"textarea","attributes":{"name":"description_3","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Education and Experience","admin_field_label":"Education and Experience","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1559118873772"},{"index":3,"element":"textarea","attributes":{"name":"description_4","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Other","admin_field_label":"Other","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1559118895131"},{"index":14,"element":"input_file","attributes":{"type":"file","name":"file-upload","value":"","id":"","class":""},"settings":{"container_class":"","label":"Upload your Cv","admin_field_label":"CV","label_placement":"right","btn_text":"Choose File","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"max_file_size":{"value":5242880,"_valueFrom":"MB","message":"Maximum file size limit"},"max_file_count":{"value":"-1","message":"Max file count"},"allowed_file_types":{"value":["pdf"],"message":"allowed_file_types"}},"conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"File Upload","icon_class":"icon-upload","template":"inputFile"},"uniqElKey":"el_1559282340628"},{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Start Date of Employment","admin_field_label":"Start Date of Employment","label_placement":"","date_format":"M\/d\/Y","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1559118920295"},{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Application Deadline","admin_field_label":"Application Deadline","label_placement":"","date_format":"M\/d\/Y","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1559118959353"},{"index":7,"element":"form_step","attributes":{"id":"","class":""},"settings":{"prev_btn":{"type":"default","text":"Previous","img_url":""},"next_btn":{"type":"default","text":"Next","img_url":""}},"editor_options":{"title":"Form Step","icon_class":"icon-step-forward","template":"formStep"},"uniqElKey":"el_1559189453510"},{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"Payment Information","description":"","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1559118987496"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio","value":""},"settings":{"container_class":"","label":"Salary Amount","admin_field_label":"Salary Amount","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{" $ 400.00 - 1 Month Posting Duration":" $ 400.00 - 1 Month Posting Duration","$ 600.00 - 2 Month Posting Duration":"$ 600.00 - 2 Month Posting Duration"," $ 900.00 - 3 Month Posting Duration":" $ 900.00 - 3 Month Posting Duration","other":"other"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1559119006582"},{"index":6,"element":"input_number","attributes":{"type":"number","name":"numeric-field","value":"","id":"","class":"","placeholder":"Ex. 1000 "},"settings":{"container_class":"","label":"salary amount ($)","admin_field_label":"salary amount","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"","message":"Minimum value is "},"max":{"value":"","message":"Maximum value is "}},"conditional_logics":{"type":"any","status":true,"conditions":[{"field":"input_radio","value":"other","operator":"="}]}},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1559189169554"}],"submitButton":{"uniqElKey":"el_1559118268163","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Form","img_url":""}},"editor_options":{"title":"Submit Button"}},"stepsWrapper":{"stepStart":{"element":"step_start","attributes":{"id":"","class":""},"settings":{"progress_indicator":"","step_titles":[]},"editor_options":{"title":"Start Paging"}},"stepEnd":{"element":"step_end","attributes":{"id":"","class":""},"settings":{"prev_btn":{"type":"default","text":"Previous","img_url":""}},"editor_options":{"title":"End Paging"}}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline","cssClassName":""}},"notifications":{"name":"Job Listing Form Notification","sendTo":{"type":"email","email":"{wp.admin_email}","field":null,"routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"Job Listing Form submission","message":"<p>{all_data}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
|
|
|
|
138 |
),
|
139 |
-
'website_feedback'
|
140 |
-
'screenshot' =>
|
141 |
'createable' => true,
|
142 |
-
'title' => 'Website Feedback
|
143 |
'is_pro' => true,
|
144 |
'brief' => 'To make effective for your site users, you may get the feedback and suggestions using this sample form.',
|
145 |
-
'
|
146 |
-
|
147 |
-
|
148 |
-
'screenshot' => App::publicUrl('img/forms/comment_rating.png'),
|
149 |
-
'createable' => true,
|
150 |
-
'title' => 'Comment & Rating Form (Pro)',
|
151 |
-
'is_pro' => true,
|
152 |
-
'brief' => 'Get user ratings and feedback instantly.',
|
153 |
-
'json' => '[{"id":"13","title":"Comment & Rating (Pro)","form":{"fields":[{"index":8,"element":"ratings","attributes":{"class":"","value":0,"name":"ratings"},"settings":{"label":"Your Ratings","show_text":false,"help_message":"","label_placement":"","admin_field_label":"","container_class":"","conditional_logics":[],"validation_rules":{"required":{"value":true,"message":"This field is required"}}},"options":{"1":"Nice","2":"Good","3":"Very Good","4":"Awesome","5":"Amazing"},"editor_options":{"title":"Ratings","icon_class":"icon-eye-slash","template":"ratings"},"uniqElKey":"el_1559114708603"},{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Your Name (optional)","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1559114691660"},{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Email address (optional)","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email Address","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1559188418772"},{"index":3,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Comments","admin_field_label":"Comments","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1559114740479"}],"submitButton":{"uniqElKey":"el_1559114683138","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"green","container_class":"","help_message":"","background_color":"#67C23A","button_size":"lg","color":"#ffffff","button_ui":{"type":"default","text":"Submit Ratings","img_url":""}},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline","cssClassName":""}},"notifications":{"name":"Comment & Rating Form Notification","sendTo":{"type":"email","email":"{wp.admin_email}","field":null,"routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"Comment & Rating ","message":"<p>{all_data}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
154 |
),
|
155 |
);
|
156 |
}
|
@@ -163,22 +782,42 @@ class Predefined extends Form
|
|
163 |
if (!App\Modules\Acl\Acl::hasAnyFormPermission()) {
|
164 |
return [];
|
165 |
}
|
166 |
-
$data = array(
|
|
|
|
|
167 |
foreach ($this->getPredefinedForms() as $key => $item) {
|
168 |
-
$jsonArray = json_decode($item['json'], true);
|
169 |
-
$jsonArray = $jsonArray[0];
|
170 |
|
171 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
172 |
'brief' => $item['brief'],
|
173 |
'is_pro' => ArrayHelper::get($item, 'is_pro'),
|
174 |
-
'title' => $
|
175 |
-
'
|
|
|
176 |
'screenshot' => $item['screenshot'],
|
|
|
177 |
'createable' => $item['createable'],
|
178 |
);
|
179 |
}
|
180 |
-
$
|
181 |
-
wp_send_json(
|
|
|
|
|
|
|
182 |
}
|
183 |
|
184 |
/**
|
@@ -211,5 +850,6 @@ class Predefined extends Form
|
|
211 |
'message' => __("The selected template couldn't be found.", 'fluentform')
|
212 |
], 422);
|
213 |
}
|
|
|
214 |
}
|
215 |
|
14 |
private function getPredefinedForms()
|
15 |
{
|
16 |
return array(
|
17 |
+
|
18 |
+
'blank_form' => array(
|
19 |
'screenshot' => App::publicUrl('img/forms/new_blank.png'),
|
20 |
'createable' => true,
|
21 |
'title' => 'Blank Form',
|
22 |
+
'tag' => ["blank"],
|
23 |
+
'category' => 'Basic',
|
24 |
'brief' => '',
|
25 |
'json' => '[{"id":"132","title":"Blank Form","form":{"fields":[],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Form","img_url":""}},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline"}},"notifications":{"name":"Admin Notification Email","sendTo":{"type":"email","email":"{wp.admin_email}","field":"email","routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"[{inputs.names}] New Form Submission","message":"<p>{all_data}<\/p>\n<p>This form submitted at: {embed_post.permalink}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
26 |
),
|
27 |
+
|
28 |
+
'basic_contact_form' => array(
|
29 |
'screenshot' => App::publicUrl('img/forms/contact_form.png'),
|
30 |
'createable' => true,
|
31 |
'title' => 'Contact Form',
|
32 |
+
'is_pro' => false,
|
33 |
+
'brief' => 'Create a basic contact form',
|
34 |
+
'category' => "Basic",
|
35 |
+
'tag' => ["contact", "registration", "form", "basic"],
|
36 |
+
'json' => '[{"id":"15","title":"Contact Form Demo","form":{"fields":[{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":"First Name"},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"Last Name","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"ff-edit-name","template":"nameFields"},"uniqElKey":"el_1570866006692"},{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":"Email Address"},"settings":{"container_class":"","label":"Email","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":true,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email Address","icon_class":"ff-edit-email","template":"inputText"},"uniqElKey":"el_1570866012914"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"subject","value":"","class":"","placeholder":"Subject"},"settings":{"container_class":"","label":"Subject","label_placement":"","admin_field_label":"Subject","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Simple Text","icon_class":"ff-edit-text","template":"inputText"},"uniqElKey":"el_1570878958648"},{"index":3,"element":"textarea","attributes":{"name":"message","value":"","id":"","class":"","placeholder":"Your Message","rows":4,"cols":2},"settings":{"container_class":"","label":"Your Message","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Text Area","icon_class":"ff-edit-textarea","template":"inputTextarea"},"uniqElKey":"el_1570879001207"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Form","img_url":""}},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline","asteriskPlacement":"asterisk-left"},"id":"39"},"notifications":{"name":"Admin Notification Email","sendTo":{"type":"email","email":"{wp.admin_email}","field":"email","routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"[{inputs.names}] New Form Submission","message":"<p>{all_data}<\/p>\n<p>This form submitted at: {embed_post.permalink}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
37 |
),
|
38 |
+
|
39 |
+
//form number : 84
|
40 |
+
'newsletter_form' => array(
|
41 |
+
'screenshot' => App::publicUrl('img/forms/comment_rating.png'),
|
42 |
+
'createable' => true,
|
43 |
+
'title' => 'Newsletter Form',
|
44 |
+
'is_pro' => false,
|
45 |
+
'brief' => 'This form can be used to create newsletters.',
|
46 |
+
'category' => "Basic",
|
47 |
+
'tag' => ["Newsletter", "website", "tech", "subscriber"],
|
48 |
+
'json' => '[{"id":"84","title":"Newsletter Form","form":{"fields":[{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"","description":"<h3 style=\"text-align: center;\">Subscribe to our newsletter<\/h3>\n<p style=\"text-align: center;\">Welcome to our Newsletter Subscription Center. Sign up in the newsletter form below to receive the latest news and updates from our company.<\/p>","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1570690779710"},{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1570702292674"},{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Email","label_placement":"left","help_message":"N:B: We will send you an email describing how to activate your newsletter subscription.","admin_field_label":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Email Address","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1570690876531"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"right","button_style":"red","container_class":"","help_message":"","background_color":"#F56C6C","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Subscribe","img_url":""},"normal_styles":{},"hover_styles":{},"current_state":"normal_styles"},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Lets hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline"}},"notifications":{"name":"Admin Notification Email","sendTo":{"type":"email","email":"{wp.admin_email}","field":"email","routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"[{inputs.names}] New Form Submission","message":"<p>{all_data}<\/p>\n<p>This form submitted at: {embed_post.permalink}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
49 |
+
),
|
50 |
+
|
51 |
+
'support_form' => array(
|
52 |
'screenshot' => App::publicUrl('img/forms/support_form.png'),
|
53 |
'createable' => true,
|
54 |
'title' => 'Support Form',
|
55 |
'brief' => 'Using this support form users can ask questions.',
|
56 |
+
'category' => "Basic",
|
57 |
+
'tag' => ["support", "request", "contact"],
|
58 |
'json' => '[{"id":"4","title":"Support Form","form":{"fields":[{"index":2,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"First Name field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1516797727681"},{"index":7,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":"you@domain.com"},"settings":{"container_class":"","label":"Email","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"Email field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1516797731343"},{"index":3,"element":"select","attributes":{"name":"department","value":"","id":"","class":""},"settings":{"label":"Department","help_message":"","container_class":"","label_placement":"","placeholder":"- Select Department -","validation_rules":{"required":{"value":true,"message":"Department field is required"}},"conditional_logics":[]},"options":{"Web Design":"Web Design","Web Development":"Web Development","WordPress Development":"WordPress Development","DevOps":"DevOps"},"editor_options":{"title":"Dropdown","icon_class":"icon-caret-square-o-down","element":"select","template":"select"},"uniqElKey":"el_1516797735245"},{"index":1,"element":"input_text","attributes":{"type":"text","name":"subject","value":"","class":"","placeholder":"Type your subject"},"settings":{"container_class":"","label":"Subject","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":true,"message":"Subject field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Input","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1516797770161"},{"index":2,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Description","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Textarea","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1516797774136"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Form","img_url":""}},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline"}},"notifications":{"name":"Support Form Notification","sendTo":{"type":"email","email":"{wp.admin_email}","field":null,"routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"{inputs.subject}, Support Form","message":"<p>{all_data}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
59 |
),
|
60 |
+
|
61 |
+
'polling_form' => array(
|
62 |
+
'screenshot' => App::publicUrl('img/forms/polling_form.png'),
|
63 |
+
'createable' => true,
|
64 |
+
'title' => 'Polling Form',
|
65 |
+
'brief' => 'A sample polling form to get user opinion from your scheduled time.',
|
66 |
+
'category' => "Basic",
|
67 |
+
'tag' => ["poll", "vote", "quiz", "test"],
|
68 |
+
'json' => '[{"id":"14","title":"Polling Form","form":{"fields":[{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Full Name","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Full Name","help_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1559116201333"},{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Email","label_placement":"","help_message":"","admin_field_label":"Email","validation_rules":{"required":{"value":true,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email Address","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1559116203187"},{"index":9,"element":"input_checkbox","attributes":{"type":"checkbox","name":"checkbox","value":[]},"settings":{"container_class":"","label":"Which game you want to play?","admin_field_label":"Which game you want to play?","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Football":"Football","Cricket":"Cricket","Hocky":"Hocky"},"editor_options":{"title":"Check Box","icon_class":"icon-check-square-o","template":"inputCheckbox"},"uniqElKey":"el_1559116572343"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio_1","value":""},"settings":{"container_class":"","label":"Time of the match?","admin_field_label":"Time of the match?","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Morning":"Morning","Afternoon":"Afternoon","Any time":"Any time"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1559116394587"},{"index":3,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Put your suggestion (optional)","admin_field_label":"suggestions","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1559188488518"}],"submitButton":{"uniqElKey":"el_1559116097684","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"green","container_class":"","help_message":"","background_color":"#67C23A","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Your opinion","img_url":""}},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline","cssClassName":""}},"notifications":{"name":"Polling Form Notification","sendTo":{"type":"email","email":"{wp.admin_email}","field":null,"routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"Polling Form","message":"<p>{all_data}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
69 |
+
),
|
70 |
+
|
71 |
+
'comment_rating_form' => array(
|
72 |
+
'screenshot' => '',
|
73 |
+
'createable' => true,
|
74 |
+
'title' => 'Comment & Rating Form',
|
75 |
+
'is_pro' => true,
|
76 |
+
'brief' => 'Get user ratings and feedback instantly.',
|
77 |
+
'category' => "Product",
|
78 |
+
'tag' => ["rating", "comment", "social", "feedback"],
|
79 |
+
'json' => '[{"id":"13","title":"Comment & Rating","form":{"fields":[{"index":8,"element":"ratings","attributes":{"class":"","value":0,"name":"ratings"},"settings":{"label":"Your Ratings","show_text":false,"help_message":"","label_placement":"","admin_field_label":"","container_class":"","conditional_logics":[],"validation_rules":{"required":{"value":true,"message":"This field is required"}}},"options":{"1":"Nice","2":"Good","3":"Very Good","4":"Awesome","5":"Amazing"},"editor_options":{"title":"Ratings","icon_class":"icon-eye-slash","template":"ratings"},"uniqElKey":"el_1559114708603"},{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Your Name (optional)","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1559114691660"},{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Email address (optional)","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email Address","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1559188418772"},{"index":3,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Comments","admin_field_label":"Comments","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1559114740479"}],"submitButton":{"uniqElKey":"el_1559114683138","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"green","container_class":"","help_message":"","background_color":"#67C23A","button_size":"lg","color":"#ffffff","button_ui":{"type":"default","text":"Submit Ratings","img_url":""}},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline","cssClassName":""}},"notifications":{"name":"Comment & Rating Form Notification","sendTo":{"type":"email","email":"{wp.admin_email}","field":null,"routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"Comment & Rating ","message":"<p>{all_data}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
80 |
+
),
|
81 |
+
|
82 |
+
//form number : 55
|
83 |
+
'product_order_form' => array(
|
84 |
+
'screenshot' => '',
|
85 |
+
'createable' => true,
|
86 |
+
'title' => 'Product Order Form',
|
87 |
+
'is_pro' => false,
|
88 |
+
'brief' => 'Use this form to create a product order.',
|
89 |
+
'category' => "Product",
|
90 |
+
'tag' => ["Shopping", "online order", "customer", "contact"],
|
91 |
+
'json' => '[{"id":"55","title":"Product Order Form","form":{"fields":[{"index":3,"element":"custom_html","attributes":[],"settings":{"html_codes":"<p style=\"text-align: center;\"><strong>This is a demo poduct order form. You can use this form by adding your desired fields and customizing them as you like.\u00a0<\/strong><\/p>","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Custom HTML","icon_class":"icon-code","template":"customHTML"},"uniqElKey":"el_1570695248482"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio","value":""},"settings":{"container_class":"","label":"Are you a new or existing customer?","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":{"type":"all","status":true,"conditions":[{"field":"","value":"","operator":""}]}},"options":{"I am a new customer":"I am a new customer","I am an existing customer":"I am an existing customer"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1570678543210"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text","value":"","class":"","placeholder":"Please enter the product number"},"settings":{"container_class":"","label":"What is the item you would like to order?","label_placement":"top","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570678638665"},{"index":6,"element":"input_number","attributes":{"type":"number","name":"numeric-field","value":"","id":"","class":"","placeholder":"Choose 1-10"},"settings":{"container_class":"","label":"How many products do you want to buy?","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"1","message":"Minimum value is "},"max":{"value":"10","message":"Maximum value is "}},"conditional_logics":[],"calculation_settings":{"status":false,"formula":""}},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1570679532999"},{"index":9,"element":"input_checkbox","attributes":{"type":"checkbox","name":"checkbox","value":[]},"settings":{"container_class":"","label":"What color(s) would you like to order?","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"Red":"Red","Green":"Green","Yellow":"Yellow","Black":"Black","Orange":"Orange","Random Color":"Random Color"},"editor_options":{"title":"Check Box","icon_class":"icon-check-square-o","template":"inputCheckbox"},"uniqElKey":"el_1570678698833"},{"index":7,"element":"select","attributes":{"name":"dropdown","value":"","id":"","class":""},"settings":{"label":"Choose Product size","admin_field_label":"","help_message":"","container_class":"","label_placement":"","placeholder":"- Select -","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"XS":"XS","S":"S","M":"M","L":"L","XL":"XL","XXL":"XXL"},"editor_options":{"title":"Dropdown","icon_class":"icon-caret-square-o-down","element":"select","template":"select"},"uniqElKey":"el_1570678792559"},{"index":4,"element":"address","attributes":{"id":"","class":"","name":"address1","data-type":"address-element"},"settings":{"label":"Contact info","admin_field_label":"","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"fields":{"address_line_1":{"element":"input_text","attributes":{"type":"text","name":"address_line_1","value":"","id":"","class":"","placeholder":"Present address"},"settings":{"container_class":"","label":"Present address","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"address_line_2":{"element":"input_text","attributes":{"type":"text","name":"address_line_2","value":"","id":"","class":"","placeholder":"Phone"},"settings":{"container_class":"","label":"Phone","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"city":{"element":"input_text","attributes":{"type":"text","name":"city","value":"","id":"","class":"","placeholder":"City"},"settings":{"container_class":"","label":"City","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"state":{"element":"input_text","attributes":{"type":"text","name":"state","value":"","id":"","class":"","placeholder":"State"},"settings":{"container_class":"","label":"State","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"zip":{"element":"input_text","attributes":{"type":"text","name":"zip","value":"","id":"","class":"","placeholder":"Zip Code","required":false},"settings":{"container_class":"","label":"Zip Code","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"country":{"element":"select_country","attributes":{"name":"country","value":"","id":"","class":"","placeholder":"Country","required":false},"settings":{"container_class":"","label":"Country","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"country_list":{"active_list":"all","visible_list":[],"hidden_list":[]},"conditional_logics":[]},"options":{"BD":"Bangladesh","US":"US of America"},"editor_options":{"title":"Country List","element":"country-list","icon_class":"icon-text-width","template":"selectCountry"}}},"editor_options":{"title":"Address Fields","element":"address-fields","icon_class":"icon-credit-card","template":"addressFields"},"uniqElKey":"el_1570678892708"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Form","img_url":""}},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Let s hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline"}},"notifications":{"name":"Admin Notification Email","sendTo":{"type":"email","email":"{wp.admin_email}","field":"email","routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"[{inputs.names}] New Form Submission","message":"<p>{all_data}<\/p>\n<p>This form submitted at: {embed_post.permalink}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
92 |
+
),
|
93 |
+
|
94 |
+
|
95 |
+
//form number : 57
|
96 |
+
'athletic_team_recruitment_form' => array(
|
97 |
+
'screenshot' => '',
|
98 |
+
'createable' => true,
|
99 |
+
'title' => 'Athletic Team Recruitment Form',
|
100 |
+
'is_pro' => true,
|
101 |
+
'brief' => 'You can use this form to create a team registration form.',
|
102 |
+
'category' => "Education",
|
103 |
+
'tag' => ["Team Registration", "Team Signup", "Student Information"],
|
104 |
+
'json' => '[{"id":"57","title":"Athletic Team Recruitment Form","form":{"fields":[{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"Athletic Team Recruitment Form","description":"Student Information","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1570680383035"},{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1570679910653"},{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Email","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":true,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email Address","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1570679921618"},{"index":4,"element":"address","attributes":{"id":"","class":"","name":"address1","data-type":"address-element"},"settings":{"label":"Address","admin_field_label":"","conditional_logics":[]},"fields":{"address_line_1":{"element":"input_text","attributes":{"type":"text","name":"address_line_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Address Line 1","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"address_line_2":{"element":"input_text","attributes":{"type":"text","name":"address_line_2","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Address Line 2","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"city":{"element":"input_text","attributes":{"type":"text","name":"city","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"City","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"state":{"element":"input_text","attributes":{"type":"text","name":"state","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"State","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"zip":{"element":"input_text","attributes":{"type":"text","name":"zip","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Zip Code","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"country":{"element":"select_country","attributes":{"name":"country","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Country","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"country_list":{"active_list":"all","visible_list":[],"hidden_list":[]},"conditional_logics":[]},"options":{"BD":"Bangladesh","US":"US of America"},"editor_options":{"title":"Country List","element":"country-list","icon_class":"icon-text-width","template":"selectCountry"}}},"editor_options":{"title":"Address Fields","element":"address-fields","icon_class":"icon-credit-card","template":"addressFields"},"uniqElKey":"el_1570679923573"},{"index":30,"element":"phone","attributes":{"name":"phone","class":"","value":"","type":"tel","placeholder":""},"settings":{"container_class":"","placeholder":"","int_tel_number":"no","label":"Phone","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"valid_phone_number":{"value":false,"message":"Phone number is not valid"}},"conditional_logics":[]},"editor_options":{"title":"Phone Field","icon_class":"el-icon-phone-outline","template":"inputText"},"uniqElKey":"el_1570679988468"},{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Date of Birth","admin_field_label":"","label_placement":"","date_format":"d.m.Y","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1570680010265"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio","value":""},"settings":{"container_class":"","label":"I am a potential transfer from another college.","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"yes":"Yes","no":"No"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1570680019067"},{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"Athletic Information","description":"","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1570680028907"},{"index":6,"element":"input_number","attributes":{"type":"number","name":"numeric-field_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Height","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"","message":"Minimum value is "},"max":{"value":"","message":"Maximum value is "}},"conditional_logics":[],"calculation_settings":{"status":false,"formula":""}},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1570680639200"},{"index":6,"element":"input_number","attributes":{"type":"number","name":"numeric-field","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Shoe Size","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"","message":"Minimum value is "},"max":{"value":"","message":"Maximum value is "}},"conditional_logics":[],"calculation_settings":{"status":false,"formula":""}},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1570680636507"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_7","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Club or High School Team Name","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570680683519"},{"index":6,"element":"input_number","attributes":{"type":"number","name":"numeric-field_2","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Number of practice hour per week","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"","message":"Minimum value is "},"max":{"value":"","message":"Maximum value is "}},"conditional_logics":[],"calculation_settings":{"status":false,"formula":""}},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1570680796214"},{"index":3,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"List your Top 3 events","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1570680042935"},{"index":14,"element":"input_file","attributes":{"type":"file","name":"file-upload","value":"","id":"","class":""},"settings":{"container_class":"","label":"Upload any relevant images and video that showcase your skills","admin_field_label":"","label_placement":"","btn_text":"Choose File","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"max_file_size":{"value":3145728,"_valueFrom":"MB","message":"Maximum file size limit"},"max_file_count":{"value":1,"message":"Max file count"},"allowed_file_types":{"value":["jpg|jpeg|gif|png|bmp","avi|divx|flv|mov|ogv|mkv|mp4|m4v|divx|mpg|mpeg|mpe|video\/quicktime|qt"],"message":"allowed_file_types"}},"conditional_logics":[]},"editor_options":{"title":"File Upload","icon_class":"icon-upload","template":"inputFile"},"uniqElKey":"el_1570680048645"},{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"Academic Information","description":"","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1570680060376"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_2","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"SAT Math Score","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570680066445"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_3","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"SAT Writing Score","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570680067594"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_4","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"SAT Verbal Score","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570680068713"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_5","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"ACT Score","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570680069846"},{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Graduation Date","admin_field_label":"","label_placement":"","date_format":"d\/m\/Y","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1570680073844"},{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"Emergency Contact Information","description":"","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1570680083218"},{"index":0,"element":"input_name","attributes":{"name":"names_1","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1570680094338"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_6","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Relationship","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570696055921"},{"index":1,"element":"input_email","attributes":{"type":"email","name":"email_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Email","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email Address","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1570680096766"},{"index":30,"element":"phone","attributes":{"name":"phone_1","class":"","value":"","type":"tel","placeholder":""},"settings":{"container_class":"","placeholder":"","int_tel_number":"no","label":"Phone","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"valid_phone_number":{"value":false,"message":"Phone number is not valid"}},"conditional_logics":[]},"editor_options":{"title":"Phone Field","icon_class":"el-icon-phone-outline","template":"inputText"},"uniqElKey":"el_1570680111774"},{"index":4,"element":"address","attributes":{"id":"","class":"","name":"address2","data-type":"address-element"},"settings":{"label":"Address","admin_field_label":"","conditional_logics":[]},"fields":{"address_line_1":{"element":"input_text","attributes":{"type":"text","name":"address_line_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Address Line 1","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"address_line_2":{"element":"input_text","attributes":{"type":"text","name":"address_line_2","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Address Line 2","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"city":{"element":"input_text","attributes":{"type":"text","name":"city","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"City","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"state":{"element":"input_text","attributes":{"type":"text","name":"state","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"State","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"zip":{"element":"input_text","attributes":{"type":"text","name":"zip","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Zip Code","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"country":{"element":"select_country","attributes":{"name":"country","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Country","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"country_list":{"active_list":"all","visible_list":[],"hidden_list":[]},"conditional_logics":[]},"options":{"BD":"Bangladesh","US":"US of America"},"editor_options":{"title":"Country List","element":"country-list","icon_class":"icon-text-width","template":"selectCountry"}}},"editor_options":{"title":"Address Fields","element":"address-fields","icon_class":"icon-credit-card","template":"addressFields"},"uniqElKey":"el_1570696064193"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"center","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"lg","color":"#ffffff","button_ui":{"type":"default","text":"Submit Form","img_url":""},"normal_styles":{},"hover_styles":{},"current_state":"normal_styles"},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Lets hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline"},"id":"159"},"notifications":{"name":"Admin Notification Email","sendTo":{"type":"email","email":"{wp.admin_email}","field":"email","routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"[{inputs.names}] New Form Submission","message":"<p>{all_data}<\/p>\n<p>This form submitted at: {embed_post.permalink}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
105 |
+
),
|
106 |
+
|
107 |
+
//form number : 58
|
108 |
+
'online_service_order_form' => array(
|
109 |
+
'screenshot' => '',
|
110 |
+
'createable' => true,
|
111 |
+
'title' => 'Online Service Order Form',
|
112 |
+
'is_pro' => false,
|
113 |
+
'brief' => 'This form can be used to create an online service order.',
|
114 |
+
'category' => "Product",
|
115 |
+
'tag' => ["Order", "service", "online help", "handyman"],
|
116 |
+
'json' => '[{"id":"58","title":"Online Service Order Form","form":{"fields":[{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text","value":"","class":"","placeholder":"Order Number"},"settings":{"container_class":"","label":"Order Number","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570679890873"},{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":"First Name"},"settings":{"container_class":"","label":"Customer First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"Last Name","required":false},"settings":{"container_class":"","label":"Customer Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1570679937488"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_1","value":"","class":"","placeholder":"Phone"},"settings":{"container_class":"","label":"Customer Phone","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570680033117"},{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":"Email"},"settings":{"container_class":"","label":"Customer Email","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email Address","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1570680072445"},{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime","value":"","id":"","class":"","placeholder":"Choose Date"},"settings":{"container_class":"","label":"Service Date (When to Start)","admin_field_label":"","label_placement":"","date_format":"d\/m\/Y","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1570680121549"},{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime_1","value":"","id":"","class":"","placeholder":"Choose Date"},"settings":{"container_class":"","label":"Service Date (When to Complete)","admin_field_label":"","label_placement":"","date_format":"d\/m\/Y","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1570680122621"},{"index":9,"element":"input_checkbox","attributes":{"type":"checkbox","name":"checkbox","value":[]},"settings":{"container_class":"","label":"Description of Service","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"Garage paint":"Garage paint","Wood work":"Wood work","Electricity":"Electricity","Mechanical Work":"Mechanical Work"},"editor_options":{"title":"Check Box","icon_class":"icon-check-square-o","template":"inputCheckbox"},"uniqElKey":"el_1570680241902"},{"index":3,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Note","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1570680347061"},{"index":3,"element":"textarea","attributes":{"name":"description_1","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Your Work Description","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1570680347493"},{"index":3,"element":"textarea","attributes":{"name":"description_2","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Any Work Plan? ","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1570680348141"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_2","value":"","class":"","placeholder":"ex: 10 hours"},"settings":{"container_class":"","label":"Total labor hours","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570680428126"},{"index":9,"element":"input_checkbox","attributes":{"type":"checkbox","name":"checkbox_1","value":[]},"settings":{"container_class":"","label":"Payment Method","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"Cash":"Cash","Check":"Check","Online Transfer":"Online Transfer"},"editor_options":{"title":"Check Box","icon_class":"icon-check-square-o","template":"inputCheckbox"},"uniqElKey":"el_1570680508805"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Form","img_url":""}},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Lets hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline"}},"notifications":{"name":"Admin Notification Email","sendTo":{"type":"email","email":"{wp.admin_email}","field":"email","routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"[{inputs.names}] New Form Submission","message":"<p>{all_data}<\/p>\n<p>This form submitted at: {embed_post.permalink}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
117 |
+
),
|
118 |
+
|
119 |
+
//form number : 60
|
120 |
+
'service_request_form' => array(
|
121 |
+
'screenshot' => '',
|
122 |
+
'createable' => true,
|
123 |
+
'title' => 'Service Request Form',
|
124 |
+
'is_pro' => true,
|
125 |
+
'brief' => 'This form can be used to create a service request.',
|
126 |
+
'category' => "Product",
|
127 |
+
'tag' => ["Order", "service", "online help", "tech", "support", "it support"],
|
128 |
+
'json' => '[{"id":"60","title":"Service Request Form","form":{"fields":[{"index":2,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"First Name field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1516797564818"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Company","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570680899465"},{"index":1,"element":"container","attributes":[],"settings":[],"columns":[{"fields":[{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_1","value":"","class":"","placeholder":"Street Address"},"settings":{"container_class":"","label":"Street Address","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570697179921"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_3","value":"","class":"","placeholder":"City"},"settings":{"container_class":"","label":"City","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570697193801"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_5","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Postal \/ Zip Code","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570697197153"}]},{"fields":[{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_2","value":"","class":"","placeholder":" Street Address Line 2"},"settings":{"container_class":"","label":"Street Address Line 2","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570697159233"},{"index":5,"element":"select_country","attributes":{"name":"country-list","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Country","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"country_list":{"active_list":"all","visible_list":[],"hidden_list":[]},"conditional_logics":[]},"options":{"US":"United States of America"},"editor_options":{"title":"Country List","element":"country-list","icon_class":"icon-globe","template":"selectCountry"},"uniqElKey":"el_1570697135898"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_4","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"State \/ Province","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570697169385"}]}],"editor_options":{"title":"Two Column Container","icon_class":"icon-columns"},"uniqElKey":"el_1570681176815"},{"index":6,"element":"input_number","attributes":{"type":"number","name":"numeric-field","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Phone Number","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"","message":"Minimum value is "},"max":{"value":"","message":"Maximum value is "}},"conditional_logics":[],"calculation_settings":{"status":false,"formula":""}},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1570681759713"},{"index":7,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":"you@domain.com"},"settings":{"container_class":"","label":"Email","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"Email field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1570681752675"},{"index":1,"element":"container","attributes":[],"settings":[],"columns":[{"fields":[{"index":9,"element":"input_checkbox","attributes":{"type":"checkbox","name":"checkbox","value":[]},"settings":{"container_class":"","label":"Problem Category","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"Computer":"Computer","Network":"Network","Other":"Other"},"editor_options":{"title":"Check Box","icon_class":"icon-check-square-o","template":"inputCheckbox"},"uniqElKey":"el_1570681496792"}]},{"fields":[{"index":3,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Describe your problems","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1570681513181"}]}],"editor_options":{"title":"Two Column Container","icon_class":"icon-columns"},"uniqElKey":"el_1570681471615"},{"index":3,"element":"textarea","attributes":{"name":"description_1","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"How would you like us to help you?","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1570681539077"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Form","img_url":""},"normal_styles":{},"hover_styles":{},"current_state":"normal_styles"},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Lets hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline"}},"notifications":{"name":"Admin Notification Email","sendTo":{"type":"email","email":"{wp.admin_email}","field":"email","routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"[{inputs.names}] New Form Submission","message":"<p>{all_data}<\/p>\n<p>This form submitted at: {embed_post.permalink}<\/p>","conditionals":{"status":false,"type":"all",
|
129 |
+
"conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
130 |
+
),
|
131 |
+
|
132 |
+
|
133 |
+
//form number : 61
|
134 |
+
'online_product_order_form' => array(
|
135 |
+
'screenshot' => '',
|
136 |
+
'createable' => true,
|
137 |
+
'title' => 'Online Product Order Form',
|
138 |
+
'is_pro' => true,
|
139 |
+
'brief' => 'Use this form to order things form online.',
|
140 |
+
'category' => "Product",
|
141 |
+
'tag' => ["Online order", "shirt order", "product order"],
|
142 |
+
'json' => '[{"id":"61","title":"Product_order_03( Final )","form":{"fields":[{"index":3,"element":"custom_html","attributes":[],"settings":{"html_codes":"<p style=\"text-align: center;\"><strong>Choose your T-shirt size and submit the form, we will contact you shortly.<\/strong><\/p>","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Custom HTML","icon_class":"ff-edit-html","template":"customHTML"},"uniqElKey":"el_1570856238100"},{"index":9,"element":"input_checkbox","attributes":{"type":"checkbox","name":"checkbox","value":[]},"settings":{"container_class":"","label":"Your T-shirt Size","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"XS":"XS","S":"S","M":"M","L":"L","XL":"XL","XXL":"XXL"},"editor_options":{"title":"Check Box","icon_class":"icon-check-square-o","template":"inputCheckbox"},"uniqElKey":"el_1570682175418"},{"index":7,"element":"select","attributes":{"name":"dropdown","value":"","id":"","class":""},"settings":{"label":"Choose a Color","admin_field_label":"","help_message":"","container_class":"","label_placement":"","placeholder":"Choose Any","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"Red":"Red","Green":"Green","White":"White","Black":"Black"},"editor_options":{"title":"Dropdown","icon_class":"icon-caret-square-o-down","element":"select","template":"select"},"uniqElKey":"el_1570682263131"},{"index":6,"element":"input_number","attributes":{"type":"number","name":"numeric-field","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"How many T-shorts do you want?","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"1","message":"Minimum value is "},"max":{"value":"100","message":"Maximum value is "}},"conditional_logics":[],"calculation_settings":{"status":false,"formula":""}},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1570682431675"},{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1570682319043"},{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Email","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email Address","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1570682328890"},{"index":4,"element":"address","attributes":{"id":"","class":"","name":"address1","data-type":"address-element"},"settings":{"label":"Address","admin_field_label":"","conditional_logics":[]},"fields":{"address_line_1":{"element":"input_text","attributes":{"type":"text","name":"address_line_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Address ","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"address_line_2":{"element":"input_text","attributes":{"type":"text","name":"address_line_2","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Address Line 2","admin_field_label":"","help_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"city":{"element":"input_text","attributes":{"type":"text","name":"city","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"City","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"state":{"element":"input_text","attributes":{"type":"text","name":"state","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"State","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"zip":{"element":"input_text","attributes":{"type":"text","name":"zip","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Zip Code","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"country":{"element":"select_country","attributes":{"name":"country","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Country","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"country_list":{"active_list":"all","visible_list":[],"hidden_list":[]},"conditional_logics":[]},"options":{"BD":"Bangladesh","US":"US of America"},"editor_options":{"title":"Country List","element":"country-list","icon_class":"icon-text-width","template":"selectCountry"}}},"editor_options":{"title":"Address Fields","element":"address-fields","icon_class":"icon-credit-card","template":"addressFields"},"uniqElKey":"el_1570682336914"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"gray","container_class":"","help_message":"","background_color":"#909399","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit the request","img_url":""},"normal_styles":{},"hover_styles":{},"current_state":"normal_styles"},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline"}},"notifications":{"name":"Admin Notification Email","sendTo":{"type":"email","email":"{wp.admin_email}","field":"email","routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"[{inputs.names}] New Form Submission","message":"<p>{all_data}<\/p>\n<p>This form submitted at: {embed_post.permalink}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
143 |
+
),
|
144 |
+
|
145 |
+
//form number : 62
|
146 |
+
'student_survey_form' => array(
|
147 |
+
'screenshot' => '',
|
148 |
+
'createable' => true,
|
149 |
+
'title' => 'Student Survey Form',
|
150 |
+
'is_pro' => true,
|
151 |
+
'brief' => 'Use this form to do a student survey.',
|
152 |
+
'category' => "Education",
|
153 |
+
'tag' => ["Survey", "student survey", "online survey"],
|
154 |
+
'json' => '[{"id":"62","title":"Student Survey Form","form":{"fields":[{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Your First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Your Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1570681468957"},{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Your Email","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":true,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Email Address","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1570681471575"},{"index":3,"element":"custom_html","attributes":[],"settings":{"html_codes":"<h3>How important is it that we provide you with the following?<\/h3>","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Custom HTML","icon_class":"icon-code","template":"customHTML"},"uniqElKey":"el_1570681554354"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio","value":""},"settings":{"container_class":"","label":"Variety of student organizations ","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Not important at all":"Not important at all","Somewhat important":"Somewhat important","Very Important":"Very Important","Essential":"Essential"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1570681716842"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio_1","value":""},"settings":{"container_class":"","label":"Plenty of professor office hours","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Not important at all":"Not important at all","Somewhat important":"Somewhat important","Very Important":"Very Important","Essential":"Essential"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1570681806289"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio_2","value":""},"settings":{"container_class":"","label":"A global perspective","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Not important at all":"Not important at all","Somewhat important":"Somewhat important","Very Important":"Very Important","Essential":"Essential"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1570681817431"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio_3","value":""},"settings":{"container_class":"","label":"Internship opportunities","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Not important at all":"Not important at all","Somewhat important":"Somewhat important","Very Important":"Very Important","Essential":"Essential"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1570681830625"},{"index":7,"element":"form_step","attributes":{"id":"","class":""},"settings":{"prev_btn":{"type":"default","text":"Previous","img_url":""},"next_btn":{"type":"default","text":"Next","img_url":""}},"editor_options":{"title":"Form Step","icon_class":"icon-step-forward","template":"formStep"},"uniqElKey":"el_1570682052340"},{"index":3,"element":"custom_html","attributes":[],"settings":{"html_codes":"<h3>How important is it that we provide you with the following?<\/h3>","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Custom HTML","icon_class":"icon-code","template":"customHTML"},"uniqElKey":"el_1570682078971"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio_4","value":""},"settings":{"container_class":"","label":"Get a job to help pay for college expenses","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Not at all likely\t":"Not at all likely\t","Somewhat likely\t":"Somewhat likely\t","Very Likely":"Very Likely"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1570682075715"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio_5","value":""},"settings":{"container_class":"","label":"Become a teacher assistant\t","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Not at all likely\t":"Not at all likely\t","Somewhat likely\t":"Somewhat likely\t","Very Likely":"Very Likely"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1570682121382"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio_6","value":""},"settings":{"container_class":"","label":"Study abroad\t","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Not at all likely\t":"Not at all likely\t","Somewhat likely\t":"Somewhat likely\t","Very Likely":"Very Likely"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1570682123066"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio_7","value":""},"settings":{"container_class":"","label":"Take out student loans","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Not at all likely\t":"Not at all likely\t","Somewhat likely\t":"Somewhat likely\t","Very Likely":"Very Likely"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1570682145405"},{"index":9,"element":"input_checkbox","attributes":{"type":"checkbox","name":"checkbox","value":[]},"settings":{"container_class":"","label":"Please select any activities\/groups you plan on participating in while in school.","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Intramural Sports":"Intramural Sports","Student Organizations":"Student Organizations","Fraternity\/Sorority":"Fraternity\/Sorority","Other":"Other"},"editor_options":{"title":"Check Box","icon_class":"icon-check-square-o","template":"inputCheckbox"},"uniqElKey":"el_1570682180538"},{"index":3,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"others","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":{"type":"any","status":true,"conditions":[{"field":"checkbox","value":"Other","operator":"="}]}},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1570682234942"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button", "attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Form","img_url":""}},"editor_options":{"title":"Submit Button"}},"stepsWrapper":{"stepStart":{"element":"step_start","attributes":{"id":"","class":""},"settings":{"progress_indicator":"","step_titles":[]},"editor_options":{"title":"Start Paging"}},"stepEnd":{"element":"step_end","attributes":{"id":"","class":""},"settings":{"prev_btn":{"type":"default","text":"Previous","img_url":""}},"editor_options":{"title":"End Paging"}}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Lets hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline"}},"notifications":{"name":"Admin Notification Email","sendTo":{"type":"email","email":"{wp.admin_email}","field":"email","routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"[{inputs.names}] New Form Submission","message":"<p>{all_data}<\/p>\n<p>This form submitted at: {embed_post.permalink}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
155 |
+
),
|
156 |
+
|
157 |
+
//form number : 63
|
158 |
+
'classroom_observation_form' => array(
|
159 |
+
'screenshot' => '',
|
160 |
+
'createable' => true,
|
161 |
+
'title' => 'Classroom Observation Form',
|
162 |
+
'is_pro' => true,
|
163 |
+
'brief' => 'Use this form to do a classroom observation.',
|
164 |
+
'category' => "Education",
|
165 |
+
'tag' => ["Online survey", "education", "classroom"],
|
166 |
+
'json' => '[{"id":"63","title":"Classroom Observation Form","form":{"fields":[{"index":3,"element":"custom_html","attributes":[],"settings":{"html_codes":"<div style=\"text-align: center;\">\n<h3>Classroom Observation<\/h3>\nPlease use the following form to evaluate the teachers performance in the classroom. Your feedback is valuable and helps us ensure success for all teachers and students. Please answer each question honestly.\n<\/div>","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Custom HTML","icon_class":"icon-code","template":"customHTML"},"uniqElKey":"el_1570682627458"},{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Teacher\'s Name","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Teacher\'s Name","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1570682726941"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Classroom\/Course","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570682786996"},{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Observation Date","admin_field_label":"","label_placement":"","date_format":"d\/m\/Y","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1570682791895"},{"index":7,"element":"form_step","attributes":{"id":"","class":""},"settings":{"prev_btn":{"type":"default","text":"Previous","img_url":""},"next_btn":{"type":"default","text":"Next","img_url":""}},"editor_options":{"title":"Form Step","icon_class":"icon-step-forward","template":"formStep"},"uniqElKey":"el_1570682808710"},{"index":9,"element":"tabular_grid","attributes":{"name":"tabular_grid","data-type":"tabular-element"},"settings":{"tabular_field_type":"radio","container_class":"","label":"Please rate the teacher\'s performance in the following areas:","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required","per_row":true}},"conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]},"grid_columns":{"Strongly Agree\t":"Strongly Agree\t","Agree":"Agree","Neutral":"Neutral","Disagree":"Disagree","Strongly Disagree":"Strongly Disagree"},"grid_rows":{"Teacher was prepared for the lesson.\t":"Teacher was prepared for the lesson.\t","Teacher encouraged student participation.\t":"Teacher encouraged student participation.\t","Teacher explained the lesson thoroughly.\t":"Teacher explained the lesson thoroughly.\t","Teacher interacted with all students.\t":"Teacher interacted with all students.\t","Teacher was able to control the entire classroom.\t":"Teacher was able to control the entire classroom.\t","Teacher effectively used technology.\t":"Teacher effectively used technology.\t","Teacher used time efficiently.\t":"Teacher used time efficiently.\t","Teacher responded appropriately to student questions.\t":"Teacher responded appropriately to student questions.\t","Teacher used a variety of teaching methods.\t":"Teacher used a variety of teaching methods.\t"},"selected_grids":[]},"editor_options":{"title":"Checkable Grid","icon_class":"icon-dot-circle-o","template":"checkableGrids"},"uniqElKey":"el_1570689026920"},{"index":7,"element":"form_step","attributes":{"id":"","class":""},"settings":{"prev_btn":{"type":"default","text":"Previous","img_url":""},"next_btn":{"type":"default","text":"Next","img_url":""}},"editor_options":{"title":"Form Step","icon_class":"icon-step-forward","template":"formStep"},"uniqElKey":"el_1570683045855"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio_9","value":""},"settings":{"container_class":"","label":"Based on this observation, would you pass or fail this teacher?","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Pass":"Pass","Fail":"Fail"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1570683067552"},{"index":3,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Additional Comments","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1570683116056"},{"index":3,"element":"custom_html","attributes":[],"settings":{"html_codes":"<p><strong><span id=\"label42633724\" class=\"fsLabel\">Oberserver\'s Details (Optional)<\/span><\/strong><\/p>","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Custom HTML","icon_class":"icon-code","template":"customHTML"},"uniqElKey":"el_1570683153616"},{"index":0,"element":"input_name","attributes":{"name":"names_1","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1570683173183"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"right","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Evalution","img_url":""},"normal_styles":{},"hover_styles":{},"current_state":"normal_styles"},"editor_options":{"title":"Submit Button"}},"stepsWrapper":{"stepStart":{"element":"step_start","attributes":{"id":"","class":""},"settings":{"progress_indicator":"","step_titles":[]},"editor_options":{"title":"Start Paging"}},"stepEnd":{"element":"step_end","attributes":{"id":"","class":""},"settings":{"prev_btn":{"type":"default","text":"Previous","img_url":""}},"editor_options":{"title":"End Paging"}}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false, "message":"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline"}},"notifications":{"name":"Admin Notification Email","sendTo":{"type":"email","email":"{wp.admin_email}","field":"email","routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"[{inputs.names}] New Form Submission","message":"<p>{all_data}<\/p>\n<p>This form submitted at: {embed_post.permalink}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
167 |
+
),
|
168 |
+
|
169 |
+
//form number : 64
|
170 |
+
'client_satisfaction_survey_form' => array(
|
171 |
+
'screenshot' => '',
|
172 |
+
'createable' => true,
|
173 |
+
'title' => 'Client Satisfaction Survey Form',
|
174 |
+
'is_pro' => false,
|
175 |
+
'brief' => 'You can use this to perform a client satisfaction survey form',
|
176 |
+
'category' => "Marketing",
|
177 |
+
'tag' => ["Marketing", "survey", "satisfaction"],
|
178 |
+
'json' => '[{"id":"64","title":"Client Satisfaction Survey Form","form":{"fields":[{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"Client Satisfaction Survey","description":"","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1570682763978"},{"index":7,"element":"select","attributes":{"name":"dropdown","value":"","id":"","class":""},"settings":{"label":"Which product did you purchase?","admin_field_label":"","help_message":"","container_class":"","label_placement":"","placeholder":"- Select -","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"Office Accessories ":"Office Accessories ","Home appliance ":"Home appliance ","Digital Product":"Digital Product","Garage Hardware":"Garage Hardware"},"editor_options":{"title":"Dropdown","icon_class":"icon-caret-square-o-down","element":"select","template":"select"},"uniqElKey":"el_1570682798953"},{"index":3,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"What was your primary reason for purchasing the product?","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1570682852522"},{"index":9,"element":"input_checkbox","attributes":{"type":"checkbox","name":"checkbox","value":[]},"settings":{"container_class":"","label":"What three features are most important to you?","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"Custom responses":"Custom responses","Custom integrations":"Custom integrations","Expanded functionality":"Expanded functionality","Easy to navigate":"Easy to navigate","Offline capabilities":"Offline capabilities"},"editor_options":{"title":"Check Box","icon_class":"icon-check-square-o","template":"inputCheckbox"},"uniqElKey":"el_1570682873089"},{"index":3,"element":"textarea","attributes":{"name":"description_1","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"How can we improve our products\/services?","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1570682943938"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio","value":""},"settings":{"container_class":"","label":"Would you use our product \/ service in the future?","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"options":{"Definitely":"Definitely","Probably":"Probably","Not Sure":"Not Sure","Probably Not":"Probably Not"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1570682967577"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"","container_class":"","help_message":"","background_color":"","button_size":"md","color":"","button_ui":{"type":"default","text":"Submit Form","img_url":""},"normal_styles":{"backgroundColor":"rgba(126, 173, 79, 1)"},"hover_styles":{},"current_state":"normal_styles"},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Lets hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline"}},"notifications":{"name":"Admin Notification Email","sendTo":{"type":"email","email":"{wp.admin_email}","field":"email","routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"[{inputs.names}] New Form Submission","message":"<p>{all_data}<\/p>\n<p>This form submitted at: {embed_post.permalink}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
179 |
+
),
|
180 |
+
|
181 |
+
//form number : 67
|
182 |
+
'customer_complaint_form' => array(
|
183 |
+
'screenshot' => '',
|
184 |
+
'createable' => true,
|
185 |
+
'title' => 'Customer Complaint Form',
|
186 |
+
'is_pro' => false,
|
187 |
+
'brief' => 'Use this form to crete a customer complaint from.',
|
188 |
+
'category' => "Marketing",
|
189 |
+
'tag' => ["Marketing", "customer complain", "customer feedback"],
|
190 |
+
'json' => '[{"id":"67","title":"Customer Complaint Form","form":{"fields":[{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"Customer Information","description":"","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1570683983321"},{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1570683568392"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_1","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Product Name","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570698648236"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_2","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Product ID","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570698660319"},{"index":1,"element":"container","attributes":[],"settings":[],"columns":[{"fields":[{"index":4,"element":"address","attributes":{"id":"","class":"","name":"address1","data-type":"address-element"},"settings":{"label":"","admin_field_label":"","conditional_logics":[]},"fields":{"address_line_1":{"element":"input_text","attributes":{"type":"text","name":"address_line_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Address Line 1","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"address_line_2":{"element":"input_text","attributes":{"type":"text","name":"address_line_2","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Address Line 2","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"city":{"element":"input_text","attributes":{"type":"text","name":"city","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"City","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"state":{"element":"input_text","attributes":{"type":"text","name":"state","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"State","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"zip":{"element":"input_text","attributes":{"type":"text","name":"zip","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Zip Code","admin_field_label":"","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"country":{"element":"select_country","attributes":{"name":"country","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Country","admin_field_label":"","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"country_list":{"active_list":"all","visible_list":[],"hidden_list":[]},"conditional_logics":[]},"options":{"BD":"Bangladesh","US":"US of America"},"editor_options":{"title":"Country List","element":"country-list","icon_class":"icon-text-width","template":"selectCountry"}}},"editor_options":{"title":"Address Fields","element":"address-fields","icon_class":"icon-credit-card","template":"addressFields"},"uniqElKey":"el_1570698540497"}]},{"fields":[{"index":5,"element":"select_country","attributes":{"name":"country-list","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Country","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"country_list":{"active_list":"all","visible_list":[],"hidden_list":[]},"conditional_logics":[]},"options":{"US":"United States of America"},"editor_options":{"title":"Country List","element":"country-list","icon_class":"icon-globe","template":"selectCountry"},"uniqElKey":"el_1570683722526"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Zip Code","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570698634098"}]}],"editor_options":{"title":"Two Column Container","icon_class":"icon-columns"},"uniqElKey":"el_1570698522369"},{"index":1,"element":"container","attributes":[],"settings":[],"columns":[{"fields":[{"index":30,"element":"phone","attributes":{"name":"phone","class":"","value":"","type":"tel","placeholder":""},"settings":{"container_class":"","placeholder":"","int_tel_number":"no","label":"Phone","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"valid_phone_number":{"value":false,"message":"Phone number is not valid"}},"conditional_logics":[]},"editor_options":{"title":"Phone Field","icon_class":"el-icon-phone-outline","template":"inputText"},"uniqElKey":"el_1570698459932"}]},{"fields":[{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Email","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email Address","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1570683671991"}]}],"editor_options":{"title":"Two Column Container","icon_class":"icon-columns"},"uniqElKey":"el_1570698501610"},{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"Complaint Information","description":"","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1570683794847"},{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Complaint Date","admin_field_label":"","label_placement":"","date_format":"d\/m\/Y","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1570683817559"},{"index":3,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Complaint Details:","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1570683846055"},{"index":3,"element":"textarea","attributes":{"name":"description_1","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"",
|
191 |
+
"label":"What action needs to be taken to resolve this issue?","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1570683866743"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"","container_class":"","help_message":"","background_color":"","button_size":"md","color":"","button_ui":{"type":"default","text":"Submit Form","img_url":""},"normal_styles":{"backgroundColor":"rgba(19, 184, 203, 1)","color":"#F4EDED"},"hover_styles":{},"current_state":"normal_styles"},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Lets hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline"}},"notifications":{"name":"Admin Notification Email","sendTo":{"type":"email","email":"{wp.admin_email}","field":"email","routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"[{inputs.names}] New Form Submission","message":"<p>{all_data}<\/p>\n<p>This form submitted at: {embed_post.permalink}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
192 |
+
),
|
193 |
+
|
194 |
+
//form number : 68
|
195 |
+
'course_evaluation_survey_form' => array(
|
196 |
+
'screenshot' => '',
|
197 |
+
'createable' => true,
|
198 |
+
'title' => 'Course Evaluation Survey form',
|
199 |
+
'is_pro' => true,
|
200 |
+
'brief' => 'You can use this from to perform the course evaluation survey.',
|
201 |
+
'category' => "Education",
|
202 |
+
'tag' => ["Course evaluation", "teacher assessment"],
|
203 |
+
'json' => '[{"id":"68","title":"Course Evaluation Survey form","form":{"fields":[{"index":3,"element":"custom_html","attributes":[],"settings":{"html_codes":"<div class=\"fsSection fs1Col\">\n<div id=\"fsRow2380722-1\" class=\"fsRow fsFieldRow fsLastRow\">\n<div id=\"fsCell42867454\" class=\"fsRowBody fsCell fsFieldCell fsFirst fsLast fsLabelVertical fsSpan100\" lang=\"en\">\n<p>1. Please answer all required questions.<\/p>\n<p>2. Only complete this evaluation if you will be completing the course.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div id=\"fsSection42867455\" class=\"fsSection fs1Col\">\n<div class=\"fsSectionHeader\">\n<h2 class=\"fsSectionHeading\">Course Data:<\/h2>\n<\/div>\n<\/div>","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Custom HTML","icon_class":"icon-code","template":"customHTML"},"uniqElKey":"el_1570683714640"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Course Name","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570683740768"},{"index":6,"element":"input_number","attributes":{"type":"number","name":"numeric-field","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Course Number","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"","message":"Minimum value is "},"max":{"value":"","message":"Maximum value is "}},"conditional_logics":[],"calculation_settings":{"status":false,"formula":""}},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1570683755077"},{"index":6,"element":"input_number","attributes":{"type":"number","name":"numeric-field_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Section Number","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"","message":"Minimum value is "},"max":{"value":"","message":"Maximum value is "}},"conditional_logics":[],"calculation_settings":{"status":false,"formula":""}},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1570683779956"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_1","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Instructor Name","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570683742700"},{"index":7,"element":"form_step","attributes":{"id":"","class":""},"settings":{"prev_btn":{"type":"default","text":"Previous","img_url":""},"next_btn":{"type":"default","text":"Next","img_url":""}},"editor_options":{"title":"Form Step","icon_class":"icon-step-forward","template":"formStep"},"uniqElKey":"el_1570683838706"},{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"Evaluation","description":"<p>Your Evalutionsare important so do it carefully<\/p>\n<div id=\"gtx-trans\" style=\"position: absolute; left: 293px; top: 38px;\">\n<div class=\"gtx-trans-icon\">\u00a0<\/div>\n<\/div>","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1570683867069"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio","value":""},"settings":{"container_class":"","label":"Level of effort you put into the course.","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Very Good\t":"Very Good\t","Good":"Good","Fair":"Fair","Poor":"Poor","Very Poor":"Very Poor"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1570683921870"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio_1","value":""},"settings":{"container_class":"","label":"Your level of knowledge at the beginning of course.","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Very Good\t":"Very Good\t","Good":"Good","Fair":"Fair","Poor":"Poor","Very Poor":"Very Poor"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1570683969337"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio_2","value":""},"settings":{"container_class":"","label":"Your level of knowledge at the end of course.\t","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Very Good\t":"Very Good\t","Good":"Good","Fair":"Fair","Poor":"Poor","Very Poor":"Very Poor"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1570683985928"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio_4","value":""},"settings":{"container_class":"","label":"I understood the objectives of the course.","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Strongly Agree":"Strongly Agree","Agree":"Agree","Neutral":"Neutral","Disagree":"Disagree","Strongly Disagree":"Strongly Disagree"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1570684064895"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio_9","value":""},"settings":{"container_class":"","label":"The length of the course was appropriate to cover content.","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Strongly Agree":"Strongly Agree","Agree":"Agree","Neutral":"Neutral","Disagree":"Disagree","Strongly Disagree":"Strongly Disagree"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1570684312850"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio_5","value":""},"settings":{"container_class":"","label":"The course provided me with new information.","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Strongly Agree":"Strongly Agree","Agree":"Agree","Neutral":"Neutral","Disagree":"Disagree","Strongly Disagree":"Strongly Disagree"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1570684075830"},{"index":7,"element":"form_step","attributes":{"id":"","class":""},"settings":{"prev_btn":{"type":"default","text":"Previous","img_url":""},"next_btn":{"type":"default","text":"Next","img_url":""}},"editor_options":{"title":"Form Step","icon_class":"icon-step-forward","template":"formStep"},"uniqElKey":"el_1570684089759"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio_10","value":""},"settings":{"container_class":"","label":"Instructor\'s preparation.","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Very Good\t":"Very Good\t","Good":"Good","Fair":"Fair","Poor":"Poor","Very Poor":"Very Poor"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1570684446524"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio_11","value":""},"settings":{"container_class":"","label":"Instructor\'s deliverance ","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Very Good\t":"Very Good\t","Good":"Good","Fair":"Fair","Poor":"Poor","Very Poor":"Very Poor"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1570684465079"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio_12","value":""},"settings":{"container_class":"","label":"Instructor\'s communication.","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},
|
204 |
+
"options":{"Very Good\t":"Very Good\t","Good":"Good","Fair":"Fair","Poor":"Poor","Very Poor":"Very Poor"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1570684473777"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio_13","value":""},"settings":{"container_class":"","label":"Instructor\'s effectiveness.","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Very Good\t":"Very Good\t","Good":"Good","Fair":"Fair","Poor":"Poor","Very Poor":"Very Poor"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1570684488290"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio_14","value":""},"settings":{"container_class":"","label":"Instructor\'s availability.","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Very Good\t":"Very Good\t","Good":"Good","Fair":"Fair","Poor":"Poor","Very Poor":"Very Poor"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1570684497957"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio_15","value":""},"settings":{"container_class":"","label":"Overall quality of the course","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Very Good\t":"Very Good\t","Good":"Good","Fair":"Fair","Poor":"Poor","Very Poor":"Very Poor"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1570684531092"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio_16","value":""},"settings":{"container_class":"","label":"Overall quality of the equipment used for the course.","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Very Good\t":"Very Good\t","Good":"Good","Fair":"Fair","Poor":"Poor","Very Poor":"Very Poor"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1570684546492"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio_17","value":""},"settings":{"container_class":"","label":"Overall quality of the course.","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Very Good\t":"Very Good\t","Good":"Good","Fair":"Fair","Poor":"Poor","Very Poor":"Very Poor"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1570684556880"},{"index":7,"element":"form_step","attributes":{"id":"","class":""},"settings":{"prev_btn":{"type":"default","text":"Previous","img_url":""},"next_btn":{"type":"default","text":"Next","img_url":""}},"editor_options":{"title":"Form Step","icon_class":"icon-step-forward","template":"formStep"},"uniqElKey":"el_1570684578369"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio_18","value":""},"settings":{"container_class":"","label":"Would you recommend this course to other students?","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"yes":"Yes","no":"No"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1570684586872"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio_19","value":""},"settings":{"container_class":"","label":"Why you chose this course.","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"Degree requirement":"Degree requirement","Time offered":"Time offered","Interest":"Interest"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1570684611685"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio_20","value":""},"settings":{"container_class":"","label":"Your class standing.","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"Freshman":"Freshman","Sophomore":"Sophomore","Junior":"Junior","Senior":"Senior","Graduate":"Graduate"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1570684653872"},{"index":7,"element":"form_step","attributes":{"id":"","class":""},"settings":{"prev_btn":{"type":"default","text":"Previous","img_url":""},"next_btn":{"type":"default","text":"Next","img_url":""}},"editor_options":{"title":"Form Step","icon_class":"icon-step-forward","template":"formStep"},"uniqElKey":"el_1570684731629"},{"index":1,"element":"container","attributes":[],"settings":[],"columns":[{"fields":[{"index":3,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Please identify aspects of the course you found useful.","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1570684751423"}]},{"fields":[{"index":3,"element":"textarea","attributes":{"name":"description_1","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Please provide any suggestions to improve the course.","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1570684758119"}]}],"editor_options":{"title":"Two Column Container","icon_class":"icon-columns"},"uniqElKey":"el_1570684746154"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Form","img_url":""}},"editor_options":{"title":"Submit Button"}},"stepsWrapper":{"stepStart":{"element":"step_start","attributes":{"id":"","class":""},"settings":{"progress_indicator":"","step_titles":[]},"editor_options":{"title":"Start Paging"}},"stepEnd":{"element":"step_end","attributes":{"id":"","class":""},"settings":{"prev_btn":{"type":"default","text":"Previous","img_url":""}},"editor_options":{"title":"End Paging"}}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline"}},"notifications":{"name":"Admin Notification Email","sendTo":{"type":"email","email":"{wp.admin_email}","field":"email","routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"[{inputs.names}] New Form Submission","message":"<p>{all_data}<\/p>\n<p>This form submitted at: {embed_post.permalink}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
205 |
+
),
|
206 |
+
|
207 |
+
//form number : 70
|
208 |
+
'market_research_survey_form' => array(
|
209 |
+
'screenshot' => '',
|
210 |
+
'createable' => true,
|
211 |
+
'title' => 'Market Research Survey Form',
|
212 |
+
'is_pro' => true,
|
213 |
+
'brief' => 'Use this form to a market research.',
|
214 |
+
'category' => "Marketing",
|
215 |
+
'tag' => ["Market research", "marketing", "online survey"],
|
216 |
+
'json' => '[{"id":"70","title":"Market Research Survey Form","form":{"fields":[{"index":9,"element":"input_checkbox","attributes":{"type":"checkbox","name":"checkbox","value":[]},"settings":{"container_class":"","label":"How often do you use our product?","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"More than once a week":"More than once a week","Once a week":"Once a week","Monthly":"Monthly","Every other month":"Every other month","A few times a year":"A few times a year"},"editor_options":{"title":"Check Box","icon_class":"icon-check-square-o","template":"inputCheckbox"},"uniqElKey":"el_1570684518054"},{"index":7,"element":"form_step","attributes":{"id":"","class":""},"settings":{"prev_btn":{"type":"default","text":"Previous","img_url":""},"next_btn":{"type":"default","text":"Next","img_url":""}},"editor_options":{"title":"Form Step","icon_class":"icon-step-forward","template":"formStep"},"uniqElKey":"el_1570684370878"},{"index":3,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"What similar products do you use? (by name and brand)","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1570684600189"},{"index":7,"element":"form_step","attributes":{"id":"","class":""},"settings":{"prev_btn":{"type":"default","text":"Previous","img_url":""},"next_btn":{"type":"default","text":"Next","img_url":""}},"editor_options":{"title":"Form Step","icon_class":"icon-step-forward","template":"formStep"},"uniqElKey":"el_1570684374734"},{"index":9,"element":"input_checkbox","attributes":{"type":"checkbox","name":"checkbox_1","value":[]},"settings":{"container_class":"","label":"When did you last purchase our product?","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"Less than 1 month ago":"Less than 1 month ago","Between 1 month and 6 months ago":"Between 1 month and 6 months ago","Between 6 months and 1 year ago":"Between 6 months and 1 year ago","More than one year ago":"More than one year ago","I don\'t remember":"I don\'t remember"},"editor_options":{"title":"Check Box","icon_class":"icon-check-square-o","template":"inputCheckbox"},"uniqElKey":"el_1570684644101"},{"index":7,"element":"form_step","attributes":{"id":"","class":""},"settings":{"prev_btn":{"type":"default","text":"Previous","img_url":""},"next_btn":{"type":"default","text":"Next","img_url":""}},"editor_options":{"title":"Form Step","icon_class":"icon-step-forward","template":"formStep"},"uniqElKey":"el_1570684773438"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio","value":""},"settings":{"container_class":"","label":"Have you had a chance to review our newest product?","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"yes":"Yes","no":"No"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1570684780085"},{"index":7,"element":"form_step","attributes":{"id":"","class":""},"settings":{"prev_btn":{"type":"default","text":"Previous","img_url":""},"next_btn":{"type":"default","text":"Next","img_url":""}},"editor_options":{"title":"Form Step","icon_class":"icon-step-forward","template":"formStep"},"uniqElKey":"el_1570684802008"},{"index":3,"element":"textarea","attributes":{"name":"description_1","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"What do you think of our new product?","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1570684812950"},{"index":3,"element":"textarea","attributes":{"name":"description_2","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"What is your least favorite thing about our new product?","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1570684817781"},{"index":7,"element":"form_step","attributes":{"id":"","class":""},"settings":{"prev_btn":{"type":"default","text":"Previous","img_url":""},"next_btn":{"type":"default","text":"Next","img_url":""}},"editor_options":{"title":"Form Step","icon_class":"icon-step-forward","template":"formStep"},"uniqElKey":"el_1570684889192"},{"index":9,"element":"input_checkbox","attributes":{"type":"checkbox","name":"checkbox_2","value":[]},"settings":{"container_class":"","label":"How do you feel our products pricing compares with other similar products?","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"Less expensive":"Less expensive","About the same price":"About the same price","More expensive":"More expensive"},"editor_options":{"title":"Check Box","icon_class":"icon-check-square-o","template":"inputCheckbox"},"uniqElKey":"el_1570684895517"},{"index":7,"element":"form_step","attributes":{"id":"","class":""},"settings":{"prev_btn":{"type":"default","text":"Previous","img_url":""},"next_btn":{"type":"default","text":"Next","img_url":""}},"editor_options":{"title":"Form Step","icon_class":"icon-step-forward","template":"formStep"},"uniqElKey":"el_1570684949903"},{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"Tell us a little about yourself.","description":"","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1570684992645"},{"index":9,"element":"input_checkbox","attributes":{"type":"checkbox","name":"checkbox_3","value":[]},"settings":{"container_class":"","label":"What is your age range?","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"18 or younger":"18 or younger","19 - 24":"19 - 24","25 - 34":"25 - 34","35 - 44":"35 - 44","45 - 54":"45 - 54","55 or older":"55 or older"},"editor_options":{"title":"Check Box","icon_class":"icon-check-square-o","template":"inputCheckbox"},"uniqElKey":"el_1570685017517"},{"index":5,"element":"select_country","attributes":{"name":"country-list","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"What country are you from?","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"country_list":{"active_list":"all","visible_list":[],"hidden_list":[]},"conditional_logics":[]},"options":{"US":"United States of America"},"editor_options":{"title":"Country List","element":"country-list","icon_class":"icon-globe","template":"selectCountry"},"uniqElKey":"el_1570685115869"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Form","img_url":""}},"editor_options":{"title":"Submit Button"}},"stepsWrapper":{"stepStart":{"element":"step_start","attributes":{"id":"","class":""},"settings":{"progress_indicator":"","step_titles":[]},"editor_options":{"title":"Start Paging"}},"stepEnd":{"element":"step_end","attributes":{"id":"","class":""},"settings":{"prev_btn":{"type":"default","text":"Previous","img_url":""}},"editor_options":{"title":"End Paging"}}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Lets hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline"}},"notifications":{"name":"Admin Notification Email","sendTo":{"type":"email","email":"{wp.admin_email}","field":"email","routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"[{inputs.names}] New Form Submission","message":"<p>{all_data}<\/p>\n<p>This form submitted at: {embed_post.permalink}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
217 |
+
),
|
218 |
+
|
219 |
+
//form number : 71
|
220 |
+
'database_management_help request_from' => array(
|
221 |
+
'screenshot' => '',
|
222 |
+
'createable' => true,
|
223 |
+
'title' => 'Database Management Help Request from',
|
224 |
+
'is_pro' => true,
|
225 |
+
'brief' => 'Use this form to seek help form the tech support; for example, the database management help.',
|
226 |
+
'category' => "Marketing",
|
227 |
+
'tag' => ["Marketing", "online help", "support help"],
|
228 |
+
'json' => '[{"id":"71","title":"Database Management Help Request from","form":{"fields":[{"index":2,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"First Name field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1516797564818"},{"index":7,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":"you@domain.com"},"settings":{"container_class":"","label":"Email","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"Email field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1516797583697"},{"index":6,"element":"input_number","attributes":{"type":"number","name":"numeric-field","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Phone Number","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"","message":"Minimum value is "},"max":{"value":"","message":"Maximum value is "}},"conditional_logics":[],"calculation_settings":{"status":false,"formula":""}},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1570684406116"},{"index":4,"element":"address","attributes":{"id":"","class":"","name":"address1","data-type":"address-element"},"settings":{"label":"Address","admin_field_label":"","conditional_logics":[]},"fields":{"address_line_1":{"element":"input_text","attributes":{"type":"text","name":"address_line_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Address Line 1","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"address_line_2":{"element":"input_text","attributes":{"type":"text","name":"address_line_2","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Address Line 2","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"city":{"element":"input_text","attributes":{"type":"text","name":"city","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"City","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"state":{"element":"input_text","attributes":{"type":"text","name":"state","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"State","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"zip":{"element":"input_text","attributes":{"type":"text","name":"zip","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Zip Code","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"country":{"element":"select_country","attributes":{"name":"country","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Country","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"country_list":{"active_list":"all","visible_list":[],"hidden_list":[]},"conditional_logics":[]},"options":{"BD":"Bangladesh","US":"US of America"},"editor_options":{"title":"Country List","element":"country-list","icon_class":"icon-text-width","template":"selectCountry"}}},"editor_options":{"title":"Address Fields","element":"address-fields","icon_class":"icon-credit-card","template":"addressFields"},"uniqElKey":"el_1570699970556"},{"index":2,"element":"textarea","attributes":{"name":"message","value":"","id":"","class":"","placeholder":"Type your message here...","rows":4,"cols":2},"settings":{"container_class":"","label":"Describe your current issues\/needs","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"Message field is required"}},"conditional_logics":[]},"editor_options":{"title":"Textarea","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1516797589062"},{"index":2,"element":"textarea","attributes":{"name":"message_1","value":"","id":"","class":"","placeholder":"Type your message here...","rows":4,"cols":2},"settings":{"container_class":"","label":"Describe your current system if applicable.","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"Message field is required"}},"conditional_logics":[]},"editor_options":{"title":"Textarea","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1570684428634"},{"index":7,"element":"select","attributes":{"name":"dropdown","value":"","id":"","class":""},"settings":{"label":"What is your expertise with managing your database?","admin_field_label":"","help_message":"","container_class":"","label_placement":"","placeholder":"- Select -","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"Novice":"Novice","Intermediate":"Intermediate","Expert":"Expert"},"editor_options":{"title":"Dropdown","icon_class":"icon-caret-square-o-down","element":"select","template":"select"},"uniqElKey":"el_1570684515448"},{"index":9,"element":"input_checkbox","attributes":{"type":"checkbox","name":"checkbox","value":[]},"settings":{"container_class":"","label":"Do you need an intranet in your office?","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"Yes":"Yes","No":"No"},"editor_options":{"title":"Check Box","icon_class":"icon-check-square-o","template":"inputCheckbox"},"uniqElKey":"el_1570684585832"},{"index":7,"element":"select","attributes":{"name":"dropdown_1","value":"","id":"","class":""},"settings":{"label":"Software Type","admin_field_label":"","help_message":"","container_class":"","label_placement":"","placeholder":"- Select -","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"Accounting and Financial Management":"Accounting and Financial Management","Asset Management":"Asset Management"," Business Intelligence and Data Management Customer":" Business Intelligence and Data Management Customer"," Relationship Management (CRM)":" Relationship Management (CRM)"," Enterprise Resource Planning (ERP)":" Enterprise Resource Planning (ERP)"," Human Capital Management (HCM)":" Human Capital Management (HCM)"," Information Management and Collaboration":" Information Management and Collaboration"," Product Lifecycle Management (PLM) ":" Product Lifecycle Management (PLM) "," Project and Process Management":" Project and Process Management"," Supply Chain Management (SCM)":" Supply Chain Management (SCM)"},"editor_options":{"title":"Dropdown","icon_class":"icon-caret-square-o-down","element":"select","template":"select"},"uniqElKey":"el_1570684631918"},{"index":7,"element":"select","attributes":{"name":"dropdown_2","value":"","id":"","class":""},"settings":{"label":"Business Area","admin_field_label":"","help_message":"","container_class":"","label_placement":"","placeholder":"- Select -","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"Sales and Marketing":"Sales and Marketing","Professional Services and Support":"Professional Services and Support","Production and Distribution":"Production and Distribution","IT Management and Development":"IT Management and Development","Data Management and Analysis":"Data Management and Analysis",
|
229 |
+
"Back Office and Operations":"Back Office and Operations"},"editor_options":{"title":"Dropdown","icon_class":"icon-caret-square-o-down","element":"select","template":"select"},"uniqElKey":"el_1570685212508"},{"index":3,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Needed Requirements, Functionality, or Specification","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1570685794700"},{"index":3,"element":"textarea","attributes":{"name":"description_1","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Desired deliverables","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1570685817491"},{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"When do you need the support?","admin_field_label":"","label_placement":"","date_format":"d\/m\/Y","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1570685921417"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_6","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"What is your budget?","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570685887742"},{"index":9,"element":"input_checkbox","attributes":{"type":"checkbox","name":"checkbox_1","value":[]},"settings":{"container_class":"","label":"Will this system be sold as third party software?","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Yes":"Yes","No":"No"},"editor_options":{"title":"Check Box","icon_class":"icon-check-square-o","template":"inputCheckbox"},"uniqElKey":"el_1570685925016"},{"index":9,"element":"input_checkbox","attributes":{"type":"checkbox","name":"checkbox_2","value":[]},"settings":{"container_class":"","label":"Will you need back up services?","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Yes":"Yes","No":"No"},"editor_options":{"title":"Check Box","icon_class":"icon-check-square-o","template":"inputCheckbox"},"uniqElKey":"el_1570685980359"},{"index":9,"element":"input_checkbox","attributes":{"type":"checkbox","name":"checkbox_3","value":[]},"settings":{"container_class":"","label":"Will you need virus protection?","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Yes":"Yes","No":"No"},"editor_options":{"title":"Check Box","icon_class":"icon-check-square-o","template":"inputCheckbox"},"uniqElKey":"el_1570685993577"},{"index":14,"element":"input_file","attributes":{"type":"file","name":"file-upload","value":"","id":"","class":""},"settings":{"container_class":"","label":"Upload any supporting documents.","admin_field_label":"","label_placement":"","btn_text":"Choose File","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"max_file_size":{"value":1048576,"_valueFrom":"MB","message":"Maximum file size limit"},"max_file_count":{"value":1,"message":"Max file count"},"allowed_file_types":{"value":["pdf","jpg|jpeg|gif|png|bmp"],"message":"allowed_file_types"}},"conditional_logics":[]},"editor_options":{"title":"File Upload","icon_class":"icon-upload","template":"inputFile"},"uniqElKey":"el_1570686018986"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Form","img_url":""}},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline"}},"notifications":{"name":"Admin Notification Email","sendTo":{"type":"email","email":"{wp.admin_email}","field":"email","routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"[{inputs.names}] New Form Submission","message":"<p>{all_data}<\/p>\n<p>This form submitted at: {embed_post.permalink}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
230 |
+
),
|
231 |
+
|
232 |
+
//form number : 72
|
233 |
+
'university_enrollment_form' => array(
|
234 |
+
'screenshot' => '',
|
235 |
+
'createable' => true,
|
236 |
+
'title' => 'University Enrollment Form',
|
237 |
+
'is_pro' => true,
|
238 |
+
'brief' => 'Use this form to do the university enrollment for a studnet.',
|
239 |
+
'category' => "Education",
|
240 |
+
'tag' => ["Education", "university", "enrollment"],
|
241 |
+
'json' => '[{"id":"72","title":"University Enrollment Form","form":{"fields":[{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Anticipated Start Date","admin_field_label":"","label_placement":"","date_format":"d.m.Y","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1570684989530"},{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1570685021902"},{"index":30,"element":"phone","attributes":{"name":"phone","class":"","value":"","type":"tel","placeholder":""},"settings":{"container_class":"","placeholder":"","int_tel_number":"no","label":"Phone","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"valid_phone_number":{"value":false,"message":"Phone number is not valid"}},"conditional_logics":[]},"editor_options":{"title":"Phone Field","icon_class":"el-icon-phone-outline","template":"inputText"},"uniqElKey":"el_1570685042448"},{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Email","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email Address","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1570685046783"},{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Date of Birth","admin_field_label":"","label_placement":"","date_format":"d.m.Y","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1570700188161"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio","value":""},"settings":{"container_class":"","label":"Gender","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"options":{"Male":"Male","Female":"Female","Others":"Others"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1570700192033"},{"index":4,"element":"address","attributes":{"id":"","class":"","name":"address1","data-type":"address-element"},"settings":{"label":"Address","admin_field_label":"","conditional_logics":[]},"fields":{"address_line_1":{"element":"input_text","attributes":{"type":"text","name":"address_line_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Address Line 1","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"address_line_2":{"element":"input_text","attributes":{"type":"text","name":"address_line_2","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Address Line 2","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"city":{"element":"input_text","attributes":{"type":"text","name":"city","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"City","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"state":{"element":"input_text","attributes":{"type":"text","name":"state","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"State","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"zip":{"element":"input_text","attributes":{"type":"text","name":"zip","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Zip Code","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"country":{"element":"select_country","attributes":{"name":"country","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Country","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"country_list":{"active_list":"all","visible_list":[],"hidden_list":[]},"conditional_logics":[]},"options":{"BD":"Bangladesh","US":"US of America"},"editor_options":{"title":"Country List","element":"country-list","icon_class":"icon-text-width","template":"selectCountry"}}},"editor_options":{"title":"Address Fields","element":"address-fields","icon_class":"icon-credit-card","template":"addressFields"},"uniqElKey":"el_1570685050447"},{"index":15,"element":"input_image","attributes":{"type":"file","name":"image-upload","value":"","id":"","class":"","accept":"image\/*"},"settings":{"container_class":"","label":"Proof of identity (e.g. birth certificate, Passport etc.)","admin_field_label":"","label_placement":"","btn_text":"Choose File","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"max_file_size":{"value":1048576,"_valueFrom":"MB","message":"Maximum file size limit"},"max_file_count":{"value":1,"message":"Max file count"},"allowed_image_types":{"value":["jpg|jpeg","png","gif"],"message":"Allowed image size does not match"}},"conditional_logics":[]},"editor_options":{"title":"Image Upload","icon_class":"icon-picture-o","template":"inputFile"},"uniqElKey":"el_1570685249394"},{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"Background Information:","description":"","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1570685313901"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio_1","value":""},"settings":{"container_class":"","label":"Enrollment Status","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Full Time":"Full Time","Part Time":"Part Time"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1570685354734"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_1","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"High School Name","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570685422648"},{"index":4,"element":"address","attributes":{"id":"","class":"","name":"address2","data-type":"address-element"},"settings":{"label":"High School Address*","admin_field_label":"","conditional_logics":[]},"fields":{"address_line_1":{"element":"input_text","attributes":{"type":"text","name":"address_line_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"",
|
242 |
+
"label":"Address Line 1","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"address_line_2":{"element":"input_text","attributes":{"type":"text","name":"address_line_2","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Address Line 2","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"city":{"element":"input_text","attributes":{"type":"text","name":"city","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"City","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"state":{"element":"input_text","attributes":{"type":"text","name":"state","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"State","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"zip":{"element":"input_text","attributes":{"type":"text","name":"zip","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Zip Code","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"country":{"element":"select_country","attributes":{"name":"country","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Country","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"country_list":{"active_list":"all","visible_list":[],"hidden_list":[]},"conditional_logics":[]},"options":{"BD":"Bangladesh","US":"US of America"},"editor_options":{"title":"Country List","element":"country-list","icon_class":"icon-text-width","template":"selectCountry"}}},"editor_options":{"title":"Address Fields","element":"address-fields","icon_class":"icon-credit-card","template":"addressFields"},"uniqElKey":"el_1570685418979"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_2","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"GPA","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570685436187"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_3","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Diploma Type","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570685454020"},{"index":14,"element":"input_file","attributes":{"type":"file","name":"file-upload","value":"","id":"","class":""},"settings":{"container_class":"","label":"High School Transcripts","admin_field_label":"","label_placement":"","btn_text":"Choose File","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"},"max_file_size":{"value":1048576,"_valueFrom":"MB","message":"Maximum file size limit"},"max_file_count":{"value":1,"message":"Max file count"},"allowed_file_types":{"value":["doc|ppt|pps|xls|mdb|docx|xlsx|pptx|odt|odp|ods|odg|odc|odb|odf|rtf|txt","pdf","zip|gz|gzip|rar|7z","jpg|jpeg|gif|png|bmp"],"message":"allowed_file_types"}},"conditional_logics":[]},"editor_options":{"title":"File Upload","icon_class":"icon-upload","template":"inputFile"},"uniqElKey":"el_1570685480739"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_4","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Medical Allergies","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570685516179"},{"index":0,"element":"input_name","attributes":{"name":"names_1","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Parent\/Guardian Name","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Parent\/Guardian (First Name)","help_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"(Last Name)","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1570685540179"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_5","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Parent\/Guardian Company","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570685621269"},{"index":6,"element":"input_number","attributes":{"type":"number","name":"numeric-field","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Parent\/Guardian Phone","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"","message":"Minimum value is "},"max":{"value":"","message":"Maximum value is "}},"conditional_logics":[],"calculation_settings":{"status":false,"formula":""}},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1570685638725"},{"index":1,"element":"input_email","attributes":{"type":"email","name":"email_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Parent\/Guardian Email","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":true,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email Address","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1570685654167"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Form","img_url":""}},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Lets hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline"}},"notifications":{"name":"Admin Notification Email","sendTo":{"type":"email","email":"{wp.admin_email}","field":"email","routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"[{inputs.names}] New Form Submission","message":"<p>{all_data}<\/p>\n<p>This form submitted at: {embed_post.permalink}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
243 |
+
),
|
244 |
+
|
245 |
+
//form number : 74
|
246 |
+
'volunteer_signup_form' => array(
|
247 |
+
'screenshot' => '',
|
248 |
+
'createable' => true,
|
249 |
+
'title' => 'Volunteer sign up form',
|
250 |
+
'is_pro' => false,
|
251 |
+
'brief' => 'Use this form to do the volunteer sign up',
|
252 |
+
'category' => "Nonprofit",
|
253 |
+
'tag' => ["Non Profit", "volunteer", "help", "humanity"],
|
254 |
+
'json' => '[{"id":"74","title":"Volunteer sign up form","form":{"fields":[{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"Volunteer Sign Up","description":"<div id=\"fsSection83427461\" class=\"fsSection fs1Col\">\n<div id=\"fsRow3617571-3\" class=\"fsRow fsFieldRow fsLastRow\">\n<div id=\"fsCell83427463\" class=\"fsRowBody fsCell fsFieldCell fsFirst fsLast fsLabelVertical fsSpan100\" lang=\"en\">\n<p class=\"fsSectionText\">Come with us and help out your local community!<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div id=\"fsSection83427464\" class=\"fsSection fs1Col\">\u00a0<\/div>","align":"center","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1570685851381"},{"index":9,"element":"input_checkbox","attributes":{"type":"checkbox","name":"checkbox","value":[]},"settings":{"container_class":"","label":"Where would you like to volunteer (Check any that apply)","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"Food bank":"Food bank","Animal shelter":"Animal shelter","Preschool":"Preschool","City lawn care":"City lawn care","Community Service":"Community Service"},"editor_options":{"title":"Check Box","icon_class":"icon-check-square-o","template":"inputCheckbox"},"uniqElKey":"el_1570685921940"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"How many hours a week can you dedicate?","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570685965867"},{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"When are you available to start?","admin_field_label":"","label_placement":"","date_format":"d\/m\/Y","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1570686157250"},{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1570686018387"},{"index":4,"element":"address","attributes":{"id":"","class":"","name":"address1","data-type":"address-element"},"settings":{"label":"","admin_field_label":"","conditional_logics":[]},"fields":{"address_line_1":{"element":"input_text","attributes":{"type":"text","name":"address_line_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Permanent Address ","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"address_line_2":{"element":"input_text","attributes":{"type":"text","name":"address_line_2","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Address Line 2","admin_field_label":"","help_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"city":{"element":"input_text","attributes":{"type":"text","name":"city","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"City","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"state":{"element":"input_text","attributes":{"type":"text","name":"state","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"State","admin_field_label":"","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"zip":{"element":"input_text","attributes":{"type":"text","name":"zip","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Zip Code","admin_field_label":"","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"country":{"element":"select_country","attributes":{"name":"country","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Country","admin_field_label":"","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"country_list":{"active_list":"all","visible_list":[],"hidden_list":[]},"conditional_logics":[]},"options":{"BD":"Bangladesh","US":"US of America"},"editor_options":{"title":"Country List","element":"country-list","icon_class":"icon-text-width","template":"selectCountry"}}},"editor_options":{"title":"Address Fields","element":"address-fields","icon_class":"icon-credit-card","template":"addressFields"},"uniqElKey":"el_1570686031467"},{"index":1,"element":"container","attributes":[],"settings":[],"columns":[{"fields":[{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_2","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Phone","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570686088371"}]},{"fields":[{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Email","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email Address","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1570686107211"}]}],"editor_options":{"title":"Two Column Container","icon_class":"icon-columns"},"uniqElKey":"el_1570686084163"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"","container_class":"","help_message":"","background_color":"","button_size":"md","color":"","button_ui":{"type":"default","text":"Submit Form","img_url":""},"normal_styles":{"backgroundColor":"rgba(85, 66, 66, 1)","color":"#F2EBEB"},"hover_styles":{},"current_state":"normal_styles"},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline"}},"notifications":{"name":"Admin Notification Email","sendTo":{"type":"email","email":"{wp.admin_email}","field":"email","routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"[{inputs.names}] New Form Submission","message":"<p>{all_data}<\/p>\n<p>This form submitted at: {embed_post.permalink}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
255 |
+
),
|
256 |
+
|
257 |
+
//form number : 76
|
258 |
+
'donation_form' => array(
|
259 |
+
'screenshot' => '',
|
260 |
+
'createable' => true,
|
261 |
+
'title' => 'Donation Form',
|
262 |
+
'is_pro' => false,
|
263 |
+
'brief' => 'To create the donation request form, you can use this',
|
264 |
+
'category' => "Nonprofit",
|
265 |
+
'tag' => ["Non Profit", "donation", "help", "humanity"],
|
266 |
+
'json' => '[{"id":"76","title":"Donation Form","form":{"fields":[{"index":3,"element":"custom_html","attributes":[],"settings":{"html_codes":"<p style=\"text-align: center;\"><strong>Fillup this form to add to our doner list.\u00a0<\/strong><\/p>","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Custom HTML","icon_class":"icon-code","template":"customHTML"},"uniqElKey":"el_1570686622963"},{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1570686731683"},{"index":1,"element":"container","attributes":[],"settings":[],"columns":[{"fields":[{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_2","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Phone","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570686773473"}]},{"fields":[{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Email","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email Address","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1570686777497"}]}],"editor_options":{"title":"Two Column Container","icon_class":"icon-columns"},"uniqElKey":"el_1570700704044"},{"index":4,"element":"address","attributes":{"id":"","class":"","name":"address1","data-type":"address-element"},"settings":{"label":"Your Address","admin_field_label":"","conditional_logics":[]},"fields":{"address_line_1":{"element":"input_text","attributes":{"type":"text","name":"address_line_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Address Line 1","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"address_line_2":{"element":"input_text","attributes":{"type":"text","name":"address_line_2","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Address Line 2","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"city":{"element":"input_text","attributes":{"type":"text","name":"city","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"City","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"state":{"element":"input_text","attributes":{"type":"text","name":"state","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"State","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"zip":{"element":"input_text","attributes":{"type":"text","name":"zip","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Zip Code","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"country":{"element":"select_country","attributes":{"name":"country","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Country","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"country_list":{"active_list":"all","visible_list":[],"hidden_list":[]},"conditional_logics":[]},"options":{"BD":"Bangladesh","US":"US of America"},"editor_options":{"title":"Country List","element":"country-list","icon_class":"icon-text-width","template":"selectCountry"}}},"editor_options":{"title":"Address Fields","element":"address-fields","icon_class":"icon-credit-card","template":"addressFields"},"uniqElKey":"el_1570700718461"},{"index":6,"element":"input_number","attributes":{"type":"number","name":"numeric-field","value":"","id":"","class":"","placeholder":"e.g.: $10"},"settings":{"container_class":"","label":"Amount you would like to donate","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"","message":"Minimum value is "},"max":{"value":"","message":"Maximum value is "}},"conditional_logics":[],"calculation_settings":{"status":false,"formula":""}},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1570686956274"},{"index":9,"element":"input_checkbox","attributes":{"type":"checkbox","name":"checkbox","value":[]},"settings":{"container_class":"","label":"Your Preferred Method of Donation","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Credit Card":"Credit Card","PayPal":"PayPal","CashApp":"CashApp","Wire Transfer":"Wire Transfer","Check":"Check"},"editor_options":{"title":"Check Box","icon_class":"icon-check-square-o","template":"inputCheckbox"},"uniqElKey":"el_1570700560368"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio","value":""},"settings":{"container_class":"","label":"How repeatedly do you want to donate?","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"One Time":"One Time","Yearly":"Yearly","Monthly":"Monthly","Weekly":"Weekly","Daily":"Daily"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1570700624445"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Form","img_url":""}},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline"}},"notifications":{"name":"Admin Notification Email","sendTo":{"type":"email","email":"{wp.admin_email}","field":"email","routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"[{inputs.names}] New Form Submission","message":"<p>{all_data}<\/p>\n<p>This form submitted at: {embed_post.permalink}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
267 |
+
),
|
268 |
+
|
269 |
+
//form number : 78
|
270 |
+
'graphic_designer_contact_form' => array(
|
271 |
+
'screenshot' => '',
|
272 |
+
'createable' => true,
|
273 |
+
'title' => 'Graphic Designer Contact Form',
|
274 |
+
'is_pro' => false,
|
275 |
+
'brief' => 'You can use this form to create a form that can be used to request a professional service',
|
276 |
+
'category' => "IT",
|
277 |
+
'tag' => ["IT", "tech", "designer", "graphic"],
|
278 |
+
'json' => '[{"id":"78","title":"Graphic Designer Contact Form","form":{"fields":[{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"What can I help you with?","description":"","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1570686619180"},{"index":2,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"First Name field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1516797564818"},{"index":7,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":"you@domain.com"},"settings":{"container_class":"","label":"Your Email","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"Email field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1516797583697"},{"index":6,"element":"input_number","attributes":{"type":"number","name":"numeric-field","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Phone Number","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"","message":"Minimum value is "},"max":{"value":"","message":"Maximum value is "}},"conditional_logics":[],"calculation_settings":{"status":false,"formula":""}},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1570687399112"},{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime_2","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"When is the best time to contact you?","admin_field_label":"","label_placement":"","date_format":"h:i K","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1570701154762"},{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"When is the best date to contact you?","admin_field_label":"","label_placement":"","date_format":"d\/m\/Y","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1570687461730"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio","value":""},"settings":{"container_class":"","label":"What can I help you with?","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"Social Media Publication":"Social Media Publication","Prints & Ilustrations":"Prints & Ilustrations","Website Design":"Website Design","Other":"Other"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1570687540354"},{"index":2,"element":"textarea","attributes":{"name":"message","value":"","id":"","class":"","placeholder":"Type your message here...","rows":4,"cols":2},"settings":{"container_class":"","label":"Describe your need","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"Message field is required"}},"conditional_logics":[]},"editor_options":{"title":"Textarea","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1516797589062"},{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"When do you need the graphic designer?","admin_field_label":"","label_placement":"","date_format":"d\/m\/Y","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1570701063541"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Form","img_url":""}},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline"}},"notifications":{"name":"Admin Notification Email","sendTo":{"type":"email","email":"{wp.admin_email}","field":"email","routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"[{inputs.names}] New Form Submission","message":"<p>{all_data}<\/p>\n<p>This form submitted at: {embed_post.permalink}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
279 |
+
),
|
280 |
+
|
281 |
+
//form number : 79
|
282 |
+
'multi_file_upload_form' => array(
|
283 |
+
'screenshot' => '',
|
284 |
+
'createable' => true,
|
285 |
+
'title' => 'Multi file upload form',
|
286 |
+
'is_pro' => true,
|
287 |
+
'brief' => 'You can use this form to create a form for multiple upload.',
|
288 |
+
'category' => "IT",
|
289 |
+
'tag' => ["It", "education", "file upload"],
|
290 |
+
'json' => '[{"id":"79","title":"Multi file upload form","form":{"fields":[{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1570687268942"},{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Email","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":true,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Email Address","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1570687293339"},{"index":6,"element":"input_number","attributes":{"type":"number","name":"numeric-field","value":"1","id":"","class":"","placeholder":"1-5"},"settings":{"container_class":"","label":"How many files do you need uploading?","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"1","message":"Minimum value is "},"max":{"value":"10","message":"Maximum value is "}},"conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]},"calculation_settings":{"status":false,"formula":""}},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1570687439535"},{"index":14,"element":"input_file","attributes":{"type":"file","name":"file-upload","value":"","id":"","class":""},"settings":{"container_class":"","label":"File Upload","admin_field_label":"","label_placement":"","btn_text":"Choose File","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"max_file_size":{"value":1048576,"_valueFrom":"MB","message":"Maximum file size limit"},"max_file_count":{"value":1,"message":"Max file count"},"allowed_file_types":{"value":[],"message":"allowed_file_types"}},"conditional_logics":{"type":"any","status":true,"conditions":[{"field":"numeric-field","value":"1","operator":">="}]}},"editor_options":{"title":"File Upload","icon_class":"icon-upload","template":"inputFile"},"uniqElKey":"el_1570687472221"},{"index":14,"element":"input_file","attributes":{"type":"file","name":"file-upload_1","value":"","id":"","class":""},"settings":{"container_class":"","label":"File Upload","admin_field_label":"","label_placement":"","btn_text":"Choose File","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"max_file_size":{"value":1048576,"_valueFrom":"MB","message":"Maximum file size limit"},"max_file_count":{"value":1,"message":"Max file count"},"allowed_file_types":{"value":[],"message":"allowed_file_types"}},"conditional_logics":{"type":"any","status":true,"conditions":[{"field":"numeric-field","value":"2","operator":">="}]}},"editor_options":{"title":"File Upload","icon_class":"icon-upload","template":"inputFile"},"uniqElKey":"el_1570687474449"},{"index":14,"element":"input_file","attributes":{"type":"file","name":"file-upload_2","value":"","id":"","class":""},"settings":{"container_class":"","label":"File Upload","admin_field_label":"","label_placement":"","btn_text":"Choose File","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"max_file_size":{"value":1048576,"_valueFrom":"MB","message":"Maximum file size limit"},"max_file_count":{"value":1,"message":"Max file count"},"allowed_file_types":{"value":[],"message":"allowed_file_types"}},"conditional_logics":{"type":"any","status":true,"conditions":[{"field":"numeric-field","value":"3","operator":">="}]}},"editor_options":{"title":"File Upload","icon_class":"icon-upload","template":"inputFile"},"uniqElKey":"el_1570687504965"},{"index":14,"element":"input_file","attributes":{"type":"file","name":"file-upload_3","value":"","id":"","class":""},"settings":{"container_class":"","label":"File Upload","admin_field_label":"","label_placement":"","btn_text":"Choose File","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"max_file_size":{"value":1048576,"_valueFrom":"MB","message":"Maximum file size limit"},"max_file_count":{"value":1,"message":"Max file count"},"allowed_file_types":{"value":[],"message":"allowed_file_types"}},"conditional_logics":{"type":"any","status":true,"conditions":[{"field":"numeric-field","value":"4","operator":">="}]}},"editor_options":{"title":"File Upload","icon_class":"icon-upload","template":"inputFile"},"uniqElKey":"el_1570687516403"},{"index":14,"element":"input_file","attributes":{"type":"file","name":"file-upload_4","value":"","id":"","class":""},"settings":{"container_class":"","label":"File Upload","admin_field_label":"","label_placement":"","btn_text":"Choose File","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"max_file_size":{"value":1048576,"_valueFrom":"MB","message":"Maximum file size limit"},"max_file_count":{"value":1,"message":"Max file count"},"allowed_file_types":{"value":[],"message":"allowed_file_types"}},"conditional_logics":{"type":"any","status":true,"conditions":[{"field":"numeric-field","value":"5","operator":">="}]}},"editor_options":{"title":"File Upload","icon_class":"icon-upload","template":"inputFile"},"uniqElKey":"el_1570687530792"},{"index":3,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Additional Comments","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1570687595629"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Form","img_url":""}},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline"}},"notifications":{"name":"Admin Notification Email","sendTo":{"type":"email","email":"{wp.admin_email}","field":"email","routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"[{inputs.names}] New Form Submission","message":"<p>{all_data}<\/p>\n<p>This form submitted at: {embed_post.permalink}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
291 |
+
),
|
292 |
+
|
293 |
+
//form number : 81
|
294 |
+
'highschool_transcript_request_from' => array(
|
295 |
+
'screenshot' => '',
|
296 |
+
'createable' => true,
|
297 |
+
'title' => 'High School Transcript Request From',
|
298 |
+
'is_pro' => true,
|
299 |
+
'brief' => 'Use this form to request the school documents.',
|
300 |
+
'category' => "Education",
|
301 |
+
'tag' => ["Education", "school", "request"],
|
302 |
+
'json' => '[{"id":"81","title":"High School Transcript Request From","form":{"fields":[{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1570688098700"},{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Graduation Date","admin_field_label":"","label_placement":"","date_format":"d\/m\/Y","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1570688194088"},{"index":4,"element":"address","attributes":{"id":"","class":"","name":"address1","data-type":"address-element"},"settings":{"label":"Address","admin_field_label":"","conditional_logics":[]},"fields":{"address_line_1":{"element":"input_text","attributes":{"type":"text","name":"address_line_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Address Line 1","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"address_line_2":{"element":"input_text","attributes":{"type":"text","name":"address_line_2","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Address Line 2","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"city":{"element":"input_text","attributes":{"type":"text","name":"city","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"City","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"state":{"element":"input_text","attributes":{"type":"text","name":"state","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"State","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"zip":{"element":"input_text","attributes":{"type":"text","name":"zip","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Zip Code","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"country":{"element":"select_country","attributes":{"name":"country","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Country","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"country_list":{"active_list":"all","visible_list":[],"hidden_list":[]},"conditional_logics":[]},"options":{"BD":"Bangladesh","US":"US of America"},"editor_options":{"title":"Country List","element":"country-list","icon_class":"icon-text-width","template":"selectCountry"}}},"editor_options":{"title":"Address Fields","element":"address-fields","icon_class":"icon-credit-card","template":"addressFields"},"uniqElKey":"el_1570688217102"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Registration Number","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570688229288"},{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Birthdate","admin_field_label":"","label_placement":"","date_format":"d\/m\/Y","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1570688245763"},{"index":30,"element":"phone","attributes":{"name":"phone","class":"","value":"","type":"tel","placeholder":""},"settings":{"container_class":"","placeholder":"","int_tel_number":"no","label":"Current Phone","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":true,"message":"This field is required"},"valid_phone_number":{"value":false,"message":"Phone number is not valid"}},"conditional_logics":[]},"editor_options":{"title":"Phone Field","icon_class":"el-icon-phone-outline","template":"inputText"},"uniqElKey":"el_1570688265645"},{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Email","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":true,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email Address","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1570688289864"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio","value":""},"settings":{"container_class":"","label":"I wish to pick up an UNOFFICIAL copy of my transcript","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"yes":"Yes","no":"No"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1570688311786"},{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"Please send an OFFICIAL copy of my high school transcript to:","description":"","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1570688417395"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_1","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"College\/University Name","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570688445375"},{"index":4,"element":"address","attributes":{"id":"","class":"","name":"address2","data-type":"address-element"},"settings":{"label":"Address","admin_field_label":"","conditional_logics":[]},"fields":{"address_line_1":{"element":"input_text","attributes":{"type":"text","name":"address_line_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Address Line 1","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"address_line_2":{"element":"input_text","attributes":{"type":"text","name":"address_line_2","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Address Line 2","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"city":{"element":"input_text","attributes":{"type":"text","name":"city","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"City","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"state":{"element":"input_text","attributes":{"type":"text","name":"state","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"State","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"zip":{"element":"input_text","attributes":{"type":"text","name":"zip","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Zip Code","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"country":{"element":"select_country","attributes":{"name":"country","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Country","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"country_list":{"active_list":"all","visible_list":[],"hidden_list":[]},"conditional_logics":[]},"options":{"BD":"Bangladesh","US":"US of America"},"editor_options":{"title":"Country List","element":"country-list","icon_class":"icon-text-width","template":"selectCountry"}}},"editor_options":{"title":"Address Fields","element":"address-fields","icon_class":"icon-credit-card","template":"addressFields"},"uniqElKey":"el_1570688471703"},{"index":1,"element":"input_email","attributes":{"type":"email","name":"email_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Email","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email Address","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1570688478486"},{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"","description":"<p>College\/University info<\/p>","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1570688542307"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_2","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"College\/University Name","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570688579789"},{"index":4,"element":"address","attributes":{"id":"","class":"","name":"address3","data-type":"address-element"},"settings":{"label":"Address","admin_field_label":"","conditional_logics":[]},"fields":{"address_line_1":{"element":"input_text","attributes":{"type":"text","name":"address_line_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Address Line 1","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"address_line_2":{"element":"input_text","attributes":{"type":"text","name":"address_line_2","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Address Line 2","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"city":{"element":"input_text","attributes":{"type":"text","name":"city","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"City","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"state":{"element":"input_text","attributes":{"type":"text","name":"state","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"State","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"zip":{"element":"input_text","attributes":{"type":"text","name":"zip","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Zip Code","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"country":{"element":"select_country","attributes":{"name":"country","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Country","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"country_list":{"active_list":"all","visible_list":[],"hidden_list":[]},"conditional_logics":[]},"options":{"BD":"Bangladesh","US":"US of America"},"editor_options":{"title":"Country List","element":"country-list","icon_class":"icon-text-width","template":"selectCountry"}}},"editor_options":{"title":"Address Fields","element":"address-fields","icon_class":"icon-credit-card","template":"addressFields"},"uniqElKey":"el_1570688596943"},{"index":1,"element":"input_email","attributes":{"type":"email","name":"email_2","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Email","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email Address","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1570688603366"},{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"","description":"","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1570688618403"},{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime_2","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Today\'s Date","admin_field_label":"","label_placement":"","date_format":"d\/m\/Y","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1570688644312"},{"index":15,"element":"input_image","attributes":{"type":"file","name":"image-upload","value":"","id":"","class":"","accept":"image\/*"},"settings":{"container_class":"","label":"Upload Signature","admin_field_label":"","label_placement":"","btn_text":"Choose File","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"max_file_size":{"value":1048576,"_valueFrom":"MB","message":"Maximum file size limit"},"max_file_count":{"value":1,"message":"Max file count"},"allowed_image_types":{"value":["jpg|jpeg","png","gif"],"message":"Allowed image size does not match"}},"conditional_logics":[]},"editor_options":{"title":"Image Upload","icon_class":"icon-picture-o","template":"inputFile"},"uniqElKey":"el_1570688683654"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Form","img_url":""}},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Lets hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline"}},"notifications":{"name":"Admin Notification Email","sendTo":{"type":"email","email":"{wp.admin_email}","field":"email","routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"[{inputs.names}] New Form Submission","message":"<p>{all_data}<\/p>\n<p>This form submitted at: {embed_post.permalink}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
303 |
+
),
|
304 |
+
|
305 |
+
//form number : 82
|
306 |
+
'partnership_application_form' => array(
|
307 |
+
'screenshot' => '',
|
308 |
+
'createable' => true,
|
309 |
+
'title' => 'Partnership application form',
|
310 |
+
'is_pro' => true,
|
311 |
+
'brief' => 'This form can be used to create a form for patrnership agreement.',
|
312 |
+
'category' => "Finance",
|
313 |
+
'tag' => ["HR", "Finance", "IT", "Partnership", "application"],
|
314 |
+
'json' => '[{"id":"82","title":"Partnership application form","form":{"fields":[{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"Partnership Application Form\t","description":"<p>Thank you for your interests in our company. We are excited to have you on board as one of our esteemed partners. To get started, please complete all fields accordingly. We will review and get in touch with your shortly. If you are unsure about any of the answers, please use an estimation.\u00a0<\/p>","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1570688772459"},{"index":1,"element":"container","attributes":[],"settings":[],"columns":[{"fields":[{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Company Name","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570688832461"}]},{"fields":[{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_1","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Company URL","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570688834783"}]}],"editor_options":{"title":"Two Column Container","icon_class":"icon-columns"},"uniqElKey":"el_1570688827205"},{"index":1,"element":"container","attributes":[],"settings":[],"columns":[{"fields":[{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_2","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Number of Employees","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570688832461"}]},{"fields":[{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_3","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Number of Customers","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570688834783"}]}],"editor_options":{"title":"Two Column Container","icon_class":"icon-columns"},"uniqElKey":"el_1570688872893"},{"index":7,"element":"select","attributes":{"name":"dropdown","value":"","id":"","class":""},"settings":{"label":"Place of Business","admin_field_label":"","help_message":"","container_class":"","label_placement":"","placeholder":"- Select -","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"Singapore":"Singapore","Malaysia":"Malaysia","HongKong":"HongKong"},"editor_options":{"title":"Dropdown","icon_class":"icon-caret-square-o-down","element":"select","template":"select"},"uniqElKey":"el_1570688928851"},{"index":9,"element":"input_checkbox","attributes":{"type":"checkbox","name":"checkbox","value":[]},"settings":{"container_class":"","label":"Current Demand Generation Activities (you can select more than one)","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"Direct Mailer":"Direct Mailer","Website Optimization":"Website Optimization","Email\/Mobile Marketing":"Email\/Mobile Marketing","Media Advertisement":"Media Advertisement","Social Media":"Social Media","Paid Search \/ SEO":"Paid Search \/ SEO","Trade show\/Workshop":"Trade show\/Workshop"},"editor_options":{"title":"Check Box","icon_class":"icon-check-square-o","template":"inputCheckbox"},"uniqElKey":"el_1570689033598"},{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"","description":"","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1570689288717"},{"index":9,"element":"input_checkbox","attributes":{"type":"checkbox","name":"checkbox_1","value":[]},"settings":{"container_class":"","label":"Do you want us to publish your profile on our site?","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"Yes":"Yes","No":"No"},"editor_options":{"title":"Check Box","icon_class":"icon-check-square-o","template":"inputCheckbox"},"uniqElKey":"el_1570689328534"},{"index":3,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Your Company Profile (less than 150 words)","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1570689365456"},{"index":3,"element":"textarea","attributes":{"name":"description_1","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Company Specialization Keywords (Separated by comma)","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1570689403621"},{"index":1,"element":"container","attributes":[],"settings":[],"columns":[{"fields":[{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_4","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Sales Inquiry Number (Leave blank if unknown)","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570689431777"}]},{"fields":[{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Sales Enquiry Email Address","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email Address","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1570689472697"}]}],"editor_options":{"title":"Two Column Container","icon_class":"icon-columns"},"uniqElKey":"el_1570689428622"},{"index":14,"element":"input_file","attributes":{"type":"file","name":"file-upload","value":"","id":"","class":""},"settings":{"container_class":"","label":"Upload Logo (PNG, Transparent Background)","admin_field_label":"","label_placement":"","btn_text":"Choose File","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"max_file_size":{"value":1048576,"_valueFrom":"MB","message":"Maximum file size limit"},"max_file_count":{"value":1,"message":"Max file count"},"allowed_file_types":{"value":[],"message":"allowed_file_types"}},"conditional_logics":[]},"editor_options":{"title":"File Upload","icon_class":"icon-upload","template":"inputFile"},"uniqElKey":"el_1570689521234"},{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"","description":"","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1570689550780"},{"index":3,"element":"custom_html","attributes":[],"settings":{"html_codes":"<h2>Point of Contact - Partnership<\/h2>","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Custom HTML","icon_class":"icon-code","template":"customHTML"},"uniqElKey":"el_1570689580798"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_5","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Contact Name","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570689809823"},{"index":1,"element":"container","attributes":[],"settings":[],"columns":[{"fields":[{"index":6,"element":"input_number","attributes":{"type":"number","name":"numeric-field_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Phone Number","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"},"numeric":{"value":true,
|
315 |
+
"message":"This field must contain numeric value"},"min":{"value":"","message":"Minimum value is "},"max":{"value":"","message":"Maximum value is "}},"conditional_logics":[],"calculation_settings":{"status":false,"formula":""}},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1570689883374"}]},{"fields":[{"index":1,"element":"input_email","attributes":{"type":"email","name":"email_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Email Address","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":true,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email Address","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1570689894280"}]}],"editor_options":{"title":"Two Column Container","icon_class":"icon-columns"},"uniqElKey":"el_1570689850530"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Form","img_url":""}},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Lets hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline"}},"notifications":{"name":"Admin Notification Email","sendTo":{"type":"email","email":"{wp.admin_email}","field":"email","routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"[{inputs.names}] New Form Submission","message":"<p>{all_data}<\/p>\n<p>This form submitted at: {embed_post.permalink}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
316 |
+
),
|
317 |
+
|
318 |
+
//form number : 83
|
319 |
+
'employee_evaluation_form' => array(
|
320 |
+
'screenshot' => '',
|
321 |
+
'createable' => true,
|
322 |
+
'title' => 'Employee Evaluation Form',
|
323 |
+
'is_pro' => true,
|
324 |
+
'brief' => 'This form can be used to do an employee.',
|
325 |
+
'category' => "HR",
|
326 |
+
'tag' => ["Evaluation", "HR", "office", "corporate"],
|
327 |
+
'json' => '[{"id":"83","title":"Employee Evaluation Form","form":{"fields":[{"index":3,"element":"custom_html","attributes":[],"settings":{"html_codes":"<p style=\"text-align: center;\"><strong>Please remember that, the form will be confidential and will be used for only internally; so, feel free to submit your data however you feel to submit;\u00a0<\/strong><\/p>","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Custom HTML","icon_class":"icon-code","template":"customHTML"},"uniqElKey":"el_1570702175914"},{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1570689782476"},{"index":1,"element":"container","attributes":[],"settings":[],"columns":[{"fields":[{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Title","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570689820062"}]},{"fields":[{"index":7,"element":"select","attributes":{"name":"dropdown","value":"","id":"","class":""},"settings":{"label":"Relationship with employee:","admin_field_label":"","help_message":"","container_class":"","label_placement":"","placeholder":"- Select -","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"Coworker":"Coworker","Supervisoe(Direct)":"Supervisoe(Direct)","Supervisoe(indirect)":"Supervisoe(indirect)"},"editor_options":{"title":"Dropdown","icon_class":"icon-caret-square-o-down","element":"select","template":"select"},"uniqElKey":"el_1570689833476"}]}],"editor_options":{"title":"Two Column Container","icon_class":"icon-columns"},"uniqElKey":"el_1570689816823"},{"index":3,"element":"custom_html","attributes":[],"settings":{"html_codes":"<div class=\"c-title\">\n<h3>Employee Information<\/h3>\n<\/div>\n<div id=\"gtx-trans\" style=\"position: absolute; left: 130px; top: 38px;\">\n<div class=\"gtx-trans-icon\">\u00a0<\/div>\n<\/div>","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Custom HTML","icon_class":"icon-code","template":"customHTML"},"uniqElKey":"el_1570689925613"},{"index":0,"element":"input_name","attributes":{"name":"names_1","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1570689939836"},{"index":1,"element":"container","attributes":[],"settings":[],"columns":[{"fields":[{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_1","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Text Input","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570690142095"}]},{"fields":[{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio","value":""},"settings":{"container_class":"","label":"Review type:","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"90-Day Review":"90-Day Review","Annual\/Raise Review":"Annual\/Raise Review"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1570690153659"}]}],"editor_options":{"title":"Two Column Container","icon_class":"icon-columns"},"uniqElKey":"el_1570690139004"},{"index":9,"element":"tabular_grid","attributes":{"name":"tabular_grid","data-type":"tabular-element"},"settings":{"tabular_field_type":"radio","container_class":"","label":"How would you rate the employee...","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required","per_row":false}},"conditional_logics":[],"grid_columns":{"Very Poor":"Very Poor","Poor":"Poor","Average":"Average","Good":"Good","Very Good":"Very Good"},"grid_rows":{"Attendance?\t":"Attendance?\t","Attire?":"Attire?","Professionalism?":"Professionalism?","Work area?":"Work area?","Ability to do the job?":"Ability to do the job?","Ability to work with others?\t":"Ability to work with others?\t","Ability to receive feedback\/criticism?\t":"Ability to receive feedback\/criticism?\t","Ability to adapt?":"Ability to adapt?","Willingness to learn?\t":"Willingness to learn?\t","Willingness to participate?":"Willingness to participate?","Work ethic?":"Work ethic?","Quality of work?":"Quality of work?"},"selected_grids":[]},"editor_options":{"title":"Checkable Grid","icon_class":"icon-dot-circle-o","template":"checkableGrids"},"uniqElKey":"el_1570690219522"},{"index":3,"element":"textarea","attributes":{"name":"description_1","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"What are the employee\'s top qualities?","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1570690459722"},{"index":3,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"In what ways could the employee improve?","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1570690441275"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit","img_url":""},"normal_styles":{},"hover_styles":{},"current_state":"normal_styles"},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,
|
328 |
+
"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Lets hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline"}},"notifications":{"name":"Admin Notification Email","sendTo":{"type":"email","email":"{wp.admin_email}","field":"email","routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"[{inputs.names}] New Form Submission","message":"<p>{all_data}<\/p>\n<p>This form submitted at: {embed_post.permalink}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
329 |
+
),
|
330 |
+
|
331 |
+
|
332 |
+
//form number : 85
|
333 |
+
'party_invite_form' => array(
|
334 |
+
'screenshot' => '',
|
335 |
+
'createable' => true,
|
336 |
+
'title' => 'Party Invite Form',
|
337 |
+
'is_pro' => true,
|
338 |
+
'brief' => 'For social invitation, you can use this form.',
|
339 |
+
'category' => "Social",
|
340 |
+
'tag' => ["Social", "party", "invite"],
|
341 |
+
'json' => '[{"id":"85","title":"Party Invite Form","form":{"fields":[{"index":3,"element":"custom_html","attributes":[],"settings":{"html_codes":"<p style=\"text-align: center;\"><strong>You\'re Invited! <\/strong><\/p>\n<p style=\"text-align: center;\"><strong>Come get cool at our pool this 4th of July!<\/strong><\/p>\n<div style=\"width: 35%; margin: 0px auto; text-align: center;\">[You can add an Image\/Logo Here]<\/div>\n<p style=\"text-align: center;\">Time: July 4th 2020<\/p>\n<p style=\"text-align: center;\">Address: 2611 Ash Avenue, SAN DIEGO, CA, California, 92152\u00a0<\/p>","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Custom HTML","icon_class":"icon-code","template":"customHTML"},"uniqElKey":"el_1570690728985"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio","value":""},"settings":{"container_class":"","label":"Are you coming?","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"yes":"Yes","no":"No"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1570691339820"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio_1","value":""},"settings":{"container_class":"","label":"Will you bring a guest with you?","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"options":{"yes":"Yes","no":"No"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1570691365305"},{"index":6,"element":"input_number","attributes":{"type":"number","name":"numeric-field","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Cool! How many? (maximum 3)","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"","message":"Minimum value is "},"max":{"value":"3","message":"Maximum value is "}},"conditional_logics":{"type":"any","status":true,"conditions":[{"field":"input_radio_1","value":"yes","operator":"="}]},"calculation_settings":{"status":false,"formula":""}},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1570691383553"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio_2","value":""},"settings":{"container_class":"","label":"Are you bringing any food? (e.g. wine, sandwich, pizza etc. )","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"yes":"Yes","no":"No"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1570691442090"},{"index":3,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Cool! What are you bringing?","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":{"type":"any","status":true,"conditions":[{"field":"input_radio_2","value":"yes","operator":"="}]}},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1570691451487"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"sm","color":"#ffffff","button_ui":{"type":"default","text":"Submit","img_url":""},"normal_styles":{},"hover_styles":{},"current_state":"normal_styles"},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline"}},"notifications":{"name":"Admin Notification Email","sendTo":{"type":"email","email":"{wp.admin_email}","field":"email","routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"[{inputs.names}] New Form Submission","message":"<p>{all_data}<\/p>\n<p>This form submitted at: {embed_post.permalink}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
342 |
+
),
|
343 |
+
|
344 |
+
//form number : 87
|
345 |
+
'software_survey_form' => array(
|
346 |
+
'screenshot' => '',
|
347 |
+
'createable' => true,
|
348 |
+
'title' => 'Software Survey Form',
|
349 |
+
'is_pro' => true,
|
350 |
+
'brief' => 'Use this form to create a software survey or a product survey.',
|
351 |
+
'category' => "IT",
|
352 |
+
'tag' => ["Software", "survey", "request", "office"],
|
353 |
+
'json' => '[{"id":"87","title":"Software Survey Form","form":{"fields":[{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"Software Survey","description":"","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1570691364486"},{"index":9,"element":"input_checkbox","attributes":{"type":"checkbox","name":"checkbox","value":[]},"settings":{"container_class":"","label":"How did you hear about ...?","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"Our Website":"Our Website","Frineds":"Frineds","Social Media":"Social Media","Ads":"Ads","Generic Search":"Generic Search"},"editor_options":{"title":"Check Box","icon_class":"icon-check-square-o","template":"inputCheckbox"},"uniqElKey":"el_1570691410457"},{"index":9,"element":"input_checkbox","attributes":{"type":"checkbox","name":"checkbox_1","value":[]},"settings":{"container_class":"","label":"Which platform do you use?","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"Mac OS":"Mac OS","Linux":"Linux","Windows":"Windows","Other":"Other"},"editor_options":{"title":"Check Box","icon_class":"icon-check-square-o","template":"inputCheckbox"},"uniqElKey":"el_1570691462708"},{"index":8,"element":"ratings","attributes":{"class":"","value":0,"name":"ratings"},"settings":{"label":"How would you rate our software?","show_text":false,"help_message":"","label_placement":"","admin_field_label":"","container_class":"","conditional_logics":[],"validation_rules":{"required":{"value":false,"message":"This field is required"}}},"options":{"1":"Nice","2":"Good","3":"Very Good","4":"Awesome","5":"Amazing"},"editor_options":{"title":"Ratings","icon_class":"icon-eye-slash","template":"ratings"},"uniqElKey":"el_1570691524650"},{"index":9,"element":"input_checkbox","attributes":{"type":"checkbox","name":"checkbox_2","value":[]},"settings":{"container_class":"","label":"Did you purchase any of our software?","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Yes":"Yes","No":"No"},"editor_options":{"title":"Check Box","icon_class":"icon-check-square-o","template":"inputCheckbox"},"uniqElKey":"el_1570691587030"},{"index":3,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Please let us know if you have any suggestions for us.","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1570691583718"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Form","img_url":""}},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Lets hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline"}},"notifications":{"name":"Admin Notification Email","sendTo":{"type":"email","email":"{wp.admin_email}","field":"email","routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"[{inputs.names}] New Form Submission","message":"<p>{all_data}<\/p>\n<p>This form submitted at: {embed_post.permalink}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
354 |
+
),
|
355 |
+
|
356 |
+
//form number : 88
|
357 |
+
'hardware_request_form' => array(
|
358 |
+
'screenshot' => '',
|
359 |
+
'createable' => true,
|
360 |
+
'title' => 'Hardware Request Form',
|
361 |
+
'is_pro' => false,
|
362 |
+
'brief' => 'You can use this form to create a hardware request in your office.',
|
363 |
+
'category' => "IT",
|
364 |
+
'tag' => ["HR", "IT", "Hardware"],
|
365 |
+
'json' => '[{"id":"88","title":"Hardware Request Form","form":{"fields":[{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"Hardware Request Form","description":"<p style=\"text-align: left;\">This form will be used to request if any new hardware is needed in any department.\u00a0<\/p>","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1570692575749"},{"index":2,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Requester\'s First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"First Name field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Requester\'s Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1516797564818"},{"index":7,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":"you@domain.com"},"settings":{"container_class":"","label":"Requester\'s Email","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"Email field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1516797583697"},{"index":6,"element":"input_number","attributes":{"type":"number","name":"numeric-field","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Requester\'s Phone Number","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"","message":"Minimum value is "},"max":{"value":"","message":"Maximum value is "}},"conditional_logics":[],"calculation_settings":{"status":false,"formula":""}},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1570691864195"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Department to Purchase","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570691901415"},{"index":7,"element":"select","attributes":{"name":"dropdown","value":"","id":"","class":""},"settings":{"label":"What type of hardware do you need?","admin_field_label":"","help_message":"","container_class":"","label_placement":"","placeholder":"- Select -","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"New Destop":"New Destop","New Laptop":"New Laptop","Tablet Computer":"Tablet Computer","Accessories ":"Accessories ","Others":"Others"},"editor_options":{"title":"Dropdown","icon_class":"icon-caret-square-o-down","element":"select","template":"select"},"uniqElKey":"el_1570691948417"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_1","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"If you choose other, please write the name.","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570703018093"},{"index":9,"element":"input_checkbox","attributes":{"type":"checkbox","name":"checkbox","value":[]},"settings":{"container_class":"","label":"Choose Software to to be pre installed ","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Microsoft Office":"Microsoft Office","Adobe Products":"Adobe Products","3D Software":"3D Software"},"editor_options":{"title":"Check Box","icon_class":"icon-check-square-o","template":"inputCheckbox"},"uniqElKey":"el_1570692048244"},{"index":2,"element":"textarea","attributes":{"name":"message","value":"","id":"","class":"","placeholder":"Type your message here...","rows":4,"cols":2},"settings":{"container_class":"","label":"Other Software \/ Instruction ","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"Message field is required"}},"conditional_logics":[]},"editor_options":{"title":"Textarea","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1516797589062"},{"index":2,"element":"textarea","attributes":{"name":"message_1","value":"","id":"","class":"","placeholder":"Type your message here...","rows":4,"cols":2},"settings":{"container_class":"","label":"Reason for the Request (Be Specific)","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"Message field is required"}},"conditional_logics":[]},"editor_options":{"title":"Textarea","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1570692289814"},{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Date Submitted","admin_field_label":"","label_placement":"","date_format":"d\/m\/Y","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1570692459185"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Form","img_url":""}},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Lets hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline"}},"notifications":{"name":"Admin Notification Email","sendTo":{"type":"email","email":"{wp.admin_email}","field":"email","routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"[{inputs.names}] New Form Submission","message":"<p>{all_data}<\/p>\n<p>This form submitted at: {embed_post.permalink}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
366 |
+
),
|
367 |
+
|
368 |
+
|
369 |
+
//form number : 89
|
370 |
+
'functional_behavioral_assessment_form' => array(
|
371 |
+
'screenshot' => '',
|
372 |
+
'createable' => true,
|
373 |
+
'title' => 'Functional Behavioral Assessment Form',
|
374 |
+
'is_pro' => true,
|
375 |
+
'brief' => 'This form can be used to perform a functional behavioral.',
|
376 |
+
'category' => "Education",
|
377 |
+
'tag' => ["Education", "Social", "behaviour"],
|
378 |
+
'json' => '[{"id":"89","title":"Functional Behavioral Assessment Form","form":{"fields":[{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1570691787066"},{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Date","admin_field_label":"","label_placement":"","date_format":"d\/m\/Y","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1570691810024"},{"index":9,"element":"input_checkbox","attributes":{"type":"checkbox","name":"checkbox","value":[]},"settings":{"container_class":"","label":"Sources of Data","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Record Review":"Record Review","Scatterplot":"Scatterplot","ABC Logs":"ABC Logs","Other":"Other"},"editor_options":{"title":"Check Box","icon_class":"icon-check-square-o","template":"inputCheckbox"},"uniqElKey":"el_1570691825335"},{"index":3,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Describe the data source","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":{"type":"any","status":true,"conditions":[{"field":"checkbox","value":"Other","operator":"="}]}},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1570691891321"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio","value":""},"settings":{"container_class":"","label":"Information Reported by:","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Teacher":"Teacher","Parent":"Parent","Student":"Student","Other":"Other"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1570691930433"},{"index":3,"element":"textarea","attributes":{"name":"description_1","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Describe your role.","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1570691982011"},{"index":0,"element":"input_name","attributes":{"name":"names_1","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Assessor Name ","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Assessor Name(First Name)","help_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Assessor Name(Last Name)","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1570692022666"},{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"Problem Behaviors","description":"","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1570692095297"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_6","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Describe behaviors in specific and observable terms.","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570692282542"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_8","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Estimated frequency","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570692305723"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_9","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Describe any observed patterns related to reported behavior.","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570692329357"},{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"Medical\/Health Information","description":"","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1570692238232"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Known health, medical, or psychiatric conditions","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570692110572"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_1","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Current medications","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570692123766"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_2","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Effects and side-effect of medication","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570692132688"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_3","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Known traumatic events","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570692140643"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_4","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Medical treatments, therapies, or services (outside of school)","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570692150614"},{"index":7,"element":"form_step","attributes":{"id":"","class":""},"settings":{"prev_btn":{"type":"default","text":"Previous","img_url":""},"next_btn":{"type":"default","text":"Next","img_url":""}},"editor_options":{"title":"Form Step","icon_class":"icon-step-forward","template":"formStep"},"uniqElKey":"el_1570692169923"},{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"Intervention History","description":"","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1570692361306"},{"index":3,"element":"textarea","attributes":{"name":"description_2","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Describe a brief history of the problem behavior and any interventions.","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1570692375525"},{"index":3,"element":"textarea","attributes":{"name":"description_3","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"If applicable, how would you describe the effectiveness of past intervention efforts?","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1570692388449"},{"index":3,"element":"textarea","attributes":{"name":"description_4","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"What rewards are currently provided to the student in school? For what and how often?","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1570692388545"},{"index":3,"element":"textarea","attributes":{"name":"description_5","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"What consequences are currently used in school for problem behaviors?","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1570692407455"},{"index":3,"element":"textarea","attributes":{"name":"description_6","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"What is the typical student response to these consequences?","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1570692417021"},{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"Skills Assessment","description":"","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1570692436456"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_10","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"What are the student\'s academic strengths?","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570692454937"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_11","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"What are the student\'s academic needs?","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570692462466"},{"index":3,"element":"textarea","attributes":{"name":"description_8","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"What are the student\'s organizational needs?","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1570692474324"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_12","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"What are the student\'s preferred learning styles?","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570692483064"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_13","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"What are the student\'s social strengths?","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570692496386"},{"index":3,"element":"textarea","attributes":{"name":"description_9","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"What are the student\'s deficits in regard to social skills with adults and peers?","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1570692522715"},{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"Communication Summary","description":"","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1570692543126"},{"index":9,"element":"input_checkbox","attributes":{"type":"checkbox","name":"checkbox_1","value":[]},"settings":{"container_class":"","label":"Does the student have difficulty in expressing any of these basic communication functions?","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"Gaining adult attention":"Gaining adult attention","Gaining attention of peers":"Gaining attention of peers","Dealing with a difficult task":"Dealing with a difficult task","Expressing frustration or confusion":"Expressing frustration or confusion","Requesting things of others":"Requesting things of others","Rejecting or protesting something":"Rejecting or protesting something","Indicating preferences or making choices":"Indicating preferences or making choices","Requesting assistance":"Requesting assistance"},"editor_options":{"title":"Check Box","icon_class":"icon-check-square-o","template":"inputCheckbox"},"uniqElKey":"el_1570692605327"},{"index":3,"element":"textarea","attributes":{"name":"description_10","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Use the summary below to think about and identify possible replacement behaviors for instruction. Number separate issues in each of the the following fields to clearly connect problem behavior to communication function and replacement behavior. Target Problem Behavior(s)","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":{"type":"any","status":true,"conditions":[{"field":"checkbox_1","value":"Gaining adult attention","operator":"="},{"field":"checkbox_1","value":"Gaining attention of peers","operator":"="},{"field":"checkbox_1","value":"Dealing with a difficult task","operator":"="},{"field":"checkbox_1","value":"Requesting things of others","operator":"="},{"field":"checkbox_1","value":"Rejecting or protesting something","operator":"="},{"field":"checkbox_1","value":"Indicating preferences or making choices","operator":"="},{"field":"checkbox_1","value":"Requesting assistance","operator":"="}]}},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1570692813772"},{"index":3,"element":"textarea","attributes":{"name":"description_14","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Related Communication Function(s)","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":{"type":"any","status":true,"conditions":[{"field":"checkbox_1","value":"Gaining adult attention","operator":"="},{"field":"checkbox_1","value":"Gaining attention of peers","operator":"="},{"field":"checkbox_1","value":"Dealing with a difficult task","operator":"="},{"field":"checkbox_1","value":"Requesting things of others","operator":"="},{"field":"checkbox_1","value":"Rejecting or protesting something","operator":"="},{"field":"checkbox_1","value":"Indicating preferences or making choices","operator":"="},{"field":"checkbox_1","value":"Requesting assistance","operator":"="}]}},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1570693189319"},{"index":3,"element":"textarea","attributes":{"name":"description_15","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Possible Replacement Behavior(s)","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":{"type":"any","status":true,"conditions":[{"field":"checkbox_1","value":"Gaining adult attention","operator":"="},{"field":"checkbox_1","value":"Gaining attention of peers","operator":"="},{"field":"checkbox_1","value":"Dealing with a difficult task","operator":"="},{"field":"checkbox_1","value":"Requesting things of others","operator":"="},{"field":"checkbox_1","value":"Rejecting or protesting something","operator":"="},{"field":"checkbox_1","value":"Indicating preferences or making choices","operator":"="},{"field":"checkbox_1","value":"Requesting assistance","operator":"="}]}},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1570693182568"},{"index":7,"element":"form_step","attributes":{"id":"","class":""},"settings":{"prev_btn":{"type":"default","text":"Previous","img_url":""},"next_btn":{"type":"default","text":"Next","img_url":""}},"editor_options":{"title":"Form Step","icon_class":"icon-step-forward","template":"formStep"},"uniqElKey":"el_1570693241639"},{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"Consequence Analysis","description":"","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1570693246106"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_14","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Thinking about the last few times the behavior occurred, what typically actually happens immediately afterward?","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570693259824"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_15","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Are demands typically altered after the target behavior?","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570693270694"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_16","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Does someone usually intervene to help the student after the target behavior?","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570693281502"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_17","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Does the student gain access to something that he\/she appears to want?","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570693290589"},{"index":3,"element":"textarea","attributes":{"name":"description_16","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Does the behavior appear pleasurable to the student apart from what else is going on around him\/her?","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1570693299919"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_18","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Does the behavior appear to give the student control of others or the situation? Explain.","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570693309895"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_19","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Does the behavior, or do related behaviors, appear to be compulsive (i.e., repetitive, internally driven)? Explain.","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570693352870"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Form","img_url":""}},"editor_options":{"title":"Submit Button"}},"stepsWrapper":{"stepStart":{"element":"step_start","attributes":{"id":"","class":""},"settings":{"progress_indicator":"","step_titles":[]},"editor_options":{"title":"Start Paging"}},"stepEnd":{"element":"step_end","attributes":{"id":"","class":""},"settings":{"prev_btn":{"type":"default","text":"Previous","img_url":""}},"editor_options":{"title":"End Paging"}}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Lets hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline"}},"notifications":{"name":"Admin Notification Email","sendTo":{"type":"email","email":"{wp.admin_email}","field":"email","routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"[{inputs.names}] New Form Submission","message":"<p>{all_data}<\/p>\n<p>This form submitted at: {embed_post.permalink}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
379 |
+
),
|
380 |
+
|
381 |
+
//form number : 92
|
382 |
+
'finance_application_form' => array(
|
383 |
+
'screenshot' => '',
|
384 |
+
'createable' => true,
|
385 |
+
'title' => 'Finance Application Form',
|
386 |
+
'is_pro' => true,
|
387 |
+
'brief' => 'Use this form to create finance application form.',
|
388 |
+
'category' => "Finance",
|
389 |
+
'tag' => "Finance",
|
390 |
+
'json' => '[{"id":"92","title":"Finance Application Form","form":{"fields":[{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"Finance Application\t","description":"","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1570699678710"},{"index":2,"element":"container","attributes":[],"settings":[],"columns":[{"fields":[{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Date","admin_field_label":"","label_placement":"","date_format":"m\/d\/Y","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1570699483235"}]},{"fields":[{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Sales Person","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570699667479"}]},{"fields":[{"index":9,"element":"input_checkbox","attributes":{"type":"checkbox","name":"checkbox","value":[]},"settings":{"container_class":"","label":"Choose One","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Individual Credit":"Individual Credit","Joint Credit":"Joint Credit"},"editor_options":{"title":"Check Box","icon_class":"icon-check-square-o","template":"inputCheckbox"},"uniqElKey":"el_1570699506553"}]}],"editor_options":{"title":"Three Column Container","icon_class":"icon-columns"},"uniqElKey":"el_1570699473578"},{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"","description":"","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1570699786078"},{"index":3,"element":"custom_html","attributes":[],"settings":{"html_codes":"<h2>Applicant Name:<\/h2>","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Custom HTML","icon_class":"icon-code","template":"customHTML"},"uniqElKey":"el_1570700145081"},{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1570699761165"},{"index":1,"element":"container","attributes":[],"settings":[],"columns":[{"fields":[{"index":0,"element":"input_name","attributes":{"name":"names_1","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1570699868756"}]},{"fields":[]}],"editor_options":{"title":"Two Column Container","icon_class":"icon-columns"},"uniqElKey":"el_1570699864073"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_1","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Social Security Number","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570699945451"},{"index":2,"element":"container","attributes":[],"settings":[],"columns":[{"fields":[{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Birth Date","admin_field_label":"","label_placement":"","date_format":"m\/d\/Y","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1570699995268"}]},{"fields":[{"index":6,"element":"input_number","attributes":{"type":"number","name":"numeric-field","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Home Phone Number","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"","message":"Minimum value is "},"max":{"value":"","message":"Maximum value is "}},"conditional_logics":[],"calculation_settings":{"status":false,"formula":""}},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1570700031669"}]},{"fields":[{"index":6,"element":"input_number","attributes":{"type":"number","name":"numeric-field_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Cell Phone Number","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"","message":"Minimum value is "},"max":{"value":"","message":"Maximum value is "}},"conditional_logics":[],"calculation_settings":{"status":false,"formula":""}},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1570700064870"}]}],"editor_options":{"title":"Three Column Container","icon_class":"icon-columns"},"uniqElKey":"el_1570699889337"},{"index":2,"element":"container","attributes":[],"settings":[],"columns":[{"fields":[{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Applicant Email ","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":true,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email Address","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1570700341279"}]},{"fields":[{"index":6,"element":"input_number","attributes":{"type":"number","name":"numeric-field_2","value":"","id":"","class":"","placeholder":"ex: 23"},"settings":{"container_class":"","label":"Number of Dependants","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"","message":"Minimum value is "},"max":{"value":"","message":"Maximum value is "}},"conditional_logics":[],"calculation_settings":{"status":false,"formula":""}},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1570700371647"}]},{"fields":[{"index":6,"element":"input_number","attributes":{"type":"number","name":"numeric-field_3","value":"","id":"","class":"","placeholder":"00 years 00 month"},"settings":{"container_class":"","label":"Time at Resident","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"","message":"Minimum value is "},"max":{"value":"","message":"Maximum value is "}},"conditional_logics":[],"calculation_settings":{"status":false,"formula":""}},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1570700064870"}]}],"editor_options":{"title":"Three Column Container","icon_class":"icon-columns"},"uniqElKey":"el_1570700325201"},{"index":4,"element":"address","attributes":{"id":"","class":"","name":"address1","data-type":"address-element"},"settings":{"label":"Present Address","admin_field_label":"","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"fields":{"address_line_1":{"element":"input_text","attributes":{"type":"text","name":"address_line_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Street Address","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"address_line_2":{"element":"input_text","attributes":{"type":"text","name":"address_line_2","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Street Address Line 2","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"city":{"element":"input_text","attributes":{"type":"text","name":"city","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"City","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"state":{"element":"input_text","attributes":{"type":"text","name":"state","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"State","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"zip":{"element":"input_text","attributes":{"type":"text","name":"zip","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Zip Code","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"country":{"element":"select_country","attributes":{"name":"country","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Country","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"country_list":{"active_list":"all","visible_list":[],"hidden_list":[]},"conditional_logics":[]},"options":{"BD":"Bangladesh","US":"US of America"},"editor_options":{"title":"Country List","element":"country-list","icon_class":"icon-text-width","template":"selectCountry"}}},"editor_options":{"title":"Address Fields","element":"address-fields","icon_class":"icon-credit-card","template":"addressFields"},"uniqElKey":"el_1570700685712"},{"index":4,"element":"address","attributes":{"id":"","class":"","name":"address2","data-type":"address-element"},"settings":{"label":"Previous Address ( If less than 2 years at present address )","admin_field_label":"","conditional_logics":[]},"fields":{"address_line_1":{"element":"input_text","attributes":{"type":"text","name":"address_line_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Street Address","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"address_line_2":{"element":"input_text","attributes":{"type":"text","name":"address_line_2","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Street Address Line 2","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"city":{"element":"input_text","attributes":{"type":"text","name":"city","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"City","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"state":{"element":"input_text","attributes":{"type":"text","name":"state","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"State","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"zip":{"element":"input_text","attributes":{"type":"text","name":"zip","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Zip Code","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"country":{"element":"select_country","attributes":{"name":"country","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Country","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"country_list":{"active_list":"all","visible_list":[],"hidden_list":[]},"conditional_logics":[]},"options":{"BD":"Bangladesh","US":"US of America"},"editor_options":{"title":"Country List","element":"country-list","icon_class":"icon-text-width","template":"selectCountry"}}},"editor_options":{"title":"Address Fields","element":"address-fields","icon_class":"icon-credit-card","template":"addressFields"},"uniqElKey":"el_1570700788152"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_2","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Employer Information","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570700865459"},{"index":2,"element":"container","attributes":[],"settings":[],"columns":[{"fields":[{"index":6,"element":"input_number","attributes":{"type":"number","name":"numeric-field_4","value":"","id":"","class":"","placeholder":"ex: 23"},"settings":{"container_class":"","label":"How Many Years","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"","message":"Minimum value is "},"max":{"value":"","message":"Maximum value is "}},"conditional_logics":[],"calculation_settings":{"status":false,"formula":""}},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1570700917049"}]},{"fields":[{"index":6,"element":"input_number","attributes":{"type":"number","name":"numeric-field_5","value":"","id":"","class":"","placeholder":"$000,00.00"},"settings":{"container_class":"","label":"Gross Annual Income ","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"","message":"Minimum value is "},"max":{"value":"","message":"Maximum value is "}},"conditional_logics":[],"calculation_settings":{"status":false,"formula":""}},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1570701088541"}]},{"fields":[{"index":9,"element":"input_checkbox","attributes":{"type":"checkbox","name":"checkbox_1","value":[]},"settings":{"container_class":"","label":"Mark please ","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Military":"Military","Spouse":"Spouse","Single":"Single"},"editor_options":{"title":"Check Box","icon_class":"icon-check-square-o","template":"inputCheckbox"},"uniqElKey":"el_1570701132423"}]}],"editor_options":{"title":"Three Column Container","icon_class":"icon-columns"},"uniqElKey":"el_1570700882691"},{"index":1,"element":"container","attributes":[],"settings":[],"columns":[{"fields":[{"index":6,"element":"input_number","attributes":{"type":"number","name":"numeric-field_6","value":"","id":"","class":"","placeholder":"ex: 23"},"settings":{"container_class":"","label":"Military Unit Number","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"","message":"Minimum value is "},"max":{"value":"","message":"Maximum value is "}},"conditional_logics":[],"calculation_settings":{"status":false,"formula":""}},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1570701211272"}]},{"fields":[{"index":6,"element":"input_number","attributes":{"type":"number","name":"numeric-field_7","value":"","id":"","class":"","placeholder":"ex: 23"},"settings":{"container_class":"","label":"Military Rank","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"","message":"Minimum value is "},"max":{"value":"","message":"Maximum value is "}},"conditional_logics":[],"calculation_settings":{"status":false,"formula":""}},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1570701221873"}]}],"editor_options":{"title":"Two Column Container","icon_class":"icon-columns"},"uniqElKey":"el_1570701192286"},{"index":1,"element":"container","attributes":[],"settings":[],"columns":[{"fields":[{"index":6,"element":"input_number","attributes":{"type":"number","name":"numeric-field_8","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Work Phone Number","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"","message":"Minimum value is "},"max":{"value":"","message":"Maximum value is "}},"conditional_logics":[],"calculation_settings":{"status":false,"formula":""}},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1570701287515"}]},{"fields":[{"index":6,"element":"input_number","attributes":{"type":"number","name":"numeric-field_9","value":"","id":"","class":"","placeholder":"$000,00.00"},"settings":{"container_class":"","label":"Numeric Field","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"","message":"Minimum value is "},"max":{"value":"","message":"Maximum value is "}},"conditional_logics":[],"calculation_settings":{"status":false,"formula":""}},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1570701305635"}]}],"editor_options":{"title":"Two Column Container","icon_class":"icon-columns"},"uniqElKey":"el_1570701278024"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_3","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Source of Additional Income","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570701344289"},{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"","description":"<div class=\"form-header-group \">\n<div class=\"header-text httac htvam\">\n<h2 id=\"header_45\" class=\"form-header\" style=\"text-align: center;\" data-component=\"header\">Co-Applicant Information<\/h2>\n<\/div>\n<\/div>\n<p> <\/p>","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1570701398711"},{"index":0,"element":"input_name","attributes":{"name":"names_2","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"ff-edit-name","template":"nameFields"},"uniqElKey":"el_1570859339482"},{"index":1,"element":"input_email","attributes":{"type":"email","name":"email_1","value":"","id":"","class":"","placeholder":"Email Address"},"settings":{"container_class":"","label":"Email","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email Address","icon_class":"ff-edit-email","template":"inputText"},"uniqElKey":"el_1570859345110"},{"index":6,"element":"input_number","attributes":{"type":"number","name":"numeric-field_10","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Cell Phone Number","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"","message":"Minimum value is "},"max":{"value":"","message":"Maximum value is "}},"conditional_logics":[],"calculation_settings":{"status":false,"formula":""}},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1570701470956"},{"index":4,"element":"address","attributes":{"id":"","class":"","name":"address2","data-type":"address-element"},"settings":{"label":"Address","admin_field_label":"","conditional_logics":[]},"fields":{"address_line_1":{"element":"input_text","attributes":{"type":"text","name":"address_line_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Address Line 1","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"address_line_2":{"element":"input_text","attributes":{"type":"text","name":"address_line_2","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Address Line 2","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"city":{"element":"input_text","attributes":{"type":"text","name":"city","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"City","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"state":{"element":"input_text","attributes":{"type":"text","name":"state","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"State","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"zip":{"element":"input_text","attributes":{"type":"text","name":"zip","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Zip Code","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"country":{"element":"select_country","attributes":{"name":"country","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Country","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"country_list":{"active_list":"all","visible_list":[],"hidden_list":[]},"conditional_logics":[]},"options":{"BD":"Bangladesh","US":"US of America"},"editor_options":{"title":"Country List","element":"country-list","icon_class":"icon-text-width","template":"selectCountry"}}},"editor_options":{"title":"Address Fields","element":"address-fields","icon_class":"ff-edit-address","template":"addressFields"},"uniqElKey":"el_1570859349319"},{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"","description":"","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1570701489712"},{"index":5,"element":"terms_and_condition","attributes":{"type":"checkbox","name":"terms-n-condition","value":false,"class":""},"settings":{"tnc_html":"<p>By clicking the submit button, I agree to terms & conditions<\/p>","has_checkbox":true,"admin_field_label":"Terms and Conditions","container_class":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Terms & Conditions","icon_class":"icon-check-square-o","template":"termsCheckbox"},"uniqElKey":"el_1570701603420"},{"index":3,"element":"custom_html","attributes":[],"settings":{"html_codes":"<p>I authorize the XXX to make whatever inquires it deems necessary in connection with this credit application and in the course of review or collection of any credit extended in reliance on this application. I further authorized any person or YYY to complete and finish to the XXX any information that it may have or obtain in response to such inquires and agree that such information along with this application shall remain the XXX\'s property, whether or not credit is extended. All information stated in this application is declared to be a true representation of the facts and made for the purpose of obtaining the credit request. I HAVE REVIEWED THE ABOVE DISCLOSURE.<\/p>","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Custom HTML","icon_class":"icon-code","template":"customHTML"},"uniqElKey":"el_1570701686850"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Form","img_url":""}},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline"}},"notifications":{"name":"Admin Notification Email","sendTo":{"type":"email","email":"{wp.admin_email}","field":"email","routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"[{inputs.names}] New Form Submission","message":"<p>{all_data}<\/p>\n<p>This form submitted at: {embed_post.permalink}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
391 |
+
),
|
392 |
+
|
393 |
+
//form number : 94
|
394 |
+
'blood_donation_form' => array(
|
395 |
+
'screenshot' => '',
|
396 |
+
'createable' => true,
|
397 |
+
'title' => 'Blood Donation Form',
|
398 |
+
'is_pro' => false,
|
399 |
+
'brief' => 'To create a blood donation form, you can use this form.',
|
400 |
+
'category' => "Nonprofit",
|
401 |
+
'tag' => ["Nonprofit", "blood donation", "volunteer"],
|
402 |
+
'json' => '[{"id":"94","title":"Blood Donation Form","form":{"fields":[{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"Donate blood save life","description":"","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1570696019397"},{"index":3,"element":"custom_html","attributes":[],"settings":{"html_codes":"<p style=\"text-align: center;\">[Add your company logo her]<\/p>\n<p style=\"text-align: center;\">[Your company Address]<\/p>","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Custom HTML","icon_class":"icon-code","template":"customHTML"},"uniqElKey":"el_1570695661845"},{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Donor\'s Name","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":"First Name"},"settings":{"container_class":"","label":"Donor\'s First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"Last Name","required":false},"settings":{"container_class":"","label":"Donor\'s Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1570695037123"},{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime","value":"","id":"","class":"","placeholder":"dd\/mm\/yy"},"settings":{"container_class":"","label":"Date of birth","admin_field_label":"","label_placement":"","date_format":"d\/m\/Y","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1570695185518"},{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Donor\'s Email","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email Address","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1570695245123"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Donor\'s Phone","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570695257011"},{"index":4,"element":"address","attributes":{"id":"","class":"","name":"address1","data-type":"address-element"},"settings":{"label":"","admin_field_label":"","conditional_logics":[]},"fields":{"address_line_1":{"element":"input_text","attributes":{"type":"text","name":"address_line_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Permanent Address ","admin_field_label":"","help_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"address_line_2":{"element":"input_text","attributes":{"type":"text","name":"address_line_2","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Current Address ","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"city":{"element":"input_text","attributes":{"type":"text","name":"city","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"City","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"state":{"element":"input_text","attributes":{"type":"text","name":"state","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"State","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"zip":{"element":"input_text","attributes":{"type":"text","name":"zip","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Zip Code","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"country":{"element":"select_country","attributes":{"name":"country","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Country","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"country_list":{"active_list":"all","visible_list":[],"hidden_list":[]},"conditional_logics":[]},"options":{"BD":"Bangladesh","US":"US of America"},"editor_options":{"title":"Country List","element":"country-list","icon_class":"icon-text-width","template":"selectCountry"}}},"editor_options":{"title":"Address Fields","element":"address-fields","icon_class":"icon-credit-card","template":"addressFields"},"uniqElKey":"el_1570695312563"},{"index":7,"element":"select","attributes":{"name":"dropdown","value":"","id":"","class":""},"settings":{"label":"Blood Group","admin_field_label":"","help_message":"","container_class":"","label_placement":"","placeholder":"- Select -","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"O+":"O+","O-":"O-","A+":"A+","A-":"A-","B+":"B+","B-":"B-","AB+":"AB+","AB-":"AB-"},"editor_options":{"title":"Dropdown","icon_class":"icon-caret-square-o-down","element":"select","template":"select"},"uniqElKey":"el_1570695412686"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio","value":""},"settings":{"container_class":"","label":"Have you done a blood donation before?","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"yes":"Yes","no":"No"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1570695595515"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio_1","value":""},"settings":{"container_class":"","label":"Do you have any known allergy?","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"yes":"Yes","no":"No"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1570703537287"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"green","container_class":"","help_message":"","background_color":"#67C23A","button_size":"sm","color":"#ffffff","button_ui":{"type":"default","text":"Submit Form","img_url":""},"normal_styles":{},"hover_styles":{},"current_state":"normal_styles"},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline"}},"notifications":{"name":"Admin Notification Email","sendTo":{"type":"email","email":"{wp.admin_email}","field":"email","routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"[{inputs.names}] New Form Submission","message":"<p>{all_data}<\/p>\n<p>This form submitted at: {embed_post.permalink}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
403 |
+
),
|
404 |
+
|
405 |
+
//form number : 95
|
406 |
+
'room_booking_form' => array(
|
407 |
+
'screenshot' => '',
|
408 |
+
'createable' => true,
|
409 |
+
'title' => 'Room Booking Form',
|
410 |
+
'is_pro' => true,
|
411 |
+
'brief' => 'You can use this form to book a room in a hotel.',
|
412 |
+
'category' => "Finance",
|
413 |
+
'tag' => ["Hotel", "finance", "room booking"],
|
414 |
+
'json' => '[{"id":"95","title":"Room Booking Form","form":{"fields":[{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"Book a Room","description":"","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1570696919480"},{"index":3,"element":"custom_html","attributes":[],"settings":{"html_codes":"<p style=\"text-align: center;\"><strong>[Add Your Hotel Logo]<\/strong><\/p>\n<p style=\"text-align: center;\"><strong>[Add Your Hotel Name]<\/strong><\/p>\n<p style=\"text-align: center;\"><strong>[Add Your Hotel Address]<\/strong><\/p>","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Custom HTML","icon_class":"icon-code","template":"customHTML"},"uniqElKey":"el_1570696828484"},{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1570696950842"},{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Email","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email Address","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1570696964480"},{"index":7,"element":"select","attributes":{"name":"dropdown","value":"","id":"","class":""},"settings":{"label":"Room Type","admin_field_label":"","help_message":"","container_class":"","label_placement":"","placeholder":"- Select -","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"Standard room ( 1 to 2 people )":"Standard room ( 1 to 2 people )","Family room ( 1 to 4 people )":"Family room ( 1 to 4 people )","Private room ( 1 to 3 people )":"Private room ( 1 to 3 people )","Only female room":"Only female room"},"editor_options":{"title":"Dropdown","icon_class":"icon-caret-square-o-down","element":"select","template":"select"},"uniqElKey":"el_1570696990504"},{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime","value":"","id":"","class":"","placeholder":"dd\/mm\/yy"},"settings":{"container_class":"","label":"Arrival Date","admin_field_label":"","label_placement":"","date_format":"d\/m\/Y","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1570697190440"},{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime_1","value":"","id":"","class":"","placeholder":"dd\/mm\/yy"},"settings":{"container_class":"","label":"Departure Date","admin_field_label":"","label_placement":"","date_format":"d\/m\/Y","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1570697195279"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"No. of people","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570697423440"},{"index":3,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Special Requests","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1570697445463"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"","container_class":"","help_message":"","background_color":"","button_size":"md","color":"","button_ui":{"type":"default","text":"Submit Form","img_url":""},"normal_styles":{"backgroundColor":"rgba(227, 166, 14, 1)","color":"#F5E8E8"},"hover_styles":{},"current_state":"normal_styles"},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline"}},"notifications":{"name":"Admin Notification Email","sendTo":{"type":"email","email":"{wp.admin_email}","field":"email","routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"[{inputs.names}] New Form Submission","message":"<p>{all_data}<\/p>\n<p>This form submitted at: {embed_post.permalink}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
415 |
+
),
|
416 |
+
|
417 |
+
//form number : 96
|
418 |
+
'marriage_gift_registration' => array(
|
419 |
+
'screenshot' => '',
|
420 |
+
'createable' => true,
|
421 |
+
'title' => 'Marriage Gift Registration',
|
422 |
+
'is_pro' => true,
|
423 |
+
'brief' => 'Use this form to register the gifts on your marriage.',
|
424 |
+
'category' => "Social",
|
425 |
+
'tag' => ["Gift", "social", "registration"],
|
426 |
+
'json' => '[{"id":"96","title":"Marriage Gift Registration,"form":{"fields":[{"index":3,"element":"custom_html","attributes":[],"settings":{"html_codes":"<h2 style=\"text-align: center;\" data-component=\"header\">[Add a Couple Image Here]<\/h2>\n<h2 id=\"header_1\" class=\"form-header\" style=\"text-align: center;\" data-component=\"header\"><span style=\"font-size: 16px;\">Our Wedding Gifts Registry<\/span><\/h2>\n<div id=\"subHeader_1\" class=\"form-subHeader\" style=\"text-align: center;\">Please select What you plan to give - Thank You<\/div>","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Custom HTML","icon_class":"icon-code","template":"customHTML"},"uniqElKey":"el_1570698614512"},{"index":6,"element":"input_number","attributes":{"type":"number","name":"numeric-field","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Gift quantity","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"","message":"Minimum value is "},"max":{"value":"","message":"Maximum value is "}},"conditional_logics":[],"calculation_settings":{"status":false,"formula":""}},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1570699327908"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Gift Name","label_placement":"top","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570698708437"},{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name ","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Your First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Your Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1570698917813"},{"index":1,"element":"container","attributes":[],"settings":[],"columns":[{"fields":[{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Email","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email Address","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1570699574779"}]},{"fields":[{"index":30,"element":"phone","attributes":{"name":"phone","class":"","value":"","type":"tel","placeholder":""},"settings":{"container_class":"","placeholder":"","int_tel_number":"no","label":"Phone","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"valid_phone_number":{"value":false,"message":"Phone number is not valid"}},"conditional_logics":[]},"editor_options":{"title":"Phone Field","icon_class":"el-icon-phone-outline","template":"inputText"},"uniqElKey":"el_1570699579971"}]}],"editor_options":{"title":"Two Column Container","icon_class":"icon-columns"},"uniqElKey":"el_1570699570499"},{"index":4,"element":"address","attributes":{"id":"","class":"","name":"address1","data-type":"address-element"},"settings":{"label":"","admin_field_label":"","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"fields":{"address_line_1":{"element":"input_text","attributes":{"type":"text","name":"address_line_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Address ","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"address_line_2":{"element":"input_text","attributes":{"type":"text","name":"address_line_2","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Address Line 2","admin_field_label":"","help_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"city":{"element":"input_text","attributes":{"type":"text","name":"city","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"City","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"state":{"element":"input_text","attributes":{"type":"text","name":"state","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"State","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"zip":{"element":"input_text","attributes":{"type":"text","name":"zip","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Zip Code","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"country":{"element":"select_country","attributes":{"name":"country","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Country","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"country_list":{"active_list":"all","visible_list":[],"hidden_list":[]},"conditional_logics":[]},"options":{"BD":"Bangladesh","US":"US of America"},"editor_options":{"title":"Country List","element":"country-list","icon_class":"icon-text-width","template":"selectCountry"}}},"editor_options":{"title":"Address Fields","element":"address-fields","icon_class":"icon-credit-card","template":"addressFields"},"uniqElKey":"el_1570698745981"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"center","button_style":"red","container_class":"","help_message":"","background_color":"#F56C6C","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Form","img_url":""},"normal_styles":{},"hover_styles":{},"current_state":"normal_styles"},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline"}},"notifications":{"name":"Admin Notification Email","sendTo":{"type":"email","email":"{wp.admin_email}","field":"email","routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"[{inputs.names}] New Form Submission","message":"<p>{all_data}<\/p>\n<p>This form submitted at: {embed_post.permalink}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
427 |
+
),
|
428 |
+
|
429 |
+
//form number : 97
|
430 |
+
'accident_report_form' => array(
|
431 |
+
'screenshot' => '',
|
432 |
+
'createable' => true,
|
433 |
+
'title' => 'Accident Report Form',
|
434 |
+
'is_pro' => false,
|
435 |
+
'brief' => 'Use this form to report an accident.',
|
436 |
+
'category' => "Government",
|
437 |
+
'tag' => ["Government", "report"],
|
438 |
+
'json' => '[{"id":"97","title":"Accident Report Form","form":{"fields":[{"index":9,"element":"input_checkbox","attributes":{"type":"checkbox","name":"checkbox","value":[]},"settings":{"container_class":"","label":"I am reporting a :","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"Loss of time\/injury":"Loss of time\/injury","Work vehicle accident":"Work vehicle accident","Work accident":"Work accident","First aid incident":"First aid incident","Observation":"Observation"},"editor_options":{"title":"Check Box","icon_class":"icon-check-square-o","template":"inputCheckbox"},"uniqElKey":"el_1570698626401"},{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"Person Reporting Incident","description":"","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1570698896825"},{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Person Reporting Incident (Name)","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1570698682321"},{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"Person Involved in Incident","description":"","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1570698915027"},{"index":0,"element":"input_name","attributes":{"name":"names_1","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Person Reporting Incident (Name)","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1570698838638"},{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Incident Date and Time","admin_field_label":"","label_placement":"","date_format":"d\/m\/Y h:i K","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1570698969680"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Location of Incident","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570699010617"},{"index":3,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Please describe the event in detail.","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1570699031846"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio","value":""},"settings":{"container_class":"","label":"Was damage done to the property?","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"yes":"Yes","no":"No"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1570699051601"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_1","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"How many hours were lost because of this incident?","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570699066851"},{"index":3,"element":"textarea","attributes":{"name":"description_1","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"What first aid measures were needed?","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1570699080287"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio_1","value":""},"settings":{"container_class":"","label":"Could this incident been avioded?","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"yes":"Yes","no":"No"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1570699096303"},{"index":5,"element":"terms_and_condition","attributes":{"type":"checkbox","name":"terms-n-condition","value":false,"class":""},"settings":{"tnc_html":"I certify that the information I have provided is truthful to the best of my knowledge.\n","has_checkbox":true,"admin_field_label":"Terms and Conditions","container_class":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Terms & Conditions","icon_class":"icon-check-square-o","template":"termsCheckbox"},"uniqElKey":"el_1570699117158"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Form","img_url":""}},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Lets hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline"}},"notifications":{"name":"Admin Notification Email","sendTo":{"type":"email","email":"{wp.admin_email}","field":"email","routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"[{inputs.names}] New Form Submission","message":"<p>{all_data}<\/p>\n<p>This form submitted at: {embed_post.permalink}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
439 |
+
),
|
440 |
+
|
441 |
+
//form number : 98
|
442 |
+
'bug_report_form' => array(
|
443 |
+
'screenshot' => '',
|
444 |
+
'createable' => true,
|
445 |
+
'title' => 'Bug Report From',
|
446 |
+
'is_pro' => true,
|
447 |
+
'brief' => 'You can use this form to report a bug.',
|
448 |
+
'category' => "IT",
|
449 |
+
'tag' => ["IT", "bug", "report", "tech"],
|
450 |
+
'json' => '[{"id":"98","title":"Bug Report From","form":{"fields":[{"index":3,"element":"custom_html","attributes":[],"settings":{"html_codes":"<h2 class=\"fsSectionHeading\" style=\"text-align: center;\">Bug Report<\/h2>\n<div class=\"fsSectionText\">\n<p style=\"text-align: center;\">Please be as detailed as possible to aid us in the troubleshooting process.<\/p>\n<\/div>","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Custom HTML","icon_class":"icon-code","template":"customHTML"},"uniqElKey":"el_1570699342053"},{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1570699386484"},{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Email","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":true,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email Address","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1570699410878"},{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Date and time you first noticed this bug","admin_field_label":"","label_placement":"","date_format":"m\/d\/Y h:i K","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1570699445478"},{"index":7,"element":"select","attributes":{"name":"dropdown","value":"","id":"","class":""},"settings":{"label":"Impact","admin_field_label":"","help_message":"","container_class":"","label_placement":"","placeholder":"- Select -","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"Low":"Low","Medium":"Medium","High":"High","Emergency":"Emergency"},"editor_options":{"title":"Dropdown","icon_class":"icon-caret-square-o-down","element":"select","template":"select"},"uniqElKey":"el_1570699483067"},{"index":3,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Detailed explanation of bug","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1570699556732"},{"index":14,"element":"input_file","attributes":{"type":"file","name":"file-upload","value":"","id":"","class":""},"settings":{"container_class":"","label":"Upload a screen capture (optional)","admin_field_label":"","label_placement":"right","btn_text":"Choose File","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"max_file_size":{"value":1048576,"_valueFrom":"MB","message":"Maximum file size limit"},"max_file_count":{"value":1,"message":"Max file count"},"allowed_file_types":{"value":["jpg|jpeg|gif|png|bmp","doc|ppt|pps|xls|mdb|docx|xlsx|pptx|odt|odp|ods|odg|odc|odb|odf|rtf|txt","pdf","avi|divx|flv|mov|ogv|mkv|mp4|m4v|divx|mpg|mpeg|mpe|video\/quicktime|qt"],"message":"allowed_file_types"}},"conditional_logics":[]},"editor_options":{"title":"File Upload","icon_class":"icon-upload","template":"inputFile"},"uniqElKey":"el_1570699582345"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"right","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"sm","color":"#ffffff","button_ui":{"type":"default","text":"Submit Form","img_url":""},"normal_styles":{},"hover_styles":{},"current_state":"normal_styles"},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Lets hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline"}},"notifications":{"name":"Admin Notification Email","sendTo":{"type":"email","email":"{wp.admin_email}","field":"email","routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"[{inputs.names}] New Form Submission","message":"<p>{all_data}<\/p>\n<p>This form submitted at: {embed_post.permalink}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
451 |
+
),
|
452 |
+
|
453 |
+
//form number : 100
|
454 |
+
'check_request_form' => array(
|
455 |
+
'screenshot' => '',
|
456 |
+
'createable' => true,
|
457 |
+
'title' => 'Check Request Form',
|
458 |
+
'is_pro' => false,
|
459 |
+
'brief' => 'This form can be used to do a check request from a bank.',
|
460 |
+
'category' => "Finance",
|
461 |
+
'tag' => ["Finance", "bank", "request"],
|
462 |
+
'json' => '[{"id":"100","title":"Check Request Form","form":{"fields":[{"index":3,"element":"custom_html","attributes":[],"settings":{"html_codes":"<h2 class=\"fsSectionHeading\" style=\"text-align: center;\">Check Request<\/h2>\n<div class=\"fsSectionText\">\n<p style=\"text-align: center;\">If you are in need of funds, please fill out the following check request. We will reach out to you once the request has been approved. If this is an emergency, please contact the financial department directly.<\/p>\n<\/div>\n<div id=\"gtx-trans\" style=\"position: absolute; left: -17px; top: -4.09375px;\">\n<div class=\"gtx-trans-icon\">\u00a0<\/div>\n<\/div>","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Custom HTML","icon_class":"icon-code","template":"customHTML"},"uniqElKey":"el_1570699935694"},{"index":3,"element":"custom_html","attributes":[],"settings":{"html_codes":"<h3>Requested By:<\/h3>","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Custom HTML","icon_class":"icon-code","template":"customHTML"},"uniqElKey":"el_1570699970041"},{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1570700028158"},{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Email","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":true,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email Address","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1570700033589"},{"index":30,"element":"phone","attributes":{"name":"phone","class":"","value":"","type":"tel","placeholder":""},"settings":{"container_class":"","placeholder":"","int_tel_number":"no","label":"Phone","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"valid_phone_number":{"value":false,"message":"Phone number is not valid"}},"conditional_logics":[]},"editor_options":{"title":"Phone Field","icon_class":"el-icon-phone-outline","template":"inputText"},"uniqElKey":"el_1570700039785"},{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Date Requested","admin_field_label":"","label_placement":"","date_format":"d\/m\/Y","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1570700049670"},{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Date Needed","admin_field_label":"","label_placement":"","date_format":"d\/m\/Y","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1570700064579"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Purpose of Funds","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570700091770"},{"index":6,"element":"input_number","attributes":{"type":"number","name":"numeric-field","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Amount Requested ($)","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"","message":"Minimum value is "},"max":{"value":"","message":"Maximum value is "}},"conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]},"calculation_settings":{"status":false,"formula":""}},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1570700125004"},{"index":3,"element":"custom_html","attributes":[],"settings":{"html_codes":"<h3>Make Payable To\n:<\/h3>","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Custom HTML","icon_class":"icon-code","template":"customHTML"},"uniqElKey":"el_1570700204801"},{"index":0,"element":"input_name","attributes":{"name":"names_1","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1570700247628"},{"index":4,"element":"address","attributes":{"id":"","class":"","name":"address1","data-type":"address-element"},"settings":{"label":"Payable to Address","admin_field_label":"","conditional_logics":[]},"fields":{"address_line_1":{"element":"input_text","attributes":{"type":"text","name":"address_line_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Address Line 1","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"address_line_2":{"element":"input_text","attributes":{"type":"text","name":"address_line_2","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Address Line 2","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"city":{"element":"input_text","attributes":{"type":"text","name":"city","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"City","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"state":{"element":"input_text","attributes":{"type":"text","name":"state","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"State","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"zip":{"element":"input_text","attributes":{"type":"text","name":"zip","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Zip Code","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"country":{"element":"select_country","attributes":{"name":"country","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Country","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"country_list":{"active_list":"all","visible_list":[],"hidden_list":[]},"conditional_logics":[]},"options":{"BD":"Bangladesh","US":"US of America"},"editor_options":{"title":"Country List","element":"country-list","icon_class":"icon-text-width","template":"selectCountry"}}},"editor_options":{"title":"Address Fields","element":"address-fields","icon_class":"icon-credit-card","template":"addressFields"},"uniqElKey":"el_1570700261819"},{"index":5,"element":"terms_and_condition","attributes":{"type":"checkbox","name":"terms-n-condition","value":false,"class":""},"settings":{"tnc_html":"I have read and agree to the <a href=\"#\">Terms and Conditions<\/a> and <a href=\"#\">Privacy Policy<\/a>","has_checkbox":true,"admin_field_label":"Terms and Conditions","container_class":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Terms & Conditions","icon_class":"icon-check-square-o","template":"termsCheckbox"},"uniqElKey":"el_1570700286895"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Form","img_url":""}},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Lets hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline"}},"notifications":{"name":"Admin Notification Email","sendTo":{"type":"email","email":"{wp.admin_email}","field":"email","routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"[{inputs.names}] New Form Submission","message":"<p>{all_data}<\/p>\n<p>This form submitted at: {embed_post.permalink}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
463 |
+
),
|
464 |
+
//form number : 120
|
465 |
+
'quote_request_form' => array(
|
466 |
+
'screenshot' => '',
|
467 |
+
'createable' => true,
|
468 |
+
'title' => 'Quote Request Form',
|
469 |
+
'is_pro' => true,
|
470 |
+
'brief' => 'To create an online quote request form, use this.',
|
471 |
+
'category' => "Finance",
|
472 |
+
'tag' => ["IT", "finance", "quote", "work"],
|
473 |
+
'json' => '[{"id":"120","title":"Quote request (final)","form":{"fields":[{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"REQUEST FOR QUOTE","description":"","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1570709716273"},{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Date","admin_field_label":"","label_placement":"","date_format":"m\/d\/Y","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1570709737257"},{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"","description":"","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1570709776789"},{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"CONTACT INFORMATION","description":"","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1570709794267"},{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1570709814795"},{"index":4,"element":"address","attributes":{"id":"","class":"","name":"address1","data-type":"address-element"},"settings":{"label":"Address","admin_field_label":"","conditional_logics":[]},"fields":{"address_line_1":{"element":"input_text","attributes":{"type":"text","name":"address_line_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Address Line 1","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"address_line_2":{"element":"input_text","attributes":{"type":"text","name":"address_line_2","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Address Line 2","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"city":{"element":"input_text","attributes":{"type":"text","name":"city","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"City","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"state":{"element":"input_text","attributes":{"type":"text","name":"state","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"State","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"zip":{"element":"input_text","attributes":{"type":"text","name":"zip","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Zip Code","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"country":{"element":"select_country","attributes":{"name":"country","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Country","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"country_list":{"active_list":"all","visible_list":[],"hidden_list":[]},"conditional_logics":[]},"options":{"BD":"Bangladesh","US":"US of America"},"editor_options":{"title":"Country List","element":"country-list","icon_class":"icon-text-width","template":"selectCountry"}}},"editor_options":{"title":"Address Fields","element":"address-fields","icon_class":"icon-credit-card","template":"addressFields"},"uniqElKey":"el_1570709821047"},{"index":7,"element":"form_step","attributes":{"id":"","class":""},"settings":{"prev_btn":{"type":"default","text":"Previous","img_url":""},"next_btn":{"type":"default","text":"Next","img_url":""}},"editor_options":{"title":"Form Step","icon_class":"ff-edit-step","template":"formStep"},"uniqElKey":"el_1570860545019"},{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"PRODUCTS","description":"","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1570709834544"},{"index":3,"element":"custom_html","attributes":[],"settings":{"html_codes":"<p>ITEM 1<\/p>","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Custom HTML","icon_class":"icon-code","template":"customHTML"},"uniqElKey":"el_1570710083917"},{"index":1,"element":"container","attributes":[],"settings":[],"columns":[{"fields":[{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Product Name:","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570710076041"}]},{"fields":[{"index":7,"element":"select","attributes":{"name":"dropdown","value":"","id":"","class":""},"settings":{"label":"Quantity","admin_field_label":"","help_message":"","container_class":"","label_placement":"","placeholder":"- Select -","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"1":"1","2":"2","3":"3","4":"4","5":"5","6":"6"},"editor_options":{"title":"Dropdown","icon_class":"icon-caret-square-o-down","element":"select","template":"select"},"uniqElKey":"el_1570709979534"}]}],"editor_options":{"title":"Two Column Container","icon_class":"icon-columns"},"uniqElKey":"el_1570709935743"},{"index":3,"element":"custom_html","attributes":[],"settings":{"html_codes":"<p>ITEM 2<\/p>","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Custom HTML","icon_class":"icon-code","template":"customHTML"},"uniqElKey":"el_1570710203341"},{"index":1,"element":"container","attributes":[],"settings":[],"columns":[{"fields":[{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_4","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Product Name:","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570710076041"}]},{"fields":[{"index":7,"element":"select","attributes":{"name":"dropdown_4","value":"","id":"","class":""},"settings":{"label":"Quantity","admin_field_label":"","help_message":"","container_class":"","label_placement":"","placeholder":"- Select -","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"1":"1","2":"2","3":"3","4":"4","5":"5","6":"6"},"editor_options":{"title":"Dropdown","icon_class":"icon-caret-square-o-down","element":"select","template":"select"},"uniqElKey":"el_1570709979534"}]}],"editor_options":{"title":"Two Column Container","icon_class":"icon-columns"},"uniqElKey":"el_1570710195267"},{"index":3,"element":"custom_html","attributes":[],"settings":{"html_codes":"<p>ITEM 3<\/p>","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Custom HTML","icon_class":"icon-code","template":"customHTML"},"uniqElKey":"el_1570710208172"},{"index":1,"element":"container","attributes":[],"settings":[],"columns":[{"fields":[{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_3","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Product Name:","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570710076041"}]},{"fields":[{"index":7,"element":"select","attributes":{"name":"dropdown_3","value":"","id":"","class":""},"settings":{"label":"Quantity","admin_field_label":"","help_message":"","container_class":"","label_placement":"","placeholder":"- Select -","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"1":"1","2":"2","3":"3","4":"4","5":"5","6":"6"},"editor_options":{"title":"Dropdown","icon_class":"icon-caret-square-o-down","element":"select","template":"select"},"uniqElKey":"el_1570709979534"}]}],"editor_options":{"title":"Two Column Container","icon_class":"icon-columns"},"uniqElKey":"el_1570710194731"},{"index":3,"element":"custom_html","attributes":[],"settings":{"html_codes":"<p>NOTES<\/p>","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Custom HTML","icon_class":"icon-code","template":"customHTML"},"uniqElKey":"el_1570710260879"},{"index":3,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Additional comments or questions:","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1570710276122"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Form","img_url":""}},"editor_options":{"title":"Submit Button"}},"stepsWrapper":{"stepStart":{"element":"step_start","attributes":{"id":"","class":""},"settings":{"progress_indicator":"","step_titles":[]},"editor_options":{"title":"Start Paging"}},"stepEnd":{"element":"step_end","attributes":{"id":"","class":""},"settings":{"prev_btn":{"type":"default","text":"Previous","img_url":""}},"editor_options":{"title":"End Paging"}}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline"}},"notifications":{"name":"Admin Notification Email","sendTo":{"type":"email","email":"{wp.admin_email}","field":"email","routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"[{inputs.names}] New Form Submission","message":"<p>{all_data}<\/p>\n<p>This form submitted at: {embed_post.permalink}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
474 |
+
),
|
475 |
+
'pricing_survey' => array(
|
476 |
+
'screenshot' => '',
|
477 |
+
'createable' => true,
|
478 |
+
'title' => 'Pricing Survey Form',
|
479 |
+
'is_pro' => true,
|
480 |
+
'brief' => 'To create a pricing survey, you can use this form.',
|
481 |
+
'category' => "Marketing",
|
482 |
+
'tag' => ["Marketing", "pricing", "survey"],
|
483 |
+
'json' => '[{"id":"118","title":"Pricing Survey Form","form":{"fields":[{"index":3,"element":"custom_html","attributes":[],"settings":{"html_codes":"<p style=\"text-align: center;\"><strong>[Your Company Logo]<\/strong><\/p>\n<p style=\"text-align: center;\"><strong>[Your Company Address]<\/strong><\/p>","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Custom HTML","icon_class":"icon-code","template":"customHTML"},"uniqElKey":"el_1570708684791"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio","value":""},"settings":{"container_class":"","label":"Are you currently a customer?*","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"yes":"Yes","no":"No"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1570708444583"},{"index":7,"element":"form_step","attributes":{"id":"","class":""},"settings":{"prev_btn":{"type":"default","text":"Previous","img_url":""},"next_btn":{"type":"default","text":"Next","img_url":""}},"editor_options":{"title":"Form Step","icon_class":"ff-edit-step","template":"formStep"},"uniqElKey":"el_1570860747771"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio_1","value":""},"settings":{"container_class":"","label":"Which plan are you subscribed to?*","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Plan A":"Plan A","Plan B":"Plan B","Plan C":"Plan C"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1570708466467"},{"index":7,"element":"form_step","attributes":{"id":"","class":""},"settings":{"prev_btn":{"type":"default","text":"Previous","img_url":""},"next_btn":{"type":"default","text":"Next","img_url":""}},"editor_options":{"title":"Form Step","icon_class":"ff-edit-step","template":"formStep"},"uniqElKey":"el_1570860754140"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio_2","value":""},"settings":{"container_class":"","label":"How long have you been a customer?*","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Less than a month":"Less than a month","1-6 months":"1-6 months","6 months to 1 year":"6 months to 1 year","1-3 years":"1-3 years","More than 3 years":"More than 3 years"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1570708500468"},{"index":7,"element":"form_step","attributes":{"id":"","class":""},"settings":{"prev_btn":{"type":"default","text":"Previous","img_url":""},"next_btn":{"type":"default","text":"Next","img_url":""}},"editor_options":{"title":"Form Step","icon_class":"ff-edit-step","template":"formStep"},"uniqElKey":"el_1570860761946"},{"index":3,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"What do you like about our service?","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1570708574758"},{"index":7,"element":"form_step","attributes":{"id":"","class":""},"settings":{"prev_btn":{"type":"default","text":"Previous","img_url":""},"next_btn":{"type":"default","text":"Next","img_url":""}},"editor_options":{"title":"Form Step","icon_class":"ff-edit-step","template":"formStep"},"uniqElKey":"el_1570860811959"},{"index":3,"element":"textarea","attributes":{"name":"description_1","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"What do you dislike about our service?","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1570708595852"},{"index":7,"element":"form_step","attributes":{"id":"","class":""},"settings":{"prev_btn":{"type":"default","text":"Previous","img_url":""},"next_btn":{"type":"default","text":"Next","img_url":""}},"editor_options":{"title":"Form Step","icon_class":"ff-edit-step","template":"formStep"},"uniqElKey":"el_1570860820415"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio_3","value":""},"settings":{"container_class":"","label":"Would you recommend our product?*","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"yes":"Yes","no":"No"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1570708611116"},{"index":7,"element":"form_step","attributes":{"id":"","class":""},"settings":{"prev_btn":{"type":"default","text":"Previous","img_url":""},"next_btn":{"type":"default","text":"Next","img_url":""}},"editor_options":{"title":"Form Step","icon_class":"ff-edit-step","template":"formStep"},"uniqElKey":"el_1570860827580"},{"index":3,"element":"textarea","attributes":{"name":"description_2","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Do you have any additional comments or suggestions?","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1570708992854"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Form","img_url":""}},"editor_options":{"title":"Submit Button"}},"stepsWrapper":{"stepStart":{"element":"step_start","attributes":{"id":"","class":""},"settings":{"progress_indicator":"","step_titles":[]},"editor_options":{"title":"Start Paging"}},"stepEnd":{"element":"step_end","attributes":{"id":"","class":""},"settings":{"prev_btn":{"type":"default","text":"Previous","img_url":""}},"editor_options":{"title":"End Paging"}}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline"}},"notifications":{"name":"Admin Notification Email","sendTo":{"type":"email","email":"{wp.admin_email}","field":"email","routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"[{inputs.names}] New Form Submission","message":"<p>{all_data}<\/p>\n<p>This form submitted at: {embed_post.permalink}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
484 |
+
),
|
485 |
+
//form number : 117
|
486 |
+
'business_loan_application_form' => array(
|
487 |
+
'screenshot' => '',
|
488 |
+
'createable' => true,
|
489 |
+
'title' => 'Loan Application Form',
|
490 |
+
'is_pro' => true,
|
491 |
+
'brief' => 'You can use this from to create a loan application form.',
|
492 |
+
'category' => "Finance",
|
493 |
+
'tag' => ["Finance", "business", "loan", "bank", "office", "HR"],
|
494 |
+
'json' => '[{"id":"117","title":"Loan Application Form","form":{"fields":[{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"Business Loan Application","description":"<p>Personal Information<\/p>","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1570706626857"},{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1570707309715"},{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"E-mail of Applicant","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":true,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email Address","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1570707365695"},{"index":6,"element":"input_number","attributes":{"type":"number","name":"numeric-field","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Phone number of Applicant","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"","message":"Minimum value is "},"max":{"value":"","message":"Maximum value is "}},"conditional_logics":[],"calculation_settings":{"status":false,"formula":""}},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1570707393205"},{"index":6,"element":"input_number","attributes":{"type":"number","name":"numeric-field_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Mobile Phone number of Appliicant","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"","message":"Minimum value is "},"max":{"value":"","message":"Maximum value is "}},"conditional_logics":[],"calculation_settings":{"status":false,"formula":""}},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1570707411096"},{"index":6,"element":"input_number","attributes":{"type":"number","name":"numeric-field_2","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Fax Number of Applicant","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"","message":"Minimum value is "},"max":{"value":"","message":"Maximum value is "}},"conditional_logics":[],"calculation_settings":{"status":false,"formula":""}},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1570707426730"},{"index":4,"element":"address","attributes":{"id":"","class":"","name":"address1","data-type":"address-element"},"settings":{"label":"Address of Applicant ","admin_field_label":"","conditional_logics":[]},"fields":{"address_line_1":{"element":"input_text","attributes":{"type":"text","name":"address_line_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Address Line 1","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"address_line_2":{"element":"input_text","attributes":{"type":"text","name":"address_line_2","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Address Line 2","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"city":{"element":"input_text","attributes":{"type":"text","name":"city","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"City","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"state":{"element":"input_text","attributes":{"type":"text","name":"state","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"State","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"zip":{"element":"input_text","attributes":{"type":"text","name":"zip","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Zip Code","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"country":{"element":"select_country","attributes":{"name":"country","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Country","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"country_list":{"active_list":"all","visible_list":[],"hidden_list":[]},"conditional_logics":[]},"options":{"BD":"Bangladesh","US":"US of America"},"editor_options":{"title":"Country List","element":"country-list","icon_class":"icon-text-width","template":"selectCountry"}}},"editor_options":{"title":"Address Fields","element":"address-fields","icon_class":"icon-credit-card","template":"addressFields"},"uniqElKey":"el_1570707441137"},{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Date of Birth of Applicant ","admin_field_label":"","label_placement":"","date_format":"m\/d\/Y","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1570707470645"},{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"Project Details","description":"","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1570707586605"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio","value":""},"settings":{"container_class":"","label":"Applying as ","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Sole Proprietor":"Sole Proprietor","Partnership":"Partnership","Corporation":"Corporation"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1570707605038"},{"index":4,"element":"address","attributes":{"id":"","class":"","name":"address2","data-type":"address-element"},"settings":{"label":"Planned Business Location","admin_field_label":"","conditional_logics":[]},"fields":{"address_line_1":{"element":"input_text","attributes":{"type":"text","name":"address_line_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Address Line 1","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"address_line_2":{"element":"input_text","attributes":{"type":"text","name":"address_line_2","value":"","id":"","class":"","placeholder":""},
|
495 |
+
"settings":{"container_class":"","label":"Address Line 2","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"city":{"element":"input_text","attributes":{"type":"text","name":"city","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"City","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"state":{"element":"input_text","attributes":{"type":"text","name":"state","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"State","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"zip":{"element":"input_text","attributes":{"type":"text","name":"zip","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Zip Code","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"country":{"element":"select_country","attributes":{"name":"country","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Country","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"country_list":{"active_list":"all","visible_list":[],"hidden_list":[]},"conditional_logics":[]},"options":{"BD":"Bangladesh","US":"US of America"},"editor_options":{"title":"Country List","element":"country-list","icon_class":"icon-text-width","template":"selectCountry"}}},"editor_options":{"title":"Address Fields","element":"address-fields","icon_class":"icon-credit-card","template":"addressFields"},"uniqElKey":"el_1570708766257"},{"index":14,"element":"input_file","attributes":{"type":"file","name":"file-upload","value":"","id":"","class":""},"settings":{"container_class":"","label":"Project Marketing Material","admin_field_label":"","label_placement":"","btn_text":"Choose File","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"max_file_size":{"value":1048576,"_valueFrom":"MB","message":"Maximum file size limit"},"max_file_count":{"value":1,"message":"Max file count"},"allowed_file_types":{"value":[],"message":"allowed_file_types"}},"conditional_logics":[]},"editor_options":{"title":"File Upload","icon_class":"icon-upload","template":"inputFile"},"uniqElKey":"el_1570708792488"},{"index":14,"element":"input_file","attributes":{"type":"file","name":"file-upload_1","value":"","id":"","class":""},"settings":{"container_class":"","label":"Project Information","admin_field_label":"","label_placement":"","btn_text":"Choose File","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"max_file_size":{"value":1048576,"_valueFrom":"MB","message":"Maximum file size limit"},"max_file_count":{"value":1,"message":"Max file count"},"allowed_file_types":{"value":[],"message":"allowed_file_types"}},"conditional_logics":[]},"editor_options":{"title":"File Upload","icon_class":"icon-upload","template":"inputFile"},"uniqElKey":"el_1570708808756"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio_1","value":""},"settings":{"container_class":"","label":"Does the borrower have an up to date assets and liabilities statement? ","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"yes":"Yes","no":"No"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1570708836337"},{"index":14,"element":"input_file","attributes":{"type":"file","name":"file-upload_2","value":"","id":"","class":""},"settings":{"container_class":"","label":"Upload Statement","admin_field_label":"","label_placement":"","btn_text":"Choose File","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"max_file_size":{"value":1048576,"_valueFrom":"MB","message":"Maximum file size limit"},"max_file_count":{"value":1,"message":"Max file count"},"allowed_file_types":{"value":[],"message":"allowed_file_types"}},"conditional_logics":{"type":"any","status":true,"conditions":[{"field":"input_radio_1","value":"yes","operator":"="}]}},"editor_options":{"title":"File Upload","icon_class":"icon-upload","template":"inputFile"},"uniqElKey":"el_1570708921032"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio_2","value":""},"settings":{"container_class":"","label":"Have you previously been financed?","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"yes":"Yes","no":"No"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1570708855887"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Lender Name ","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":{"type":"any","status":true,"conditions":[{"field":"input_radio_2","value":"yes","operator":"="}]}},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570709060922"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_1","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Financing was for","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":{"type":"any","status":true,"conditions":[{"field":"input_radio_2","value":"yes","operator":"="}]}},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570709075948"},{"index":9,"element":"input_checkbox","attributes":{"type":"checkbox","name":"checkbox","value":[]},"settings":{"container_class":"","label":"Loan Reason","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"Construction":"Construction","Asset Purchase":"Asset Purchase","Refinancing":"Refinancing","other":"other"},"editor_options":{"title":"Check Box","icon_class":"icon-check-square-o","template":"inputCheckbox"},"uniqElKey":"el_1570709194988"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_2","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Project Gross Value","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570709256730"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_3","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Loan Amount","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570709268207"},{"index":3,"element":"custom_html","attributes":[],"settings":{"html_codes":"<p>The information provided in this application shall not be shared to anyone else and is kept confidential<\/p>","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Custom HTML","icon_class":"icon-code","template":"customHTML"},"uniqElKey":"el_1570709288118"},{"index":5,"element":"terms_and_condition","attributes":{"type":"checkbox","name":"terms-n-condition","value":false,"class":""},"settings":{"tnc_html":"<p>I agree that the information herein are true and correct<\/p>","has_checkbox":true,"admin_field_label":"Terms and Conditions","container_class":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Terms & Conditions","icon_class":"icon-check-square-o","template":"termsCheckbox"},"uniqElKey":"el_1570709330656"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Application Form","img_url":""},"normal_styles":{},"hover_styles":{},"current_state":"normal_styles"},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},
|
496 |
+
"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Lets hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline"}},"notifications":{"name":"Admin Notification Email","sendTo":{"type":"email","email":"{wp.admin_email}","field":"email","routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"[{inputs.names}] New Form Submission","message":"<p>{all_data}<\/p>\n<p>This form submitted at: {embed_post.permalink}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
497 |
+
),
|
498 |
+
//form number : 116
|
499 |
+
'birthday_invitation_party' => array(
|
500 |
+
'screenshot' => '',
|
501 |
+
'createable' => true,
|
502 |
+
'title' => 'Birthday invitation Party Form',
|
503 |
+
'is_pro' => true,
|
504 |
+
'brief' => 'You can use this form to create an invitation form.',
|
505 |
+
'category' => "Social",
|
506 |
+
'tag' => ["Social", "party", "birthday", "nonprofit"],
|
507 |
+
'json' => '[{"id":"116","title":"Birthday invitation Party Form","form":{"fields":[{"index":3,"element":"custom_html","attributes":[],"settings":{"html_codes":"<h2 style=\"color: #3a7ec2; text-align: center;\">Join Birthday Party\u00a0<\/h2>\n<p><img class=\"alignnone\" src=\"https:\/\/www.sweetfrog.com\/assets\/img\/party\/birthdayParty.png\" \/><\/p>\n<p> <\/p>\n<p style=\"text-align: center;\"><span style=\"color: #3e48ab;\"><strong>Date : December<\/strong> 05, 2019\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0<strong>Time: <\/strong>12:00 am\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <strong>Address : 3491 Henry Ford Avenue, Tulsa, OK, Oklahoma, 74120<\/strong><\/span><\/p>","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Custom HTML","icon_class":"icon-code","template":"customHTML"},"uniqElKey":"el_1570707016847"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Name","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570707130166"},{"index":30,"element":"phone","attributes":{"name":"phone","class":"","value":"","type":"tel","placeholder":""},"settings":{"container_class":"","placeholder":"","int_tel_number":"with_extended_validation","label":"Phone","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"valid_phone_number":{"value":false,"message":"Phone number is not valid"}},"conditional_logics":[]},"editor_options":{"title":"Phone Field","icon_class":"el-icon-phone-outline","template":"inputText"},"uniqElKey":"el_1570707183830"},{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Email","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email Address","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1570707134702"},{"index":10,"element":"select","attributes":{"name":"skills","value":[],"id":"","class":"","multiple":true},"settings":{"help_message":"","container_class":"","label":"Food type","admin_field_label":"","label_placement":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"Vegan":"Vegan","Non Vegan":"Non Vegan"},"editor_options":{"title":"Multiple Choice","icon_class":"icon-list-ul","element":"select","template":"select"},"uniqElKey":"el_1570707343485"},{"index":7,"element":"select","attributes":{"name":"dropdown","value":"","id":"","class":""},"settings":{"label":"How many people you will come with?","admin_field_label":"","help_message":"","container_class":"","label_placement":"","placeholder":"- Select -","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"One":"One","Two":"Two","Three":"Three","Four":"Four","Five":"Five"},"editor_options":{"title":"Dropdown","icon_class":"icon-caret-square-o-down","element":"select","template":"select"},"uniqElKey":"el_1570707535809"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Form","img_url":""},"normal_styles":{},"hover_styles":{},"current_state":"normal_styles"},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline"}},"notifications":{"name":"Admin Notification Email","sendTo":{"type":"email","email":"{wp.admin_email}","field":"email","routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"[{inputs.names}] New Form Submission","message":"<p>{all_data}<\/p>\n<p>This form submitted at: {embed_post.permalink}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
508 |
+
),
|
509 |
+
'vehicle_inspection_form' => array(
|
510 |
+
'screenshot' => '',
|
511 |
+
'createable' => true,
|
512 |
+
'title' => 'Vehicle Inspection Form',
|
513 |
+
'is_pro' => true,
|
514 |
+
'brief' => 'For inspecting vehicle yearly, use this form.',
|
515 |
+
'category' => "Government",
|
516 |
+
'tag' => ["Vehicles", "inspection", "registration"],
|
517 |
+
'json' => '[{"id":"115","title":"Vehicle Inspection Form","form":{"fields":[{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Inspection Date & Time","admin_field_label":"","label_placement":"","date_format":"d.m.Y h:i K","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1570705688276"},{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1570705709183"},{"index":4,"element":"address","attributes":{"id":"","class":"","name":"address1","data-type":"address-element"},"settings":{"label":"Address","admin_field_label":"","conditional_logics":[]},"fields":{"address_line_1":{"element":"input_text","attributes":{"type":"text","name":"address_line_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Address Line 1","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"address_line_2":{"element":"input_text","attributes":{"type":"text","name":"address_line_2","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Address Line 2","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"city":{"element":"input_text","attributes":{"type":"text","name":"city","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"City","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"state":{"element":"input_text","attributes":{"type":"text","name":"state","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"State","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"zip":{"element":"input_text","attributes":{"type":"text","name":"zip","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Zip Code","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"country":{"element":"select_country","attributes":{"name":"country","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Country","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"country_list":{"active_list":"all","visible_list":[],"hidden_list":[]},"conditional_logics":[]},"options":{"BD":"Bangladesh","US":"US of America"},"editor_options":{"title":"Country List","element":"country-list","icon_class":"icon-text-width","template":"selectCountry"}}},"editor_options":{"title":"Address Fields","element":"address-fields","icon_class":"icon-credit-card","template":"addressFields"},"uniqElKey":"el_1570705736118"},{"index":1,"element":"container","attributes":[],"settings":[],"columns":[{"fields":[{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Email","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email Address","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1570705752682"}]},{"fields":[{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"License\/Registration Number","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570705764235"}]}],"editor_options":{"title":"Two Column Container","icon_class":"icon-columns"},"uniqElKey":"el_1570705749717"},{"index":1,"element":"container","attributes":[],"settings":[],"columns":[{"fields":[{"index":1,"element":"input_email","attributes":{"type":"email","name":"email_2","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Email","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email Address","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1570705840867"}]},{"fields":[{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_1","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"VIN Number","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570705764235"}]}],"editor_options":{"title":"Two Column Container","icon_class":"icon-columns"},"uniqElKey":"el_1570705782672"},{"index":1,"element":"container","attributes":[],"settings":[],"columns":[{"fields":[{"index":6,"element":"input_number","attributes":{"type":"number","name":"numeric-field","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Vehicle Year","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"","message":"Minimum value is "},"max":{"value":"","message":"Maximum value is "}},"conditional_logics":[],"calculation_settings":{"status":false,"formula":""}},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1570705870182"}]},{"fields":[{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_2","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Vehicle Make","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570705886553"}]}],"editor_options":{"title":"Two Column Container","icon_class":"icon-columns"},"uniqElKey":"el_1570705860189"},{"index":1,"element":"container","attributes":[],"settings":[],"columns":[{"fields":[{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_3","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Vehicle Model","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570705906035"}]},{"fields":[{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_4","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Vehicle Mileage","label_placement":"","admin_field_label":"","help_message":"", "validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570705916699"}]}],"editor_options":{"title":"Two Column Container","icon_class":"icon-columns"},"uniqElKey":"el_1570705902098"},{"index":1,"element":"container","attributes":[],"settings":[],"columns":[{"fields":[{"index":9,"element":"tabular_grid","attributes":{"name":"tabular_grid","data-type":"tabular-element"},"settings":{"tabular_field_type":"radio","container_class":"","label":"Checkbox Grid","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required","per_row":true}},"conditional_logics":[],"grid_columns":{"Pass":"Pass","Fail":"Fail"},"grid_rows":{"Front Bumper\t":"Front Bumper\t","Back Bumper\t":"Back Bumper\t","Leaks under vehicle\t":"Leaks under vehicle\t","Tire pressure\t":"Tire pressure\t","Windows\t":"Windows\t","Doors\t":"Doors\t","Front\/Back lights\t":"Front\/Back lights\t","Side mirrors\t":"Side mirrors\t"},"selected_grids":[]},"editor_options":{"title":"Checkable Grid","icon_class":"icon-dot-circle-o","template":"checkableGrids"},"uniqElKey":"el_1570705937391"}]},{"fields":[{"index":9,"element":"tabular_grid","attributes":{"name":"tabular_grid_1","data-type":"tabular-element"},"settings":{"tabular_field_type":"radio","container_class":"","label":"Checkbox Grid","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required","per_row":true}},"conditional_logics":[],"grid_columns":{"Pass\t":"Pass\t","Fail":"Fail"},"grid_rows":{"Clean interior\t":"Clean interior\t","Floor free of hazards\t":"Floor free of hazards\t","Seat belts condition\t":"Seat belts condition\t","Mirrors\t":"Mirrors\t","Brake functionality\t":"Brake functionality\t","Heat":"Heat","A\/C\t":"A\/C\t","Warning lights\t":"Warning lights\t"},"selected_grids":[]},"editor_options":{"title":"Checkable Grid","icon_class":"icon-dot-circle-o","template":"checkableGrids"},"uniqElKey":"el_1570706015907"}]}],"editor_options":{"title":"Two Column Container","icon_class":"icon-columns"},"uniqElKey":"el_1570705930111"},{"index":1,"element":"container","attributes":[],"settings":[],"columns":[{"fields":[{"index":9,"element":"tabular_grid","attributes":{"name":"tabular_grid_2","data-type":"tabular-element"},"settings":{"tabular_field_type":"radio","container_class":"","label":"Under The Hood","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required","per_row":true}},"conditional_logics":[],"grid_columns":{"Pass\t":"Pass\t","Fail":"Fail"},"grid_rows":{"Oil level\t":"Oil level\t","Wiper fluid level\t":"Wiper fluid level\t","Belts":"Belts","Hoses":"Hoses","Battery\t":"Battery\t","Brake fluid\t":"Brake fluid\t","Power steering fluid\t":"Power steering fluid\t","Coolant level\t":"Coolant level\t"},"selected_grids":[]},"editor_options":{"title":"Checkable Grid","icon_class":"icon-dot-circle-o","template":"checkableGrids"},"uniqElKey":"el_1570706098452"}]},{"fields":[{"index":9,"element":"tabular_grid","attributes":{"name":"tabular_grid_3","data-type":"tabular-element"},"settings":{"tabular_field_type":"radio","container_class":"","label":"Electrical","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required","per_row":true}},"conditional_logics":[],"grid_columns":{"Pass":"Pass","Fail":"Fail"},"grid_rows":{"Left turn signal\t":"Left turn signal\t","Right turn signal\t":"Right turn signal\t","High beams\t":"High beams\t","Low beams":"Low beams","Emergency flashers\t":"Emergency flashers\t","Horn":"Horn","Windshield wipers\t":"Windshield wipers\t","Brake lights\t":"Brake lights\t"},"selected_grids":[]},"editor_options":{"title":"Checkable Grid","icon_class":"icon-dot-circle-o","template":"checkableGrids"},"uniqElKey":"el_1570706159529"}]}],"editor_options":{"title":"Two Column Container","icon_class":"icon-columns"},"uniqElKey":"el_1570706091279"},{"index":1,"element":"container","attributes":[],"settings":[],"columns":[{"fields":[{"index":9,"element":"tabular_grid","attributes":{"name":"tabular_grid_4","data-type":"tabular-element"},"settings":{"tabular_field_type":"radio","container_class":"","label":"Safety Equipment","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required","per_row":false}},"conditional_logics":[],"grid_columns":{"Pass":"Pass","Fail":"Fail"},"grid_rows":{"Reflective triangles or flares\t":"Reflective triangles or flares\t","First aid kit\t":"First aid kit\t","Bio-hazard kit\t":"Bio-hazard kit\t","Seatbelt cutter\t":"Seatbelt cutter\t"},"selected_grids":[]},"editor_options":{"title":"Checkable Grid","icon_class":"icon-dot-circle-o","template":"checkableGrids"},"uniqElKey":"el_1570706254179"}]},{"fields":[{"index":9,"element":"tabular_grid","attributes":{"name":"tabular_grid_5","data-type":"tabular-element"},"settings":{"tabular_field_type":"checkbox","container_class":"","label":"Accessiblity Equipment (if applicable)","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required","per_row":false}},"conditional_logics":[],"grid_columns":{"Pass\t":"Pass\t","Fail":"Fail"},"grid_rows":{"Cycle lift\t":"Cycle lift\t","Proper number of seat belts\t":"Proper number of seat belts\t","Emergency handle\t":"Emergency handle\t","Hydraulic fluid\t":"Hydraulic fluid\t"},"selected_grids":[]},"editor_options":{"title":"Checkable Grid","icon_class":"icon-dot-circle-o","template":"checkableGrids"},"uniqElKey":"el_1570706304743"}]}],"editor_options":{"title":"Two Column Container","icon_class":"icon-columns"},"uniqElKey":"el_1570706249764"},{"index":3,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Notes","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1570706366098"},{"index":15,"element":"input_image","attributes":{"type":"file","name":"image-upload","value":"","id":"","class":"","accept":"image\/*"},"settings":{"container_class":"","label":"Upload Relevant Images","admin_field_label":"","label_placement":"left","btn_text":"Choose File","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"max_file_size":{"value":1048576,"_valueFrom":"MB","message":"Maximum file size limit"},"max_file_count":{"value":1,"message":"Max file count"},"allowed_image_types":{"value":[],"message":"Allowed image size does not match"}},"conditional_logics":[]},"editor_options":{"title":"Image Upload","icon_class":"icon-picture-o","template":"inputFile"},"uniqElKey":"el_1570706381051"},{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"Signature","description":"","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1570706401235"},{"index":3,"element":"custom_html","attributes":[],"settings":{"html_codes":"<p><span id=\"label64788387\" class=\"fsLabel\">Inspector Name:<\/span><\/p>\n<div class=\"fsSubFieldGroup\">\n<div class=\"fsSubField fsNameFirst\">\u00a0<\/div>\n<\/div>","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Custom HTML","icon_class":"icon-code","template":"customHTML"},"uniqElKey":"el_1570706419899"},{"index":0,"element":"input_name","attributes":{"name":"names_1","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1570706433668"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Form","img_url":""}},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Lets hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline"}},"notifications":{"name":"Admin Notification Email","sendTo":{"type":"email","email":"{wp.admin_email}","field":"email","routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"[{inputs.names}] New Form Submission","message":"<p>{all_data}<\/p>\n<p>This form submitted at: {embed_post.permalink}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
518 |
+
),
|
519 |
+
//form number : 114
|
520 |
+
'workshop_registration_form' => array(
|
521 |
+
'screenshot' => '',
|
522 |
+
'createable' => true,
|
523 |
+
'title' => 'Workshop Registration Form',
|
524 |
+
'is_pro' => true,
|
525 |
+
'brief' => 'For doing a workshop registration, you can use this from',
|
526 |
+
'category' => "Marketing",
|
527 |
+
'tag' => ["Marketing", "workshop", "registration"],
|
528 |
+
'json' => '[{"id":"114","title":"Workshop Registration Form","form":{"fields":[{"index":3,"element":"custom_html","attributes":[],"settings":{"html_codes":"<h2 id=\"header_15\" class=\"form-header\" style=\"text-align: center;\" data-component=\"header\"><span style=\"color: #3838b0;\">Workshop Registration<\/span><\/h2>\n<p style=\"text-align: center;\">[Add a cool image here]<\/p>\n<div style=\"text-align: center;\"><span style=\"color: #3e48ab;\"><strong>Date : December<\/strong> 05, 2020\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0<strong>Time: <\/strong>10:00 am\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <strong>Address : 3491 Henry Ford Avenue, Tulsa, OK, Oklahoma, 74120 <\/strong><\/span><\/div>\n<div style=\"text-align: center;\">\u00a0<\/div>\n<div id=\"subHeader_15\" class=\"form-subHeader\" style=\"text-align: center;\">\u00a0<\/div>","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Custom HTML","icon_class":"icon-code","template":"customHTML"},"uniqElKey":"el_1570704891675"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Name","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570705071258"},{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Email","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email Address","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1570705106754"},{"index":30,"element":"phone","attributes":{"name":"phone","class":"","value":"","type":"tel","placeholder":""},"settings":{"container_class":"","placeholder":"","int_tel_number":"no","label":"Phone","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"valid_phone_number":{"value":false,"message":"Phone number is not valid"}},"conditional_logics":[]},"editor_options":{"title":"Phone Field","icon_class":"el-icon-phone-outline","template":"inputText"},"uniqElKey":"el_1570705150569"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_1","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Company","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570705254380"},{"index":4,"element":"address","attributes":{"id":"","class":"","name":"address1","data-type":"address-element"},"settings":{"label":"","admin_field_label":"","conditional_logics":[]},"fields":{"address_line_1":{"element":"input_text","attributes":{"type":"text","name":"address_line_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Permanent Address ","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"address_line_2":{"element":"input_text","attributes":{"type":"text","name":"address_line_2","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Current Address","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"city":{"element":"input_text","attributes":{"type":"text","name":"city","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"City","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"state":{"element":"input_text","attributes":{"type":"text","name":"state","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"State","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"zip":{"element":"input_text","attributes":{"type":"text","name":"zip","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Zip Code","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"country":{"element":"select_country","attributes":{"name":"country","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Country","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"country_list":{"active_list":"all","visible_list":[],"hidden_list":[]},"conditional_logics":[]},"options":{"BD":"Bangladesh","US":"US of America"},"editor_options":{"title":"Country List","element":"country-list","icon_class":"icon-text-width","template":"selectCountry"}}},"editor_options":{"title":"Address Fields","element":"address-fields","icon_class":"icon-credit-card","template":"addressFields"},"uniqElKey":"el_1570705202842"},{"index":9,"element":"input_checkbox","attributes":{"type":"checkbox","name":"checkbox","value":[]},"settings":{"container_class":"","label":"How did you hear about the workshop?","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"Website":"Website","Friend\/Colleague":"Friend\/Colleague","Online Search":"Online Search"},"editor_options":{"title":"Check Box","icon_class":"icon-check-square-o","template":"inputCheckbox"},"uniqElKey":"el_1570705299765"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Complete Registration","img_url":""},"normal_styles":{},"hover_styles":{},"current_state":"normal_styles"},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline"}},"notifications":{"name":"Admin Notification Email","sendTo":{"type":"email","email":"{wp.admin_email}","field":"email","routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"[{inputs.names}] New Form Submission","message":"<p>{all_data}<\/p>\n<p>This form submitted at: {embed_post.permalink}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
529 |
+
),
|
530 |
+
//form number : 113
|
531 |
+
'social_service_home_visit_form' => array(
|
532 |
+
'screenshot' => '',
|
533 |
+
'createable' => true,
|
534 |
+
'title' => 'Social Service Home Visit Form',
|
535 |
+
'is_pro' => true,
|
536 |
+
'brief' => 'Use this form to create a social service form.',
|
537 |
+
'category' => "Government",
|
538 |
+
'tag' => ["Government", "social", "service"],
|
539 |
+
'json' => '[{"id":"113","title":"Social Service Home Visit Form","form":{"fields":[{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Social Worker Name:","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":"First Name"},"settings":{"container_class":"","label":"Social Worker Name:","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"Last Name","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1570704937500"},{"index":1,"element":"container","attributes":[],"settings":[],"columns":[{"fields":[{"index":3,"element":"custom_html","attributes":[],"settings":{"html_codes":"<p><span id=\"label73658160\" class=\"fsLabel\">Case Name:<\/span><\/p>\n<div id=\"gtx-trans\" style=\"position: absolute; left: 123px; top: -10px;\">\n<div class=\"gtx-trans-icon\">\u00a0<\/div>\n<\/div>","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Custom HTML","icon_class":"icon-code","template":"customHTML"},"uniqElKey":"el_1570705081684"},{"index":0,"element":"input_name","attributes":{"name":"names_1","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1570705039315"}]},{"fields":[{"index":3,"element":"custom_html","attributes":[],"settings":{"html_codes":"<p><span id=\"label73658166\" class=\"fsLabel\">Case Worker:<\/span><\/p>\n<div id=\"gtx-trans\" style=\"position: absolute; left: 133px; top: -10px;\">\n<div class=\"gtx-trans-icon\">\u00a0<\/div>\n<\/div>","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Custom HTML","icon_class":"icon-code","template":"customHTML"},"uniqElKey":"el_1570705114777"},{"index":0,"element":"input_name","attributes":{"name":"names_2","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1570705058052"}]}],"editor_options":{"title":"Two Column Container","icon_class":"icon-columns"},"uniqElKey":"el_1570705034852"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Case Type:","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570705185241"},{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Date & Time of Visit:","admin_field_label":"","label_placement":"","date_format":"d\/m\/Y h:i K","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1570705200289"},{"index":9,"element":"input_checkbox","attributes":{"type":"checkbox","name":"checkbox","value":[]},"settings":{"container_class":"","label":"Check all that apply:","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},
|
540 |
+
"options":{"The home appears to be clean, safe, sanitary and in good repair":"The home appears to be clean, safe, sanitary and in good repair","Waste is stored, located and disposed of in a manner that will not permit the transmission of communicable disease or odors, create a nuisance, or provide a breeding place or food source for insects or rodents":"Waste is stored, located and disposed of in a manner that will not permit the transmission of communicable disease or odors, create a nuisance, or provide a breeding place or food source for insects or rodents","At least one toilet, bath or shower with hot and cold running water":"At least one toilet, bath or shower with hot and cold running water","An operable heating system":"An operable heating system","Suitable sleeping areas \u2013 no halls, stairways, unfinished attic, garage, bathroom, eating area, closet, shed, or detached buildings":"Suitable sleeping areas \u2013 no halls, stairways, unfinished attic, garage, bathroom, eating area, closet, shed, or detached buildings","Children of the opposite sex who are 5 or older do not share the same bedroom":"Children of the opposite sex who are 5 or older do not share the same bedroom","Each child is provided with a clean, comfortable mattress, clean linens, blankets and a pillow":"Each child is provided with a clean, comfortable mattress, clean linens, blankets and a pillow","Medication and toxic substances are locked up so that children in the home cannot access":"Medication and toxic substances are locked up so that children in the home cannot access","Operable telephone":"Operable telephone","Emergency telephone numbers \u2013 including fire, police, poison control and ambulance must be conspicuously posted adjacent to all telephones":"Emergency telephone numbers \u2013 including fire, police, poison control and ambulance must be conspicuously posted adjacent to all telephones","Fireplaces, fireplace inserts, wood and coal burning stoves and free standing space heaters, if allowed by local ordinance, shall be installed equipped and operated according to manufacturer\u2019s specification and requirements specified by local ordinance":"Fireplaces, fireplace inserts, wood and coal burning stoves and free standing space heaters, if allowed by local ordinance, shall be installed equipped and operated according to manufacturer\u2019s specification and requirements specified by local ordinance","Smoke detector on each level of residence (including basement)":"Smoke detector on each level of residence (including basement)","Fire extinguisher gauge or button ensures adequate pressure. If there is not gauge or button, the extinguisher is tested and tagged by fire company or appropriate source":"Fire extinguisher gauge or button ensures adequate pressure. If there is not gauge or button, the extinguisher is tested and tagged by fire company or appropriate source","Protective caps in all electrical outlets (children under 5)":"Protective caps in all electrical outlets (children under 5)","No exposed electrical wires":"No exposed electrical wires","Guns locked and ammunition stored separately":"Guns locked and ammunition stored separately","Number of persons transported does not exceed vehicle capacity":"Number of persons transported does not exceed vehicle capacity","Seat belts in automobiles are used by occupants":"Seat belts in automobiles are used by occupants","Children who are under eight (8) years of age who are transported in motor vehicles shall be securely fastened in a child passenger restraint system":"Children who are under eight (8) years of age who are transported in motor vehicles shall be securely fastened in a child passenger restraint system","Children shall be limited to floor level not more than 2 stories above ground level":"Children shall be limited to floor level not more than 2 stories above ground level","Exits for building with up to and including 2 stories, a minimum of one exit from each floor kept free from obstructions shall be provided":"Exits for building with up to and including 2 stories, a minimum of one exit from each floor kept free from obstructions shall be provided","First Aid supplies in the home":"First Aid supplies in the home","Fire escape plans are posted":"Fire escape plans are posted","Baby gates are used on staircases if they are under 2 years old":"Baby gates are used on staircases if they are under 2 years old"},"editor_options":{"title":"Check Box","icon_class":"icon-check-square-o","template":"inputCheckbox"},"uniqElKey":"el_1570705238775"},{"index":1,"element":"container","attributes":[],"settings":[],"columns":[{"fields":[{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio","value":""},"settings":{"container_class":"","label":"Smoke Alarms Operable?","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"yes":"Yes","no":"No"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1570705442044"}]},{"fields":[{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Date Checked","admin_field_label":"","label_placement":"","date_format":"d\/m\/Y","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1570705453325"}]}],"editor_options":{"title":"Two Column Container","icon_class":"icon-columns"},"uniqElKey":"el_1570705436957"},{"index":3,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Items Discussed During Visit:","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1570705467385"},{"index":3,"element":"textarea","attributes":{"name":"description_1","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Notes & Comments:","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1570705477396"},{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime_2","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Today\'s Date:","admin_field_label":"","label_placement":"","date_format":"d\/m\/Y","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1570705499551"},{"index":5,"element":"terms_and_condition","attributes":{"type":"checkbox","name":"terms-n-condition","value":false,"class":""},"settings":{"tnc_html":"I certify that this home meets the standards for approval as described in this form.\n","has_checkbox":true,"admin_field_label":"Terms and Conditions","container_class":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Terms & Conditions","icon_class":"icon-check-square-o","template":"termsCheckbox"},"uniqElKey":"el_1570705539668"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Form","img_url":""}},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Lets hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline"}},"notifications":{"name":"Admin Notification Email","sendTo":{"type":"email","email":"{wp.admin_email}","field":"email","routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"[{inputs.names}] New Form Submission","message":"<p>{all_data}<\/p>\n<p>This form submitted at: {embed_post.permalink}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
541 |
+
),
|
542 |
+
//form number : 112
|
543 |
+
'it_service_request_form' => array(
|
544 |
+
'screenshot' => '',
|
545 |
+
'createable' => true,
|
546 |
+
'title' => 'IT Service Request Form',
|
547 |
+
'is_pro' => false,
|
548 |
+
'brief' => 'To do an IT service request, use this from.',
|
549 |
+
'category' => "IT",
|
550 |
+
'tag' => ["IT", "HR", "request"],
|
551 |
+
'json' => '[{"id":"112","title":"IT Service Request Form","form":{"fields":[{"index":3,"element":"custom_html","attributes":[],"settings":{"html_codes":"<div id=\"fsRow2372377-2\" class=\"fsRow fsFieldRow fsLastRow\">\n<div id=\"fsCell42630375\" class=\"fsRowBody fsCell fsFieldCell fsFirst fsLast fsLabelVertical fsSpan100\" lang=\"en\">\n<p style=\"text-align: center;\"><strong>Please fill out this form and an IT service team member will be in touch with you shortly.<\/strong><\/p>\n<\/div>\n<\/div>\n<div id=\"fsRow2372377-3\" class=\"fsRow fsFieldRow fsLastRow\">\n<div id=\"fsCell42629201\" class=\"fsRowBody fsCell fsFieldCell fsFirst fsLast fsLabelVertical fsSpan100\" lang=\"en\">\u00a0<\/div>\n<\/div>","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Custom HTML","icon_class":"icon-code","template":"customHTML"},"uniqElKey":"el_1570704494009"},{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1570704548968"},{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Email","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":true,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email Address","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1570704554553"},{"index":30,"element":"phone","attributes":{"name":"phone","class":"","value":"","type":"tel","placeholder":""},"settings":{"container_class":"","placeholder":"","int_tel_number":"no","label":"Phone","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":true,"message":"This field is required"},"valid_phone_number":{"value":false,"message":"Phone number is not valid"}},"conditional_logics":[]},"editor_options":{"title":"Phone Field","icon_class":"el-icon-phone-outline","template":"inputText"},"uniqElKey":"el_1570704572083"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Department","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570704585053"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio","value":""},"settings":{"container_class":"","label":"What are you having issues with?","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"Computer":"Computer","Projector":"Projector","Internet Connection":"Internet Connection","Other":"Other"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1570704609873"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_1","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Other","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":{"type":"any","status":true,"conditions":[{"field":"input_radio","value":"Other","operator":"="}]}},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570704683360"},{"index":3,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Any details we should know about?","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1570704715658"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Request","img_url":""},"normal_styles":{},"hover_styles":{},"current_state":"normal_styles"},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Lets hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline"}},"notifications":{"name":"Admin Notification Email","sendTo":{"type":"email","email":"{wp.admin_email}","field":"email","routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"[{inputs.names}] New Form Submission","message":"<p>{all_data}<\/p>\n<p>This form submitted at: {embed_post.permalink}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
552 |
+
),
|
553 |
+
//form number : 111
|
554 |
+
'handicap_parking_request_form' => array(
|
555 |
+
'screenshot' => '',
|
556 |
+
'createable' => true,
|
557 |
+
'title' => 'Handicap Parking Request Form',
|
558 |
+
'is_pro' => true,
|
559 |
+
'brief' => 'For requesting handicap parking, use this form.',
|
560 |
+
'category' => "Government",
|
561 |
+
'tag' => ["Government", "Parking", "HR", "Handicap", "Request"],
|
562 |
+
'json' => '[{"id":"111","title":"Handicap Parking Request Form","form":{"fields":[{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1570704050129"},{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Mailing Address","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email Address","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1570704066050"},{"index":4,"element":"address","attributes":{"id":"","class":"","name":"address1","data-type":"address-element"},"settings":{"label":"Address","admin_field_label":"","conditional_logics":[]},"fields":{"address_line_1":{"element":"input_text","attributes":{"type":"text","name":"address_line_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Address Line 1","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"address_line_2":{"element":"input_text","attributes":{"type":"text","name":"address_line_2","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Address Line 2","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"city":{"element":"input_text","attributes":{"type":"text","name":"city","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"City","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"state":{"element":"input_text","attributes":{"type":"text","name":"state","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"State","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"zip":{"element":"input_text","attributes":{"type":"text","name":"zip","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Zip Code","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"country":{"element":"select_country","attributes":{"name":"country","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Country","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"country_list":{"active_list":"all","visible_list":[],"hidden_list":[]},"conditional_logics":[]},"options":{"BD":"Bangladesh","US":"US of America"},"editor_options":{"title":"Country List","element":"country-list","icon_class":"icon-text-width","template":"selectCountry"}}},"editor_options":{"title":"Address Fields","element":"address-fields","icon_class":"icon-credit-card","template":"addressFields"},"uniqElKey":"el_1570704076614"},{"index":30,"element":"phone","attributes":{"name":"phone","class":"","value":"","type":"tel","placeholder":""},"settings":{"container_class":"","placeholder":"","int_tel_number":"no","label":"Phone","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"valid_phone_number":{"value":false,"message":"Phone number is not valid"}},"conditional_logics":[]},"editor_options":{"title":"Phone Field","icon_class":"el-icon-phone-outline","template":"inputText"},"uniqElKey":"el_1570704090023"},{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Date of Birth","admin_field_label":"","label_placement":"","date_format":"d\/m\/Y","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1570704099615"},{"index":1,"element":"input_email","attributes":{"type":"email","name":"email_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Email Address","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email Address","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1570704118618"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Driver License Number","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570704128608"},{"index":9,"element":"input_checkbox","attributes":{"type":"checkbox","name":"checkbox","value":[]},"settings":{"container_class":"","label":"Application Type","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"Permanent Placard":"Permanent Placard","Temporary Placard":"Temporary Placard","Travel Parking Placard":"Travel Parking Placard","Disabled Person License Plate":"Disabled Person License Plate"},"editor_options":{"title":"Check Box","icon_class":"icon-check-square-o","template":"inputCheckbox"},"uniqElKey":"el_1570704143105"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_1","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"License Plate Number","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":{"type":"any","status":true,"conditions":[{"field":"checkbox","value":"Disabled Person License Plate","operator":"="}]}},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570704207888"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_2","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Vehicle Identification Number (VIN)","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":{"type":"any","status":true,"conditions":[{"field":"checkbox","value":"Disabled Person License Plate","operator":"="}]}},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570704245053"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_3","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Vehicle Make","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":{"type":"any","status":true,"conditions":[{"field":"checkbox","value":"Disabled Person License Plate","operator":"="}]}},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570704262456"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_4","value":"","class":"","placeholder":""},
|
563 |
+
"settings":{"container_class":"","label":"Vehicle Year","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":{"type":"any","status":true,"conditions":[{"field":"checkbox","value":"Disabled Person License Plate","operator":"="}]}},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570704289485"},{"index":14,"element":"input_file","attributes":{"type":"file","name":"file-upload","value":"","id":"","class":""},"settings":{"container_class":"","label":"Please attach document from state licensed medical physician to certify disability.","admin_field_label":"","label_placement":"","btn_text":"Choose File","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"max_file_size":{"value":1048576,"_valueFrom":"MB","message":"Maximum file size limit"},"max_file_count":{"value":1,"message":"Max file count"},"allowed_file_types":{"value":[],"message":"allowed_file_types"}},"conditional_logics":[]},"editor_options":{"title":"File Upload","icon_class":"icon-upload","template":"inputFile"},"uniqElKey":"el_1570704315097"},{"index":5,"element":"terms_and_condition","attributes":{"type":"checkbox","name":"terms-n-condition","value":false,"class":""},"settings":{"tnc_html":"<p>The information I have entered is truthful to the best of my knowledge.<\/p>","has_checkbox":true,"admin_field_label":"Terms and Conditions","container_class":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Terms & Conditions","icon_class":"icon-check-square-o","template":"termsCheckbox"},"uniqElKey":"el_1570704348194"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"right","button_style":"green","container_class":"","help_message":"","background_color":"#67C23A","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Form","img_url":""},"normal_styles":{},"hover_styles":{},"current_state":"normal_styles"},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Lets hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline"}},"notifications":{"name":"Admin Notification Email","sendTo":{"type":"email","email":"{wp.admin_email}","field":"email","routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"[{inputs.names}] New Form Submission","message":"<p>{all_data}<\/p>\n<p>This form submitted at: {embed_post.permalink}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
564 |
+
),
|
565 |
+
//form number : 109
|
566 |
+
'sponsor_request_form' => array(
|
567 |
+
'screenshot' => '',
|
568 |
+
'createable' => true,
|
569 |
+
'title' => 'Sponsor Request Form',
|
570 |
+
'is_pro' => true,
|
571 |
+
'brief' => 'You can use this from to create a sponsor request form',
|
572 |
+
'category' => "HR",
|
573 |
+
'tag' => ["Finance", "HR", "Sponsor", "Request", "Application"],
|
574 |
+
'json' => '[{"id":"109","title":"Sponsor Request Form","form":{"fields":[{"index":3,"element":"custom_html","attributes":[],"settings":{"html_codes":"<h2 id=\"header_21\" class=\"form-header\" style=\"text-align: center;\"><span style=\"color: #14b5ba;\"><b>Sponsorship <\/b>Request<\/span><\/h2>\n<div id=\"subHeader_21\" class=\"form-subHeader\" style=\"text-align: center;\"><span style=\"color: #14b5ba;\">Lets get started.\u00a0<\/span><\/div>\n<div id=\"gtx-trans\" style=\"position: absolute; left: 284px; top: 50.8125px;\">\n<div class=\"gtx-trans-icon\">\u00a0<\/div>\n<\/div>","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Custom HTML","icon_class":"icon-code","template":"customHTML"},"uniqElKey":"el_1570703760412"},{"index":7,"element":"form_step","attributes":{"id":"","class":""},"settings":{"prev_btn":{"type":"default","text":"Previous","img_url":""},"next_btn":{"type":"default","text":"Start","img_url":""}},"editor_options":{"title":"Form Step","icon_class":"icon-step-forward","template":"formStep"},"uniqElKey":"el_1570703348166"},{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":"John Doe"},"settings":{"container_class":"","label":"What\'s your Name?","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1570703829445"},{"index":7,"element":"form_step","attributes":{"id":"","class":""},"settings":{"prev_btn":{"type":"default","text":"Previous","img_url":""},"next_btn":{"type":"default","text":"Next (Email Address)","img_url":""}},"editor_options":{"title":"Form Step","icon_class":"icon-step-forward","template":"formStep"},"uniqElKey":"el_1570703363110"},{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":"me@domain.com"},"settings":{"container_class":"","label":"Can you share your email address?","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":true,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email Address","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1570703914644"},{"index":7,"element":"form_step","attributes":{"id":"","class":""},"settings":{"prev_btn":{"type":"default","text":"Previous","img_url":""},"next_btn":{"type":"default","text":"Next (Phone Number)","img_url":""}},"editor_options":{"title":"Form Step","icon_class":"icon-step-forward","template":"formStep"},"uniqElKey":"el_1570703364125"},{"index":30,"element":"phone","attributes":{"name":"phone","class":"","value":"","type":"tel","placeholder":""},"settings":{"container_class":"","placeholder":"","int_tel_number":"no","label":"Can I have your phone number please?","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":true,"message":"This field is required"},"valid_phone_number":{"value":false,"message":"Phone number is not valid"}},"conditional_logics":[]},"editor_options":{"title":"Phone Field","icon_class":"el-icon-phone-outline","template":"inputText"},"uniqElKey":"el_1570703990707"},{"index":7,"element":"form_step","attributes":{"id":"","class":""},"settings":{"prev_btn":{"type":"default","text":"Previous","img_url":""},"next_btn":{"type":"default","text":"Next (Your Address)","img_url":""}},"editor_options":{"title":"Form Step","icon_class":"icon-step-forward","template":"formStep"},"uniqElKey":"el_1570703976588"},{"index":4,"element":"address","attributes":{"id":"","class":"","name":"address1","data-type":"address-element"},"settings":{"label":"We need your address","admin_field_label":"","conditional_logics":[]},"fields":{"address_line_1":{"element":"input_text","attributes":{"type":"text","name":"address_line_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Address ","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"address_line_2":{"element":"input_text","attributes":{"type":"text","name":"address_line_2","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Address Line 2","admin_field_label":"","help_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"city":{"element":"input_text","attributes":{"type":"text","name":"city","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"City","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"state":{"element":"input_text","attributes":{"type":"text","name":"state","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"State","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"zip":{"element":"input_text","attributes":{"type":"text","name":"zip","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Zip Code","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"country":{"element":"select_country","attributes":{"name":"country","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Country","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"country_list":{"active_list":"all","visible_list":[],"hidden_list":[]},"conditional_logics":[]},"options":{"BD":"Bangladesh","US":"US of America"},"editor_options":{"title":"Country List","element":"country-list","icon_class":"icon-text-width","template":"selectCountry"}}},"editor_options":{"title":"Address Fields","element":"address-fields","icon_class":"icon-credit-card","template":"addressFields"},"uniqElKey":"el_1570704012788"},{"index":7,"element":"form_step","attributes":{"id":"","class":""},"settings":{"prev_btn":{"type":"default","text":"Previous","img_url":""},"next_btn":{"type":"default","text":"Next (Company)","img_url":""}},"editor_options":{"title":"Form Step","icon_class":"icon-step-forward","template":"formStep"},"uniqElKey":"el_1570703977755"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text","value":"","class":"","placeholder":"My company name is XXXX"},"settings":{"container_class":"","label":"May I know where do you work?","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570704073499"},{"index":7,"element":"form_step","attributes":{"id":"","class":""},"settings":{"prev_btn":{"type":"default","text":"Previous","img_url":""},"next_btn":{"type":"default","text":"Next (Type of Sponsorship you want)","img_url":""}},"editor_options":{"title":"Form Step","icon_class":"icon-step-forward","template":"formStep"},"uniqElKey":"el_1570704136150"},{"index":7,"element":"select","attributes":{"name":"dropdown","value":"","id":"","class":""},"settings":{"label":"Which position do you want to sponsor?","admin_field_label":"","help_message":"","container_class":"","label_placement":"","placeholder":"Choose Position","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Platinum":"Platinum","Diamond":"Diamond","Gold":"Gold","Silver":"Silver","Bronze":"Bronze"},"editor_options":{"title":"Dropdown","icon_class":"icon-caret-square-o-down","element":"select","template":"select"},"uniqElKey":"el_1570704171019"},{"index":7,"element":"form_step","attributes":{"id":"","class":""},"settings":{"prev_btn":{"type":"default","text":"Previous","img_url":""},"next_btn":{"type":"default","text":"Next (Special Request)","img_url":""}},"editor_options":{"title":"Form Step","icon_class":"icon-step-forward","template":"formStep"},"uniqElKey":"el_1570704137965"},{"index":3,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Special Request","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1570704146115"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"","container_class":"","help_message":"","background_color":"","button_size":"md","color":"","button_ui":{"type":"default","text":"Submit ","img_url":""},"normal_styles":{"backgroundColor":"rgba(11, 148, 163, 1)","color":"#F2EFEF"},"hover_styles":{},"current_state":"normal_styles"},"editor_options":{"title":"Submit Button"}},"stepsWrapper":{"stepStart":{"element":"step_start","attributes":{"id":"","class":""},"settings":{"progress_indicator":"","step_titles":[]},"editor_options":{"title":"Start Paging"}},"stepEnd":{"element":"step_end","attributes":{"id":"","class":""},"settings":{"prev_btn":{"type":"default","text":"Previous","img_url":""}},"editor_options":{"title":"End Paging"}}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Lets hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline"}},"notifications":{"name":"Admin Notification Email","sendTo":{"type":"email","email":"{wp.admin_email}","field":"email","routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"[{inputs.names}] New Form Submission","message":"<p>{all_data}<\/p>\n<p>This form submitted at: {embed_post.permalink}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
575 |
+
),
|
576 |
+
//form number : 107
|
577 |
+
'annual_vehicles_inspection_form' => array(
|
578 |
+
'screenshot' => '',
|
579 |
+
'createable' => true,
|
580 |
+
'title' => 'Annual Vehicles Inspection Form',
|
581 |
+
'is_pro' => true,
|
582 |
+
'brief' => 'To create a vehicle inspection from, use this.',
|
583 |
+
'category' => "Government",
|
584 |
+
'tag' => ["Personal", "Government", "social"],
|
585 |
+
'json' => '[{"id":"107","title":"Annual Vehicles Inspection Form","form":{"fields":[{"index":3,"element":"custom_html","attributes":[],"settings":{"html_codes":"<p style=\"text-align: center;\"><strong>Annual Vehicles Inspection Form\u00a0\u00a0<\/strong><\/p>\n<div id=\"gtx-trans\" style=\"position: absolute; left: 302px; top: -9px;\">\n<div class=\"gtx-trans-icon\">\u00a0<\/div>\n<\/div>","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Custom HTML","icon_class":"icon-code","template":"customHTML"},"uniqElKey":"el_1570705042179"},{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Today\'s Date:","admin_field_label":"","label_placement":"","date_format":"d\/m\/Y","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1570702169828"},{"index":6,"element":"input_number","attributes":{"type":"number","name":"numeric-field","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Report Number:","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"","message":"Minimum value is "},"max":{"value":"","message":"Maximum value is "}},"conditional_logics":[],"calculation_settings":{"status":false,"formula":""}},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1570702189377"},{"index":6,"element":"input_number","attributes":{"type":"number","name":"numeric-field_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Fleet Unit Number:","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"","message":"Minimum value is "},"max":{"value":"","message":"Maximum value is "}},"conditional_logics":[],"calculation_settings":{"status":false,"formula":""}},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1570702214417"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Motor Carrier Operator:","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570702228346"},{"index":4,"element":"address","attributes":{"id":"","class":"","name":"address1","data-type":"address-element"},"settings":{"label":"Address","admin_field_label":"","conditional_logics":[]},"fields":{"address_line_1":{"element":"input_text","attributes":{"type":"text","name":"address_line_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Address Line 1","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"address_line_2":{"element":"input_text","attributes":{"type":"text","name":"address_line_2","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Address Line 2","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"city":{"element":"input_text","attributes":{"type":"text","name":"city","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"City","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"state":{"element":"input_text","attributes":{"type":"text","name":"state","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"State","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"zip":{"element":"input_text","attributes":{"type":"text","name":"zip","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Zip Code","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"country":{"element":"select_country","attributes":{"name":"country","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Country","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"country_list":{"active_list":"all","visible_list":[],"hidden_list":[]},"conditional_logics":[]},"options":{"BD":"Bangladesh","US":"US of America"},"editor_options":{"title":"Country List","element":"country-list","icon_class":"icon-text-width","template":"selectCountry"}}},"editor_options":{"title":"Address Fields","element":"address-fields","icon_class":"icon-credit-card","template":"addressFields"},"uniqElKey":"el_1570702241922"},{"index":9,"element":"input_checkbox","attributes":{"type":"checkbox","name":"checkbox","value":[]},"settings":{"container_class":"","label":"Vehicle Type:","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"Tractor":"Tractor","Trailer":"Trailer","Truck":"Truck","Other":"Other"},"editor_options":{"title":"Check Box","icon_class":"icon-check-square-o","template":"inputCheckbox"},"uniqElKey":"el_1570702260758"},{"index":3,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"others","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":{"type":"any","status":true,"conditions":[{"field":"checkbox","value":"Other","operator":"="}]}},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1570702299067"},{"index":1,"element":"container","attributes":[],"settings":[],"columns":[{"fields":[{"index":6,"element":"input_number","attributes":{"type":"number","name":"numeric-field_3","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Vehicle Identification Number:","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"","message":"Minimum value is "},"max":{"value":"","message":"Maximum value is "}},"conditional_logics":[],"calculation_settings":{"status":false,"formula":""}},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1570702359683"}]},{"fields":[{"index":6,"element":"input_number","attributes":{"type":"number","name":"numeric-field_2","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"License Plate Number:","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"","message":"Minimum value is "},"max":{"value":"","message":"Maximum value is "}},"conditional_logics":[],"calculation_settings":{"status":false,"formula":""}},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1570702362115"}]}],"editor_options":{"title":"Two Column Container","icon_class":"icon-columns"},"uniqElKey":"el_1570702345905"},{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Inspector\'s Name","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Inspector\'s First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Inspector\'s Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1570702383422"},{"index":9,"element":"input_checkbox","attributes":{"type":"checkbox","name":"checkbox_1","value":[]},"settings":{"container_class":"","label":"Inspector Meets Requirements of Section 396.19.","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"Yes":"Yes","No":"No"},"editor_options":{"title":"Check Box","icon_class":"icon-check-square-o","template":"inputCheckbox"},"uniqElKey":"el_1570702434514"},{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"Vehicle Inspected Components","description":"","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1570702463925"},{"index":9,"element":"tabular_grid","attributes":{"name":"tabular_grid","data-type":"tabular-element"},"settings":{"tabular_field_type":"radio","container_class":"","label":"Brake System","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required","per_row":false}},"conditional_logics":[],"grid_columns":{"Passed Inspection\t":"Passed Inspection\t","Needs Repair\t":"Needs Repair\t","N\/A":"N\/A"},"grid_rows":{"Service Brakes":"Service Brakes","Parking Brake":"Parking Brake","Brake Drums\/Rotors":"Brake Drums\/Rotors","Brake Hose":"Brake Hose","Tubing":"Tubing","Low Pressure Warning Device":"Low Pressure Warning Device","Air Compressor":"Air Compressor","Tractor Protection Valve":"Tractor Protection Valve","Electric Brakes":"Electric Brakes","Hydraulic Brakes":"Hydraulic Brakes","Vacuum Systems":"Vacuum Systems"},"selected_grids":[]},"editor_options":{"title":"Checkable Grid","icon_class":"icon-dot-circle-o","template":"checkableGrids"},"uniqElKey":"el_1570702478197"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_1","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Brake Repair:","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570702647731"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_3","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Brake Repair:","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570702708506"},{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"","description":"","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1570702695685"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_2","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Brake Repair:","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570702707125"},{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Brake Repair Date:","admin_field_label":"","label_placement":"","date_format":"d\/m\/Y","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1570702711967"},{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"Coupling Devices","description":"","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1570702731852"},{"index":9,"element":"tabular_grid","attributes":{"name":"tabular_grid_1","data-type":"tabular-element"},"settings":{"tabular_field_type":"radio","container_class":"","label":"Check All That Apply:","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required","per_row":false}},"conditional_logics":[],"grid_columns":{"Passed Inspection":"Passed Inspection","Needs Repair":"Needs Repair","N\/A":"N\/A"},"grid_rows":{"Fifth Wheels":"Fifth Wheels","Saddle-Mounts":"Saddle-Mounts","Drawbar\/Towbar Tongue":"Drawbar\/Towbar Tongue","Drawbar\/Towbar Eye":"Drawbar\/Towbar Eye","Pintle Hooks":"Pintle Hooks"},"selected_grids":[]},"editor_options":{"title":"Checkable Grid","icon_class":"icon-dot-circle-o","template":"checkableGrids"},"uniqElKey":"el_1570702745869"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_4","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Repair","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570702845420"},{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime_2","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Repair Date:","admin_field_label":"","label_placement":"","date_format":"d\/m\/Y","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1570702861641"},{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"","description":"","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1570702895559"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_5","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Repair","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570702903793"},{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime_3","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Repair Date:","admin_field_label":"","label_placement":"","date_format":"d\/m\/Y","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1570702907112"},{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"Steering Mechanism","description":"","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1570702925893"},{"index":9,"element":"tabular_grid","attributes":{"name":"tabular_grid_2","data-type":"tabular-element"},"settings":{"tabular_field_type":"radio","container_class":"","label":"Checkbox Grid","admin_field_label":"Check All That Apply:","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required","per_row":false}},"conditional_logics":[],"grid_columns":{"Passed Inspection\t":"Passed Inspection\t","Needs Repair\t":"Needs Repair\t","N\/A":"N\/A"},"grid_rows":{"Steering Column\t":"Steering Column\t","Steering System\t":"Steering System\t","Steering Gear Box\t":"Steering Gear Box\t","Pitman Arm\t":"Pitman Arm\t","Power Steering\t":"Power Steering\t","Steering Wheel Free Play\t":"Steering Wheel Free Play\t","Front Axle Beam + Related Components\t":"Front Axle Beam + Related Components\t","Tie Rods and Drag Links\t":"Tie Rods and Drag Links\t","Ball and Socket Joints\t":"Ball and Socket Joints\t"},"selected_grids":[]},"editor_options":{"title":"Checkable Grid","icon_class":"icon-dot-circle-o","template":"checkableGrids"},"uniqElKey":"el_1570702960134"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_6","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Repair","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570703058776"},{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime_4","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Repair Date:","admin_field_label":"","label_placement":"","date_format":"d\/m\/Y","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1570703076064"},{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"","description":"","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1570703087795"},{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"Suspension","description":"","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1570703117781"},{"index":9,"element":"tabular_grid","attributes":{"name":"tabular_grid_3","data-type":"tabular-element"},"settings":{"tabular_field_type":"radio","container_class":"","label":"Check All That Apply:","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required","per_row":false}},"conditional_logics":[],"grid_columns":{"Passed Inspection":"Passed Inspection","Needs Repair":"Needs Repair","N\/A":"N\/A"},"grid_rows":{"U-bolts, Springs, Etc. Cracked or Broken":"U-bolts, Springs, Etc. Cracked or Broken","Torque, Radius or Tracking Components":"Torque, Radius or Tracking Components","Spring Assembly":"Spring Assembly"},"selected_grids":[]},"editor_options":{"title":"Checkable Grid","icon_class":"icon-dot-circle-o","template":"checkableGrids"},"uniqElKey":"el_1570703137123"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_8","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Repair","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570703215555"},{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime_6","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Repair Date:","admin_field_label":"","label_placement":"","date_format":"d\/m\/Y","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1570703225083"},{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"Exhaust System","description":"","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1570703236236"},{"index":9,"element":"tabular_grid","attributes":{"name":"tabular_grid_4","data-type":"tabular-element"},"settings":{"tabular_field_type":"radio","container_class":"","label":"Check All That Apply:","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required","per_row":false}},"conditional_logics":[],"grid_columns":{"Passed Inspection":"Passed Inspection","Needs Repair":"Needs Repair","N\/A":"N\/A"},"grid_rows":{"Leaks found at a point forward of or directly below the driver\/sleeper compartment":"Leaks found at a point forward of or directly below the driver\/sleeper compartment","Found burning, charring, or damage to the electrical wiring":"Found burning, charring, or damage to the electrical wiring"},"selected_grids":[]},"editor_options":{"title":"Checkable Grid","icon_class":"icon-dot-circle-o","template":"checkableGrids"},"uniqElKey":"el_1570703251764"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_9","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Repair","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570703327233"},{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime_7","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Repair Date:","admin_field_label":"","label_placement":"","date_format":"d\/m\/Y","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1570703340767"},{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"Fuel System","description":"","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1570703419509"},{"index":9,"element":"tabular_grid","attributes":{"name":"tabular_grid_5","data-type":"tabular-element"},"settings":{"tabular_field_type":"radio","container_class":"","label":"Check All That Apply:","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required","per_row":false}},"conditional_logics":[],"grid_columns":{"Passed Inspection":"Passed Inspection","Needs Repair":"Needs Repair","N\/A":"N\/A"},"grid_rows":{"Visible Leak":"Visible Leak","Fuel Tank Filler Cap Missing":"Fuel Tank Filler Cap Missing"},"selected_grids":[]},"editor_options":{"title":"Checkable Grid","icon_class":"icon-dot-circle-o","template":"checkableGrids"},"uniqElKey":"el_1570703543075"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_10","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Repair","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570703565823"},{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime_8","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Repair Date:","admin_field_label":"","label_placement":"","date_format":"d\/m\/Y","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1570703569235"},{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"Frame","description":"","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1570703591382"},{"index":9,"element":"tabular_grid","attributes":{"name":"tabular_grid_6","data-type":"tabular-element"},"settings":{"tabular_field_type":"radio","container_class":"","label":"Check All That Apply:","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required","per_row":false}},"conditional_logics":[],"grid_columns":{"Passed Inspection":"Passed Inspection","Needs Repair":"Needs Repair","N\/A":"N\/A"},"grid_rows":{"Adjustable Axle Assemblies\t":"Adjustable Axle Assemblies\t","Tire and Wheel Clearance\t":"Tire and Wheel Clearance\t","Frame Members\t":"Frame Members\t"},"selected_grids":[]},"editor_options":{"title":"Checkable Grid","icon_class":"icon-dot-circle-o","template":"checkableGrids"},"uniqElKey":"el_1570703603379"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_11","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Repair","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570703668171"},{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime_9","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Repair Date:","admin_field_label":"","label_placement":"","date_format":"d\/m\/Y","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1570703634146"},{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"Tires, Wheels and Rims","description":"","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1570703693284"},{"index":9,"element":"tabular_grid","attributes":{"name":"tabular_grid_7","data-type":"tabular-element"},"settings":{"tabular_field_type":"radio","container_class":"","label":"Check All That Apply:","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required","per_row":false}},"conditional_logics":[],"grid_columns":{"Passed Inspection":"Passed Inspection","Needs Repair":"Needs Repair","N\/A":"N\/A"},"grid_rows":{"Tire Tread\t":"Tire Tread\t","Lock or Side Ring\t":"Lock or Side Ring\t","Wheels and Rims Not Bent\t":"Wheels and Rims Not Bent\t","Fasteners\t":"Fasteners\t","Welds\t":"Welds\t"},"selected_grids":[]},"editor_options":{"title":"Checkable Grid","icon_class":"icon-dot-circle-o","template":"checkableGrids"},"uniqElKey":"el_1570703721139"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_12","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Repair","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570703754960"},{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime_10","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Repair Date:","admin_field_label":"","label_placement":"","date_format":"d\/m\/Y","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1570703760776"},{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"Windshield and Wipers","description":"","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1570703770500"},{"index":9,"element":"tabular_grid","attributes":{"name":"tabular_grid_8","data-type":"tabular-element"},"settings":{"tabular_field_type":"radio","container_class":"","label":"Check All That Apply:","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required","per_row":false}},"conditional_logics":[],"grid_columns":{"Passed Inspection":"Passed Inspection","Needs Repair":"Needs Repair","N\/A":"N\/A"},"grid_rows":{"Cracks or Holes That Impede Vision\t":"Cracks or Holes That Impede Vision\t","Wiper Missing Parts":"Wiper Missing Parts","Wipers Fully Functional":"Wipers Fully Functional"},"selected_grids":[]},"editor_options":{"title":"Checkable Grid","icon_class":"icon-dot-circle-o","template":"checkableGrids"},"uniqElKey":"el_1570703787421"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_13","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Repair","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570703816781"},{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime_11","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Repair Date:","admin_field_label":"","label_placement":"","date_format":"d\/m\/Y","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1570703821324"},{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"Other Misc:","description":"","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1570703838302"},{"index":3,"element":"textarea","attributes":{"name":"description_1","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Other Observations\/Issues to Address:","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1570703880998"},{"index":5,"element":"terms_and_condition","attributes":{"type":"checkbox","name":"terms-n-condition","value":false,"class":""},"settings":{"tnc_html":"I have read and agree to the <a href=\"#\">Terms and Conditions<\/a> and <a href=\"#\">Privacy Policy<\/a>","has_checkbox":true,"admin_field_label":"Terms and Conditions","container_class":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Terms & Conditions","icon_class":"icon-check-square-o","template":"termsCheckbox"},"uniqElKey":"el_1570703902999"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Form","img_url":""}},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Lets hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline"}},"notifications":{"name":"Admin Notification Email","sendTo":{"type":"email","email":"{wp.admin_email}","field":"email","routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"[{inputs.names}] New Form Submission","message":"<p>{all_data}<\/p>\n<p>This form submitted at: {embed_post.permalink}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
586 |
+
),
|
587 |
+
//form number : 106
|
588 |
+
'finance_department_analysis_form' => array(
|
589 |
+
'screenshot' => '',
|
590 |
+
'createable' => true,
|
591 |
+
'title' => 'Finance Department Analysis Form',
|
592 |
+
'is_pro' => false,
|
593 |
+
'brief' => 'For finance analysis, you can use this form.',
|
594 |
+
'category' => "Finance",
|
595 |
+
'tag' => ["Finance", "department", "HR"],
|
596 |
+
'json' => '[{"id":"106","title":"Finance Department Analysis Form","form":{"fields":[{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"Finance Department Analysis Registration Form","description":"<div class=\"form-header-group \">\n<div class=\"header-text httal htvam\">\n<div id=\"subHeader_10\" class=\"form-subHeader\">Please provide all required information to have one of our finance specialist contact you.<\/div>\n<\/div>\n<\/div>","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1570702201715"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Dealership Name ","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570702235117"},{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1570702266805"},{"index":6,"element":"input_number","attributes":{"type":"number","name":"numeric-field","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Best Contact Number","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"","message":"Minimum value is "},"max":{"value":"","message":"Maximum value is "}},"conditional_logics":[],"calculation_settings":{"status":false,"formula":""}},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1570702291869"},{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Email","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":true,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email Address","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1570702314334"},{"index":11,"element":"input_url","attributes":{"type":"url","name":"url","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Dealership Website","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"},"url":{"value":true,"message":"This field must contain a valid url"}},"conditional_logics":[]},"editor_options":{"title":"Website URL","icon_class":"icon-link","template":"inputText"},"uniqElKey":"el_1570702325118"},{"index":3,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Message","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1570702369443"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Form","img_url":""}},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Lets hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline"}},"notifications":{"name":"Admin Notification Email","sendTo":{"type":"email","email":"{wp.admin_email}","field":"email","routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"[{inputs.names}] New Form Submission","message":"<p>{all_data}<\/p>\n<p>This form submitted at: {embed_post.permalink}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
597 |
+
),
|
598 |
+
//form number : 104
|
599 |
+
'swimming_competition_enrollment_form' => array(
|
600 |
+
'screenshot' => '',
|
601 |
+
'createable' => true,
|
602 |
+
'title' => 'Swimming Competition Enrollment Form',
|
603 |
+
'is_pro' => true,
|
604 |
+
'brief' => 'For arranging a swimming competition, you can use this form.',
|
605 |
+
'category' => "Healthcare",
|
606 |
+
'tag' => ["Healthcare", "health", "Swimming", "fun activities"],
|
607 |
+
'json' => '[{"id":"104","title":"Swimming Competition Enrollment Form","form":{"fields":[{"index":3,"element":"custom_html","attributes":[],"settings":{"html_codes":"<h2 id=\"header_1\" class=\"form-header\" style=\"text-align: center;\" data-component=\"header\"><span style=\"color: #14a7ba;\">Swimming Competition enrollment<\/span><\/h2>\n<p style=\"text-align: center;\"><span style=\"color: #14a7ba;\">Please fill this form out to enter into the competition -<\/span><\/p>\n<p style=\"text-align: center;\">[Add an awesome image here]<\/p>","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Custom HTML","icon_class":"icon-code","template":"customHTML"},"uniqElKey":"el_1570701198346"},{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1570701611969"},{"index":1,"element":"container","attributes":[],"settings":[],"columns":[{"fields":[{"index":6,"element":"input_number","attributes":{"type":"number","name":"numeric-field","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Height","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"","message":"Minimum value is "},"max":{"value":"","message":"Maximum value is "}},"conditional_logics":[],"calculation_settings":{"status":false,"formula":""}},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1570702029623"}]},{"fields":[{"index":7,"element":"select","attributes":{"name":"dropdown","value":"","id":"","class":""},"settings":{"label":"Select age group ","admin_field_label":"","help_message":"","container_class":"","label_placement":"","placeholder":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"5-12 Years":"5-12 Years","13-21 Years":"13-21 Years","Above 21":"Above 21"},"editor_options":{"title":"Dropdown","icon_class":"icon-caret-square-o-down","element":"select","template":"select"},"uniqElKey":"el_1570702048722"}]}],"editor_options":{"title":"Two Column Container","icon_class":"icon-columns"},"uniqElKey":"el_1570702017696"},{"index":0,"element":"input_name","attributes":{"name":"names_1","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Parantes full Name","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Father Name","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Mother Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1570704618609"},{"index":1,"element":"container","attributes":[],"settings":[],"columns":[{"fields":[{"index":30,"element":"phone","attributes":{"name":"phone","class":"","value":"","type":"tel","placeholder":""},"settings":{"container_class":"","placeholder":"","int_tel_number":"no","label":"Phone","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"valid_phone_number":{"value":false,"message":"Phone number is not valid"}},"conditional_logics":[]},"editor_options":{"title":"Phone Field","icon_class":"el-icon-phone-outline","template":"inputText"},"uniqElKey":"el_1570701901999"}]},{"fields":[{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Email","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email Address","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1570701906671"}]}],"editor_options":{"title":"Two Column Container","icon_class":"icon-columns"},"uniqElKey":"el_1570701891855"},{"index":7,"element":"form_step","attributes":{"id":"","class":""},"settings":{"prev_btn":{"type":"default","text":"Previous","img_url":""},"next_btn":{"type":"default","text":"Next","img_url":""}},"editor_options":{"title":"Form Step","icon_class":"ff-edit-step","template":"formStep"},"uniqElKey":"el_1570861649059"},{"index":4,"element":"address","attributes":{"id":"","class":"","name":"address1","data-type":"address-element"},"settings":{"label":"Address","admin_field_label":"","conditional_logics":[]},"fields":{"address_line_1":{"element":"input_text","attributes":{"type":"text","name":"address_line_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Address Line 1","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"address_line_2":{"element":"input_text","attributes":{"type":"text","name":"address_line_2","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Address Line 2","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"city":{"element":"input_text","attributes":{"type":"text","name":"city","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"City","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"state":{"element":"input_text","attributes":{"type":"text","name":"state","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"State","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"zip":{"element":"input_text","attributes":{"type":"text","name":"zip","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Zip Code","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"country":{"element":"select_country","attributes":{"name":"country","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Country","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"country_list":{"active_list":"all","visible_list":[],"hidden_list":[]},"conditional_logics":[]},"options":{"BD":"Bangladesh","US":"US of America"},"editor_options":{"title":"Country List","element":"country-list","icon_class":"icon-text-width","template":"selectCountry"}}},"editor_options":{"title":"Address Fields","element":"address-fields","icon_class":"icon-credit-card","template":"addressFields"},"uniqElKey":"el_1570704788044"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"","container_class":"","help_message":"","background_color":"","button_size":"md","color":"","button_ui":{"type":"default","text":"Register","img_url":""},"normal_styles":{"backgroundColor":"rgba(29, 184, 190, 1)","color":"#F8EFEF"},"hover_styles":{},"current_state":"normal_styles"},"editor_options":{"title":"Submit Button"}},"stepsWrapper":{"stepStart":{"element":"step_start","attributes":{"id":"","class":""},"settings":{"progress_indicator":"","step_titles":[]},"editor_options":{"title":"Start Paging"}},"stepEnd":{"element":"step_end","attributes":{"id":"","class":""},"settings":{"prev_btn":{"type":"default","text":"Previous","img_url":""}},"editor_options":{"title":"End Paging"}}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline"}},"notifications":{"name":"Admin Notification Email","sendTo":{"type":"email","email":"{wp.admin_email}","field":"email","routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"[{inputs.names}] New Form Submission","message":"<p>{all_data}<\/p>\n<p>This form submitted at: {embed_post.permalink}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
608 |
+
),
|
609 |
+
//form number : 103
|
610 |
+
'confidential_morbidity_form' => array(
|
611 |
+
'screenshot' => '',
|
612 |
+
'createable' => true,
|
613 |
+
'title' => 'Confidential Morbidity Form',
|
614 |
+
'is_pro' => true,
|
615 |
+
'brief' => 'You can use this form to create a confidential morbidity form.',
|
616 |
+
'category' => "Government",
|
617 |
+
'tag' => ["Government", "request", "application"],
|
618 |
+
'json' => '[{"id":"103","title":"Confidential Morbidity Form","form":{"fields":[{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"Provider Information","description":"","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1570700891109"},{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Physician\'s Name (First Name)","help_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1570700919333"},{"index":1,"element":"container","attributes":[],"settings":[],"columns":[{"fields":[{"index":30,"element":"phone","attributes":{"name":"phone","class":"","value":"","type":"tel","placeholder":""},"settings":{"container_class":"","placeholder":"","int_tel_number":"no","label":"Physician\'s Phone Number","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"valid_phone_number":{"value":false,"message":"Phone number is not valid"}},"conditional_logics":[]},"editor_options":{"title":"Phone Field","icon_class":"el-icon-phone-outline","template":"inputText"},"uniqElKey":"el_1570700962710"}]},{"fields":[{"index":30,"element":"phone","attributes":{"name":"phone_1","class":"","value":"","type":"tel","placeholder":""},"settings":{"container_class":"","placeholder":"","int_tel_number":"no","label":"Facility Phone","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"valid_phone_number":{"value":false,"message":"Phone number is not valid"}},"conditional_logics":[]},"editor_options":{"title":"Phone Field","icon_class":"el-icon-phone-outline","template":"inputText"},"uniqElKey":"el_1570700969356"}]}],"editor_options":{"title":"Two Column Container","icon_class":"icon-columns"},"uniqElKey":"el_1570700960274"},{"index":4,"element":"address","attributes":{"id":"","class":"","name":"address1","data-type":"address-element"},"settings":{"label":"Facility Address","admin_field_label":"","conditional_logics":[]},"fields":{"address_line_1":{"element":"input_text","attributes":{"type":"text","name":"address_line_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Address Line 1","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"address_line_2":{"element":"input_text","attributes":{"type":"text","name":"address_line_2","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Address Line 2","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"city":{"element":"input_text","attributes":{"type":"text","name":"city","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"City","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"state":{"element":"input_text","attributes":{"type":"text","name":"state","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"State","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"zip":{"element":"input_text","attributes":{"type":"text","name":"zip","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Zip Code","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"country":{"element":"select_country","attributes":{"name":"country","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Country","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"country_list":{"active_list":"all","visible_list":[],"hidden_list":[]},"conditional_logics":[]},"options":{"BD":"Bangladesh","US":"US of America"},"editor_options":{"title":"Country List","element":"country-list","icon_class":"icon-text-width","template":"selectCountry"}}},"editor_options":{"title":"Address Fields","element":"address-fields","icon_class":"icon-credit-card","template":"addressFields"},"uniqElKey":"el_1570700990101"},{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"Patient Information","description":"","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1570701000610"},{"index":0,"element":"input_name","attributes":{"name":"names_1","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Patient Name","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Patient Name(First Name)","help_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1570701019944"},{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Date of Birth","admin_field_label":"","label_placement":"","date_format":"d\/m\/Y","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1570701057536"},{"index":4,"element":"address","attributes":{"id":"","class":"","name":"address2","data-type":"address-element"},"settings":{"label":"Patient Address","admin_field_label":"","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"fields":{"address_line_1":{"element":"input_text","attributes":{"type":"text","name":"address_line_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Address Line 1","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"address_line_2":{"element":"input_text","attributes":{"type":"text","name":"address_line_2","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Address Line 2","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"city":{"element":"input_text","attributes":{"type":"text","name":"city","value":"","id":"","class":"","placeholder":""},
|
619 |
+
"settings":{"container_class":"","label":"City","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"state":{"element":"input_text","attributes":{"type":"text","name":"state","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"State","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"zip":{"element":"input_text","attributes":{"type":"text","name":"zip","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Zip Code","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"country":{"element":"select_country","attributes":{"name":"country","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Country","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"country_list":{"active_list":"all","visible_list":[],"hidden_list":[]},"conditional_logics":[]},"options":{"BD":"Bangladesh","US":"US of America"},"editor_options":{"title":"Country List","element":"country-list","icon_class":"icon-text-width","template":"selectCountry"}}},"editor_options":{"title":"Address Fields","element":"address-fields","icon_class":"icon-credit-card","template":"addressFields"},"uniqElKey":"el_1570701078768"},{"index":1,"element":"container","attributes":[],"settings":[],"columns":[{"fields":[{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Patient Email","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email Address","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1570701100489"}]},{"fields":[{"index":30,"element":"phone","attributes":{"name":"phone_2","class":"","value":"","type":"tel","placeholder":""},"settings":{"container_class":"","placeholder":"","int_tel_number":"no","label":"Patient Phone","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"valid_phone_number":{"value":false,"message":"Phone number is not valid"}},"conditional_logics":[]},"editor_options":{"title":"Phone Field","icon_class":"el-icon-phone-outline","template":"inputText"},"uniqElKey":"el_1570701109151"}]}],"editor_options":{"title":"Two Column Container","icon_class":"icon-columns"},"uniqElKey":"el_1570701096584"},{"index":1,"element":"container","attributes":[],"settings":[],"columns":[{"fields":[{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio","value":""},"settings":{"container_class":"","label":"Race","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"White":"White","Black":"Black","Asian":"Asian","Native American":"Native American","Pacific Islander":"Pacific Islander","Other":"Other"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1570701147479"}]},{"fields":[{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio_1","value":""},"settings":{"container_class":"","label":"Ethnicity","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"Hispanic":"Hispanic","Non-Hispanic":"Non-Hispanic"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1570701210101"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Other (Race)","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":{"type":"any","status":true,"conditions":[{"field":"input_radio","value":"Other","operator":"="}]}},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570704399993"}]}],"editor_options":{"title":"Two Column Container","icon_class":"icon-columns"},"uniqElKey":"el_1570701138843"},{"index":1,"element":"container","attributes":[],"settings":[],"columns":[{"fields":[{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio_2","value":""},"settings":{"container_class":"","label":"Gender","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"Male":"Male","Female":"Female","Transgender, Male-Female":"Transgender, Male-Female","Transgender, Female-Male":"Transgender, Female-Male"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1570701289836"}]},{"fields":[{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_1","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Social Security Number","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570701320803"}]}],"editor_options":{"title":"Two Column Container","icon_class":"icon-columns"},"uniqElKey":"el_1570701274582"},{"index":3,"element":"custom_html","attributes":[],"settings":{"html_codes":"<p><span id=\"label72178383\" class=\"fsLabel\">Parent\/Guardian Name:<\/span><\/p>","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Custom HTML","icon_class":"icon-code","template":"customHTML"},"uniqElKey":"el_1570701987911"},{"index":1,"element":"container","attributes":[],"settings":[],"columns":[{"fields":[{"index":0,"element":"input_name","attributes":{"name":"names_2","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1570701434879"}]},{"fields":[{"index":30,"element":"phone","attributes":{"name":"phone_3","class":"","value":"","type":"tel","placeholder":""},"settings":{"container_class":"","placeholder":"","int_tel_number":"no","label":"Parent\/Guardian Phone","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"valid_phone_number":{"value":false,"message":"Phone number is not valid"}},"conditional_logics":[]},"editor_options":{"title":"Phone Field","icon_class":"el-icon-phone-outline","template":"inputText"},"uniqElKey":"el_1570701508786"}]}],"editor_options":{"title":"Two Column Container","icon_class":"icon-columns"},"uniqElKey":"el_1570701423376"},{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"Disease","description":"","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1570701667839"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_2","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Disease or Condition Name","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text",
|
620 |
+
"icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1570701686560"},{"index":1,"element":"container","attributes":[],"settings":[],"columns":[{"fields":[{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Admission Date","admin_field_label":"","label_placement":"","date_format":"d\/m\/Y","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1570701742849"}]},{"fields":[{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime_2","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Onset Date","admin_field_label":"","label_placement":"","date_format":"d\/m\/Y","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1570701731895"}]}],"editor_options":{"title":"Two Column Container","icon_class":"icon-columns"},"uniqElKey":"el_1570701708987"},{"index":1,"element":"container","attributes":[],"settings":[],"columns":[{"fields":[{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime_3","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Diagnosis Date","admin_field_label":"","label_placement":"","date_format":"d\/m\/Y","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1570701753303"}]},{"fields":[{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime_4","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Discharge Date","admin_field_label":"","label_placement":"","date_format":"d\/m\/Y","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1570701765837"}]}],"editor_options":{"title":"Two Column Container","icon_class":"icon-columns"},"uniqElKey":"el_1570701710356"},{"index":3,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Symptoms","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1570701783552"},{"index":1,"element":"container","attributes":[],"settings":[],"columns":[{"fields":[{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio_3","value":""},"settings":{"container_class":"","label":"Was laboratory testing ordered?","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"yes":"Yes","no":"No"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1570701837595"}]},{"fields":[{"index":14,"element":"input_file","attributes":{"type":"file","name":"file-upload","value":"","id":"","class":""},"settings":{"container_class":"","label":"If yes, attach the results:","admin_field_label":"","label_placement":"top","btn_text":"Choose File","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"max_file_size":{"value":1048576,"_valueFrom":"MB","message":"Maximum file size limit"},"max_file_count":{"value":1,"message":"Max file count"},"allowed_file_types":{"value":[],"message":"allowed_file_types"}},"conditional_logics":{"type":"any","status":true,"conditions":[{"field":"input_radio_3","value":"yes","operator":"="}]}},"editor_options":{"title":"File Upload","icon_class":"icon-upload","template":"inputFile"},"uniqElKey":"el_1570701843955"}]}],"editor_options":{"title":"Two Column Container","icon_class":"icon-columns"},"uniqElKey":"el_1570701834667"},{"index":1,"element":"container","attributes":[],"settings":[],"columns":[{"fields":[{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio_4","value":""},"settings":{"container_class":"","label":"What the patient treated?","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"yes":"Yes","no":"No"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1570701837595"}]},{"fields":[{"index":14,"element":"input_file","attributes":{"type":"file","name":"file-upload_1","value":"","id":"","class":""},"settings":{"container_class":"","label":"If yes, provide treatment details:","admin_field_label":"","label_placement":"top","btn_text":"Choose File","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"max_file_size":{"value":1048576,"_valueFrom":"MB","message":"Maximum file size limit"},"max_file_count":{"value":1,"message":"Max file count"},"allowed_file_types":{"value":[],"message":"allowed_file_types"}},"conditional_logics":{"type":"any","status":true,"conditions":[{"field":"input_radio_4","value":"yes","operator":"="}]}},"editor_options":{"title":"File Upload","icon_class":"icon-upload","template":"inputFile"},"uniqElKey":"el_1570701843955"}]}],"editor_options":{"title":"Two Column Container","icon_class":"icon-columns"},"uniqElKey":"el_1570701869808"},{"index":3,"element":"textarea","attributes":{"name":"description_1","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Description of other illnesses\/treatments","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1570701933662"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"center","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"sm","color":"#ffffff","button_ui":{"type":"default","text":"Submit Form","img_url":""},"normal_styles":{},"hover_styles":{},"current_state":"normal_styles"},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Lets hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline"}},"notifications":{"name":"Admin Notification Email","sendTo":{"type":"email","email":"{wp.admin_email}","field":"email","routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"[{inputs.names}] New Form Submission","message":"<p>{all_data}<\/p>\n<p>This form submitted at: {embed_post.permalink}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
621 |
+
),
|
622 |
+
//form number : 102
|
623 |
+
'complaint_form' => array(
|
624 |
+
'screenshot' => '',
|
625 |
+
'createable' => true,
|
626 |
+
'title' => 'Complaint form',
|
627 |
+
'is_pro' => false,
|
628 |
+
'brief' => 'You can use this form to create a complain from.',
|
629 |
+
'category' => "Government",
|
630 |
+
'tag' => ["Government", "complaint"],
|
631 |
+
'json' => '[{"id":"102","title":"Complaint form","form":{"fields":[{"index":3,"element":"custom_html","attributes":[],"settings":{"html_codes":"<h4 style=\"text-align: center;\">Please fill out the following form with your complaint. We will review your request and follow up with you as soon as possible.<\/h4>","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Custom HTML","icon_class":"icon-code","template":"customHTML"},"uniqElKey":"el_1570700478440"},{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1570700501773"},{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Email","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email Address","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1570700506162"},{"index":30,"element":"phone","attributes":{"name":"phone","class":"","value":"","type":"tel","placeholder":""},"settings":{"container_class":"","placeholder":"","int_tel_number":"no","label":"Phone","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"valid_phone_number":{"value":false,"message":"Phone number is not valid"}},"conditional_logics":[]},"editor_options":{"title":"Phone Field","icon_class":"el-icon-phone-outline","template":"inputText"},"uniqElKey":"el_1570700517273"},{"index":4,"element":"address","attributes":{"id":"","class":"","name":"address1","data-type":"address-element"},"settings":{"label":"Address","admin_field_label":"","conditional_logics":[]},"fields":{"address_line_1":{"element":"input_text","attributes":{"type":"text","name":"address_line_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Address Line 1","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"address_line_2":{"element":"input_text","attributes":{"type":"text","name":"address_line_2","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Address Line 2","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"city":{"element":"input_text","attributes":{"type":"text","name":"city","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"City","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"state":{"element":"input_text","attributes":{"type":"text","name":"state","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"State","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"zip":{"element":"input_text","attributes":{"type":"text","name":"zip","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Zip Code","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"country":{"element":"select_country","attributes":{"name":"country","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Country","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"country_list":{"active_list":"all","visible_list":[],"hidden_list":[]},"conditional_logics":[]},"options":{"BD":"Bangladesh","US":"US of America"},"editor_options":{"title":"Country List","element":"country-list","icon_class":"icon-text-width","template":"selectCountry"}}},"editor_options":{"title":"Address Fields","element":"address-fields","icon_class":"icon-credit-card","template":"addressFields"},"uniqElKey":"el_1570700525086"},{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Date of incident","admin_field_label":"","label_placement":"","date_format":"d\/m\/Y","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1570700544335"},{"index":3,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Please describe the incident you would like to report.","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1570700562387"},{"index":3,"element":"textarea","attributes":{"name":"description_1","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"How would you like to see this incident resolved?","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1570700576572"},{"index":5,"element":"terms_and_condition","attributes":{"type":"checkbox","name":"terms-n-condition","value":false,"class":""},"settings":{"tnc_html":"<p>All the data I submitted is truthfull, and I am responsible for that.<\/p>","has_checkbox":true,"admin_field_label":"Terms and Conditions","container_class":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Terms & Conditions","icon_class":"icon-check-square-o","template":"termsCheckbox"},"uniqElKey":"el_1570700591050"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Form","img_url":""}},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Lets hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline"}},"notifications":{"name":"Admin Notification Email","sendTo":{"type":"email","email":"{wp.admin_email}","field":"email","routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"[{inputs.names}] New Form Submission","message":"<p>{all_data}<\/p>\n<p>This form submitted at: {embed_post.permalink}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
632 |
+
),
|
633 |
+
//form number : 101
|
634 |
+
'charity_dinner_party_form' => array(
|
635 |
+
'screenshot' => '',
|
636 |
+
'createable' => true,
|
637 |
+
'title' => 'Charity Dinner Party Form',
|
638 |
+
'is_pro' => false,
|
639 |
+
'brief' => 'This form can be used to create a charity dinner party form.',
|
640 |
+
'category' => "Nonprofit",
|
641 |
+
'tag' => ["Nonprofit", "party", "charity"],
|
642 |
+
'json' => '[{"id":"101","title":"Charity Dinner Party Form","form":{"fields":[{"index":3,"element":"custom_html","attributes":[],"settings":{"html_codes":"<h2 id=\"header_1\" class=\"form-header\" style=\"text-align: center;\" data-component=\"header\"><span style=\"color: #115e99;\">Charity Dinner<\/span><\/h2>\n<div id=\"subHeader_1\" class=\"form-subHeader\" style=\"text-align: center;\"><span style=\"color: #115e99;\">Charity dinner for refugee children<\/span><\/div>","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Custom HTML","icon_class":"icon-code","template":"customHTML"},"uniqElKey":"el_1570700259437"},{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1570700341016"},{"index":1,"element":"container","attributes":[],"settings":[],"columns":[{"fields":[{"index":30,"element":"phone","attributes":{"name":"phone","class":"","value":"","type":"tel","placeholder":""},"settings":{"container_class":"","placeholder":"","int_tel_number":"no","label":"Phone","label_placement":"top","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"valid_phone_number":{"value":false,"message":"Phone number is not valid"}},"conditional_logics":[]},"editor_options":{"title":"Phone Field","icon_class":"el-icon-phone-outline","template":"inputText"},"uniqElKey":"el_1570700400841"}]},{"fields":[{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Email","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email Address","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1570700405105"}]}],"editor_options":{"title":"Two Column Container","icon_class":"icon-columns"},"uniqElKey":"el_1570700396089"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio","value":""},"settings":{"container_class":"","label":"Will you attend ?","admin_field_label":"","label_placement":"left","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"yes":"Yes","no":"No"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1570700436321"},{"index":6,"element":"input_number","attributes":{"type":"number","name":"numeric-field","value":"","id":"","class":"","placeholder":"1-3"},"settings":{"container_class":"","label":"Number of Guests","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"1","message":"Minimum value is "},"max":{"value":"3","message":"Maximum value is "}},"conditional_logics":[],"calculation_settings":{"status":false,"formula":""}},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1570700528257"},{"index":3,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Special Request","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1570700556473"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"","container_class":"","help_message":"","background_color":"","button_size":"md","color":"","button_ui":{"type":"default","text":"Submit Form","img_url":""},"normal_styles":{"backgroundColor":"rgba(52, 118, 173, 1)","color":"#F7F0F0"},"hover_styles":{},"current_state":"normal_styles"},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Lets hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline"}},"notifications":{"name":"Admin Notification Email","sendTo":{"type":"email","email":"{wp.admin_email}","field":"email","routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"[{inputs.names}] New Form Submission","message":"<p>{all_data}<\/p>\n<p>This form submitted at: {embed_post.permalink}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
643 |
+
),
|
644 |
+
'event_registration_form' => array(
|
645 |
+
'screenshot' => '',
|
646 |
'createable' => true,
|
647 |
'title' => 'Event Registration Form',
|
648 |
'brief' => 'Using this registration form you can enable your event to achieve it\'s goal.',
|
649 |
+
'category' => "Social",
|
650 |
+
'tag' => ["Social", "party", "event", "registration"],
|
651 |
'json' => '[{"id":"1","title":"Event Registration Form","form":{"fields":[{"index":2,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"First Name field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1516797727681"},{"index":7,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":"you@domain.com"},"settings":{"container_class":"","label":"Email","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"Email field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1516797731343"},{"index":14,"element":"input_number","attributes":{"type":"number","name":"phone","value":"","id":"","class":"","placeholder":"Your phone number"},"settings":{"container_class":"","label":"Phone","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"Phone field is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"","message":"Minimum value is "},"max":{"value":"","message":"Maximum value is "}},"conditional_logics":[]},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1516798280530"},{"index":1,"element":"input_text","attributes":{"type":"text","name":"company","value":"","class":"","placeholder":"Type your company name"},"settings":{"container_class":"","label":"Company","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"Company field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Input","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1516797770161"},{"index":8,"element":"input_url","attributes":{"type":"url","name":"url","value":"","id":"","class":"","placeholder":"http:\/\/www.google.com"},"settings":{"container_class":"","label":"Website","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"Website field is required"},"url":{"value":true,"message":"This field must contain a valid url"}},"conditional_logics":[]},"editor_options":{"title":"URL","icon_class":"icon-link","template":"inputText"},"uniqElKey":"el_1516798321477"},{"index":2,"element":"textarea","attributes":{"name":"message","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Message (if any)","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Textarea","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1516797774136"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Form","img_url":""}},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline"},"id":"29"},"notifications":{"name":"Event Registration Form Notification","sendTo":{"type":"email","email":"{wp.admin_email}","field":null,"routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"Event Registration Form submitted","message":"<p>{all_data}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
652 |
),
|
653 |
+
'vendor_contact_form' => array(
|
654 |
+
'screenshot' => '',
|
655 |
'createable' => true,
|
656 |
'title' => 'Vendor Contact Form',
|
657 |
+
'brief' => 'Easily create a vendor contact form and get logged in user details easily.',
|
658 |
+
'category' => "Finance",
|
659 |
+
'tag' => ["Contact", "form", "get in touch", "registration"],
|
660 |
'json' => '[{"id":"2","title":"Vendor Contact Form","form":{"fields":[{"index":0,"element":"input_hidden","attributes":{"type":"hidden","name":"hidden","value":"{user.first_name} {user.last_name}"},"settings":{"admin_field_label":"Seller Name"},"editor_options":{"title":"Hidden Field","icon_class":"icon-eye-slash","template":"inputHidden"},"uniqElKey":"el_1559107765827"},{"index":0,"element":"input_hidden","attributes":{"type":"hidden","name":"hidden_1","value":"{user.user_email}"},"settings":{"admin_field_label":"Seller mail"},"editor_options":{"title":"Hidden Field","icon_class":"icon-eye-slash","template":"inputHidden"},"uniqElKey":"el_1559106971216"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Subject","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1559107049204"},{"index":3,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Message","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1559107086831"}],"submitButton":{"uniqElKey":"el_1559106893440","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Form","img_url":""}},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline","cssClassName":""}},"notifications":{"name":"Vendor Contact Form Notification","sendTo":{"type":"email","email":"{wp.admin_email}","field":null,"routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"{inputs.input_text}","message":"<p>{all_data}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
661 |
),
|
662 |
+
'patient_intake_form' => array(
|
663 |
+
'screenshot' => '',
|
664 |
'createable' => true,
|
665 |
'title' => 'Patient Intake Form',
|
666 |
'brief' => 'Using this form you can get the patient information with the medical history.',
|
667 |
+
'category' => "Healthcare",
|
668 |
+
'tag' => ["healthcare", "patient", "hospital", "clinic"],
|
669 |
'json' => '[{"id":"6","title":"Patient Intake Form","form":{"fields":[{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Patient Name","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1559109481426"},{"index":6,"element":"input_number","attributes":{"type":"number","name":"numeric-field","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Patient Age","admin_field_label":"Patient Age","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"","message":"Minimum value is "},"max":{"value":"","message":"Maximum value is "}},"conditional_logics":[]},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1559109564397"},{"index":0,"element":"input_name","attributes":{"name":"names_1","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Prefered Name \/ Nickname","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Prefered Name \/ Nickname","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1559109792382"},{"index":7,"element":"select","attributes":{"name":"dropdown","value":"","id":"","class":""},"settings":{"label":"Patient Gender","admin_field_label":"","help_message":"","container_class":"","label_placement":"","placeholder":"- Select -","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Male":"Male","Female":"Female","Others":"Others"},"editor_options":{"title":"Dropdown","icon_class":"icon-caret-square-o-down","element":"select","template":"select"},"uniqElKey":"el_1559109642614"},{"index":6,"element":"input_number","attributes":{"type":"number","name":"numeric-field_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Phone no.","admin_field_label":"Phone no.","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"","message":"Minimum value is "},"max":{"value":"","message":"Maximum value is "}},"conditional_logics":[]},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1559274675098"},{"index":0,"element":"input_name","attributes":{"name":"names_2","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Spouce Name","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Spouce Name","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1559109681450"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"With whome do you live?","label_placement":"","admin_field_label":"With whome do you live?","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1559274086054"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio","value":""},"settings":{"container_class":"","label":"Marital Status","admin_field_label":"Marital Status","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Married":"Married","Unmarried":"Unmarried","other":"other"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1559274134558"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_1","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Marital status(other)","label_placement":"","admin_field_label":"Marital status(other)","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":{"type":"any","status":true,"conditions":[{"field":"input_radio","value":"other","operator":"="}]}},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1559274183772"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_2","value":"","class":"","placeholder":"If retired or disabled enter your last occupation"},"settings":{"container_class":"","label":"Occupation","label_placement":"","admin_field_label":"Occupation","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1559274252192"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio_1","value":""},"settings":{"container_class":"","label":"Retired? ","admin_field_label":"Retired? ","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"yes":"Yes","no":"No"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1559274467432"},{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Date of retirement","admin_field_label":"Date of retirement","label_placement":"","date_format":"m\/d\/y","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":{"type":"any","status":true,"conditions":[{"field":"input_radio_1","value":"yes","operator":"="}]}},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1559274499317"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio_2","value":""},"settings":{"container_class":"","label":"Disability ?","admin_field_label":"Disability ?","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"yes":"Yes","no":"No"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1559274553377"},{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Date of disability","admin_field_label":"Date of disability","label_placement":"","date_format":"m\/d\/y","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":{"type":"any","status":true,"conditions":[{"field":"input_radio_2","value":"yes","operator":"="}]}},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1559274530031"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_3","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Who is your primary care doctor: ","label_placement":"","admin_field_label":"Who is your primary care doctor: ","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1559274621989"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_4","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Where is your primary care doctor located ? ","label_placement":"","admin_field_label":"Where is your primary care doctor located ? ","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1559274635900"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_5","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Phone Number of primary care doctor:","label_placement":"","admin_field_label":"Phone Number of primary care doctor:","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1559274697189"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio_3","value":""},"settings":{"container_class":"","label":"allergic to any medications","admin_field_label":"allergic to any medications","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"yes":"Yes","no":"No"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1559274799405"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_6","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"allergic to any medications","label_placement":"","admin_field_label":"allergic to any medications","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":{"type":"any","status":true,"conditions":[{"field":"input_radio_3","value":"yes","operator":"="}]}},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1559274743792"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio_4","value":""},"settings":{"container_class":"","label":"Do you smoke? ","admin_field_label":"Do you smoke? ","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"yes":"Yes","no":"No"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1559274844179"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_7","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"How many years did you smoke?","label_placement":"","admin_field_label":"How many years did you smoke?","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":{"type":"any","status":true,"conditions":[{"field":"input_radio_4","value":"yes","operator":"="}]}},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1559274869218"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_8","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"If you quit, when did you stop?","label_placement":"","admin_field_label":"If you quit, when did you stop?","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1559274922518"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_9","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Do you drink alcohol? ","label_placement":"","admin_field_label":"Do you drink alcohol? ","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1559274938140"},{"index":3,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Personal opinion","admin_field_label":"Personal opinion","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1559275053975"}],"submitButton":{"uniqElKey":"el_1559109464078","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Form","img_url":""}},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline","cssClassName":""}},"notifications":{"name":"Patient Intake Form Notification","sendTo":{"type":"email","email":"{wp.admin_email}","field":null,"routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"Patient Intake Form Notification","message":"<p>{all_data}<\/p>\n<p> <\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
670 |
),
|
671 |
+
'volunteer_application_form' => array(
|
672 |
+
'screenshot' => '',
|
673 |
'createable' => true,
|
674 |
'title' => 'Volunteer Application Form',
|
675 |
'brief' => 'Get volunteer applicants data according to their particular interests with working days.',
|
676 |
+
'category' => "Nonprofit",
|
677 |
+
'tag' => ["volunteer", "nonprofit", "application", "registration"],
|
678 |
'json' => '[{"id":"7","title":"Volunteer Application","form":{"fields":[{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1559110051637"},{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Email","label_placement":"","help_message":"","admin_field_label":"Email","validation_rules":{"required":{"value":false,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email Address","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1559110054313"},{"index":6,"element":"input_number","attributes":{"type":"number","name":"numeric-field","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Contact No","admin_field_label":"Contact No","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"","message":"Minimum value is "},"max":{"value":"","message":"Maximum value is "}},"conditional_logics":[]},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1559110059986"},{"index":4,"element":"address","attributes":{"id":"","class":"","name":"address1","data-type":"address-element"},"settings":{"label":"Address","admin_field_label":"","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"fields":{"address_line_1":{"element":"input_text","attributes":{"type":"text","name":"address_line_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Address Line 1","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"address_line_2":{"element":"input_text","attributes":{"type":"text","name":"address_line_2","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Address Line 2","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"city":{"element":"input_text","attributes":{"type":"text","name":"city","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"City","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"state":{"element":"input_text","attributes":{"type":"text","name":"state","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"State","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"zip":{"element":"input_text","attributes":{"type":"text","name":"zip","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Zip Code","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"country":{"element":"select_country","attributes":{"name":"country","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Country","admin_field_label":"","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"country_list":{"active_list":"all","visible_list":[],"hidden_list":[]},"conditional_logics":[]},"options":{"BD":"Bangladesh","US":"US of America"},"editor_options":{"title":"Country List","element":"country-list","icon_class":"icon-text-width","template":"selectCountry"}}},"editor_options":{"title":"Address Fields","element":"address-fields","icon_class":"icon-credit-card","template":"addressFields"},"uniqElKey":"el_1559110065995"},{"index":9,"element":"input_checkbox","attributes":{"type":"checkbox","name":"checkbox","value":[]},"settings":{"container_class":"","label":"Working Days","admin_field_label":"Working Days","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{" Sunday":" Sunday","Satarday":"Satarday","Monday":"Monday","Tuesday":"Tuesday","Wednesday":"Wednesday","Thursday":"Thursday","Friday":"Friday"},"editor_options":{"title":"Check Box","icon_class":"icon-check-square-o","template":"inputCheckbox"},"uniqElKey":"el_1559186288251"},{"index":3,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Area of Interest\/ skills","admin_field_label":"Area of Interest\/ skills","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1559186858825"},{"index":3,"element":"textarea","attributes":{"name":"description_1","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Comments (optional)","admin_field_label":"Comments (optional)","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1559186958391"}],"submitButton":{"uniqElKey":"el_1559110013898","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Application","img_url":""}},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline","cssClassName":""}},"notifications":{"name":"Volunteer Application Notification","sendTo":{"type":"email","email":"{wp.admin_email}","field":null,"routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"Volunteer Application by {inputs.names}","message":"<p>{all_data}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
679 |
),
|
680 |
+
'request_for_quote' => array(
|
681 |
+
'screenshot' => '',
|
682 |
'createable' => true,
|
683 |
'title' => 'Request for Quote',
|
684 |
'brief' => 'Get user request for quote using this simple form.',
|
685 |
+
'category' => "IT",
|
686 |
+
'tag' => ["quote", "request", "freelancer", "product"],
|
687 |
'json' => '[{"id":"9","title":"Request for Quote","form":{"fields":[{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1559111679342"},{"index":6,"element":"input_number","attributes":{"type":"number","name":"numeric-field","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Phone no.","admin_field_label":"Phone no.","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"","message":"Minimum value is "},"max":{"value":"","message":"Maximum value is "}},"conditional_logics":[]},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1559111693607"},{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Email","label_placement":"","help_message":"","admin_field_label":"Email","validation_rules":{"required":{"value":true,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email Address","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1559111716176"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio","value":""},"settings":{"container_class":"","label":"Prefered Method of Contact","admin_field_label":"Prefered Method of Contact","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":{"type":"any","status":true,"conditions":[{"field":"","value":"","operator":""}]}},"options":{"Phone":"Phone","Email":"Email","other":"other"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1559111739945"},{"index":4,"element":"address","attributes":{"id":"","class":"","name":"address1","data-type":"address-element"},"settings":{"label":"Address","admin_field_label":"","conditional_logics":{"type":"any","status":true,"conditions":[{"field":"input_radio","value":"other","operator":"="}]}},"fields":{"address_line_1":{"element":"input_text","attributes":{"type":"text","name":"address_line_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Address Line 1","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"address_line_2":{"element":"input_text","attributes":{"type":"text","name":"address_line_2","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Address Line 2","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"city":{"element":"input_text","attributes":{"type":"text","name":"city","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"City","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"state":{"element":"input_text","attributes":{"type":"text","name":"state","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"State","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"zip":{"element":"input_text","attributes":{"type":"text","name":"zip","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Zip Code","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"country":{"element":"select_country","attributes":{"name":"country","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Country","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"country_list":{"active_list":"all","visible_list":[],"hidden_list":[]},"conditional_logics":[]},"options":{"BD":"Bangladesh","US":"US of America"},"editor_options":{"title":"Country List","element":"country-list","icon_class":"icon-text-width","template":"selectCountry"}}},"editor_options":{"title":"Address Fields","element":"address-fields","icon_class":"icon-credit-card","template":"addressFields"},"uniqElKey":"el_1559111849017"},{"index":3,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Comments","admin_field_label":"Comments","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1559187328513"}],"submitButton":{"uniqElKey":"el_1559111649130","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Form","img_url":""}},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline","cssClassName":""}},"notifications":{"name":"Request for Quote Notification","sendTo":{"type":"email","email":"{wp.admin_email}","field":null,"routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"Request for Quote","message":"<p>{all_data}<\/p>\n<p>Form Submitted successfully.<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
688 |
),
|
689 |
+
'conference_proposal' => array(
|
690 |
+
'screenshot' => '',
|
691 |
'createable' => true,
|
692 |
'title' => 'Conference Proposal',
|
693 |
'brief' => 'This sample form is to make a conference proposal efficient and effective.',
|
694 |
+
'category' => "Education",
|
695 |
+
'tag' => ["Conference", "registration", "education", "proposal"],
|
696 |
'json' => '[{"id":"10","title":"Conference Proposal","form":{"fields":[{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1559112198786"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Job Title","label_placement":"","admin_field_label":"Job Title","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1559112216398"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_1","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Company Name","label_placement":"","admin_field_label":"Company Name","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1559112231309"},{"index":3,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Biography","admin_field_label":"Biography","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1559112255236"},{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Email","label_placement":"","help_message":"","admin_field_label":"Email","validation_rules":{"required":{"value":true,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email Address","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1559112265631"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_2","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Proposal Title","label_placement":"","admin_field_label":"Proposal Title","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1559112290259"},{"index":3,"element":"textarea","attributes":{"name":"description_1","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Short Description","admin_field_label":"Short Description","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1559112314875"},{"index":3,"element":"textarea","attributes":{"name":"description_2","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Abstract","admin_field_label":"Abstract","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1559112331026"},{"index":9,"element":"input_checkbox","attributes":{"type":"checkbox","name":"checkbox","value":[]},"settings":{"container_class":"","label":"Topics","admin_field_label":"Topics","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"Topics 1":"Topics 1","Topics 2":"Topics 2","Topics 3":"Topics 3"},"editor_options":{"title":"Check Box","icon_class":"icon-check-square-o","template":"inputCheckbox"},"uniqElKey":"el_1559112363613"},{"index":7,"element":"select","attributes":{"name":"dropdown","value":"","id":"","class":""},"settings":{"label":"Session Type","admin_field_label":"","help_message":"","container_class":"","label_placement":"","placeholder":"- Select -","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Panel":"Panel","Work shop":"Work shop","Presentation":"Presentation","Other":"Other"},"editor_options":{"title":"Dropdown","icon_class":"icon-caret-square-o-down","element":"select","template":"select"},"uniqElKey":"el_1559112402526"},{"index":7,"element":"select","attributes":{"name":"dropdown_1","value":"","id":"","class":""},"settings":{"label":"Audience Level","admin_field_label":"Audience Level","help_message":"","container_class":"","label_placement":"","placeholder":"- Select -","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Novice":"Novice","Intermediate":"Intermediate","Expert":"Expert"},"editor_options":{"title":"Dropdown","icon_class":"icon-caret-square-o-down","element":"select","template":"select"},"uniqElKey":"el_1559112480834"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_3","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Video URL","label_placement":"","admin_field_label":"Video URL","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1559112543915"},{"index":3,"element":"textarea","attributes":{"name":"description_3","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Additional Information","admin_field_label":"Additional Information","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1559112578458"}],"submitButton":{"uniqElKey":"el_1559112181623","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"center","button_style":"green","container_class":"","help_message":"","background_color":"#67C23A","button_size":"lg","color":"#ffffff","button_ui":{"type":"default","text":"Submit Form Data","img_url":""}},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline","cssClassName":""}},"notifications":{"name":"Conference Proposal Notification","sendTo":{"type":"email","email":"{wp.admin_email}","field":null,"routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"Conference Proposal","message":"<p>Your data submitted Successfully<\/p>\n<p>{all_data}<\/p>\n<p> <\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
697 |
),
|
698 |
+
'report_a_bug' => array(
|
699 |
+
'screenshot' => '',
|
700 |
'createable' => true,
|
701 |
'title' => 'Report a bug',
|
702 |
+
'brief' => 'You can get user feedback, bug report, and the issue details from user.',
|
703 |
+
'category' => "IT",
|
704 |
+
'tag' => ["IT", "bug", "report", "report a bug"],
|
705 |
+
'json' => '[{"id":"11","title":"Report a bug","form":{"fields":[{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Full Name","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Full Name","help_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1559112858212"},{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Enter Your Email Address ","label_placement":"","help_message":"","admin_field_label":"Email Address","validation_rules":{"required":{"value":true,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email Address","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1559112923651"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Title of the Issue","label_placement":"","admin_field_label":"Title of the Issue","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1559112936885"},{"index":7,"element":"select","attributes":{"name":"dropdown","value":"","id":"","class":""},"settings":{"label":"Problem Status","admin_field_label":"Problem Status","help_message":"","container_class":"","label_placement":"","placeholder":"- Select -","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Open":"Open","Hold":"Hold","Fixed":"Fixed","Closed":"Closed","Invalid":"Invalid","Other":"Other"},"editor_options":{"title":"Dropdown","icon_class":"icon-caret-square-o-down","element":"select","template":"select"},"uniqElKey":"el_1559112981010"},{"index":3,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Summary of the Information","admin_field_label":"Summary Information","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1559113034559"},{"index":3,"element":"textarea","attributes":{"name":"description_1","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Steps to Reproduce","admin_field_label":"Steps to Reproduce","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1559113051369"},{"index":3,"element":"textarea","attributes":{"name":"description_2","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Results","admin_field_label":"Results","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1559113074493"},{"index":3,"element":"textarea","attributes":{"name":"description_3","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Regression","admin_field_label":"Regression","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1559113093300"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio","value":""},"settings":{"container_class":"","label":"Is there a Workaround?","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"yes":"Yes","no":"No"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1559113134071"},{"index":3,"element":"textarea","attributes":{"name":"description_4","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Documentation & Notes","admin_field_label":"Documentation & Notes","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1559113248045"},{"index":1,"element":"container","attributes":[],"settings":[],"columns":[{"fields":[{"index":3,"element":"custom_html","attributes":[],"settings":{"html_codes":"<p style=\"text-align: right\">Upload Your documents (if need)<\/p>","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Custom HTML","icon_class":"icon-code","template":"customHTML"},"uniqElKey":"el_1559187803664"}]},{"fields":[{"index":14,"element":"input_file","attributes":{"type":"file","name":"file-upload","value":"","id":"","class":""},"settings":{"container_class":"","label":"","admin_field_label":"Optional documents","label_placement":"right","btn_text":"Choose File","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"max_file_size":{"value":2097152,"_valueFrom":"MB","message":"Maximum file size limit"},"max_file_count":{"value":1,"message":"Max file count"},"allowed_file_types":{"value":["jpg|jpeg|gif|png|bmp","mp3|wav|ogg|wma|mka|m4a|ra|mid|midi|mpga","avi|divx|flv|mov|ogv|mkv|mp4|m4v|divx|mpg|mpeg|mpe|video\/quicktime|qt","pdf","doc|ppt|pps|xls|mdb|docx|xlsx|pptx|odt|odp|ods|odg|odc|odb|odf|rtf|txt","zip|gz|gzip|rar|7z","exe","csv"],"message":"allowed_file_types"}},"conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"File Upload","icon_class":"icon-upload","template":"inputFile"},"uniqElKey":"el_1559187757610"}]}],"editor_options":{"title":"Two Column Container","icon_class":"icon-columns"},"uniqElKey":"el_1559187753426"},{"index":7,"element":"select","attributes":{"name":"dropdown_1","value":"","id":"","class":""},"settings":{"label":"Reproducibility","admin_field_label":"Reproducibility","help_message":"","container_class":"","label_placement":"","placeholder":"- Select -","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"I didn\'t try":"I didn\'t try","Rarely":"Rarely","Sometimes":"Sometimes","Always":"Always"},"editor_options":{"title":"Dropdown","icon_class":"icon-caret-square-o-down","element":"select","template":"select"},"uniqElKey":"el_1559113160537"},{"index":7,"element":"select","attributes":{"name":"dropdown_3","value":"","id":"","class":""},"settings":{"label":"Classification of Bug","admin_field_label":"Classification of Bug","help_message":"","container_class":"","label_placement":"","placeholder":"- Select -","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Security":"Security","Crash \/Hang \/Data loss":"Crash \/Hang \/Data loss","Performance \/Ui-Usability":"Performance \/Ui-Usability","Serious Bug":"Serious Bug","Other Bug":"Other Bug","Feature (New)":"Feature (New)","Enhancement":"Enhancement"},"editor_options":{"title":"Dropdown","icon_class":"icon-caret-square-o-down","element":"select","template":"select"},"uniqElKey":"el_1559113361150"},{"index":7,"element":"select","attributes":{"name":"dropdown_2","value":"","id":"","class":""},"settings":{"label":"How severe it is?","admin_field_label":"How severe it is?","help_message":"","container_class":"","label_placement":"","placeholder":"- Select -","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Trivial":"Trivial","Normal":"Normal","Major":"Major","Critical":"Critical"},"editor_options":{"title":"Dropdown","icon_class":"icon-caret-square-o-down","element":"select","template":"select"},"uniqElKey":"el_1559113271926"}],"submitButton":{"uniqElKey":"el_1559112849800","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"orange","container_class":"","help_message":"","background_color":"#E6A23C","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Bug Report","img_url":""}},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline","cssClassName":""}},"notifications":{"name":"Bug Report Notification","sendTo":{"type":"email","email":"{wp.admin_email}","field":null,"routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"New Bug Reported","message":"<p>{all_data}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
|
|
|
|
|
|
|
|
|
|
706 |
),
|
707 |
+
'tell_a_friend_form' => array(
|
708 |
+
'screenshot' => '',
|
709 |
'createable' => true,
|
710 |
'title' => 'Tell A Friend Form',
|
711 |
'brief' => 'Get text from you site users.',
|
712 |
+
'category' => "Social",
|
713 |
+
'tag' => ["social", "friend", "party", "contact"],
|
714 |
'json' => '[{"id":"15","title":"Tell A Friend Form","form":{"fields":[{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1559117552587"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"To","label_placement":"","admin_field_label":"To","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1559117572857"},{"index":3,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Message","admin_field_label":"Message","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1559117587626"}],"submitButton":{"uniqElKey":"el_1559117545661","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"center","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Send Message","img_url":""}},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline","cssClassName":""}},"notifications":{"name":"Tell A Friend Form Notification","sendTo":{"type":"email","email":"{wp.admin_email}","field":null,"routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"Text submitted","message":"<p>{all_data}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
715 |
),
|
716 |
+
'directory_information_form' => array(
|
717 |
+
'screenshot' => '',
|
718 |
'createable' => true,
|
719 |
'title' => 'Directory Information Form',
|
720 |
+
'brief' => 'This form allows you to get the directory information.',
|
721 |
+
'category' => "Government",
|
722 |
+
'tag' => ["government", "directory", "form", "information"],
|
723 |
'json' => '[{"id":"16","title":"My Directory Information","form":{"fields":[{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1559117767222"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Username","label_placement":"","admin_field_label":"Username","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1559117793585"},{"index":11,"element":"input_url","attributes":{"type":"url","name":"url","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Site Address","admin_field_label":"Address","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"},"url":{"value":true,"message":"This field must contain a valid url"}},"conditional_logics":[]},"editor_options":{"title":"Website URL","icon_class":"icon-link","template":"inputText"},"uniqElKey":"el_1559117830376"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio","value":"no"},"settings":{"container_class":"","label":"Do you want to share your password?","admin_field_label":"Agree to share password","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"options":{"yes":"Yes","no":"No"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1559188732753"},{"index":12,"element":"input_password","attributes":{"type":"password","name":"password","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Enter your password","admin_field_label":"password","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":{"type":"any","status":true,"conditions":[{"field":"input_radio","value":"yes","operator":"="}]}},"editor_options":{"title":"Password Field","icon_class":"icon-lock","template":"inputText"},"uniqElKey":"el_1559188774833"}],"submitButton":{"uniqElKey":"el_1559117761747","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Informations","img_url":""}},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline","cssClassName":""}},"notifications":{"name":"Directory Information Notification","sendTo":{"type":"email","email":"{wp.admin_email}","field":null,"routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"Directory Information submited","message":"<p>{all_data}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
724 |
),
|
725 |
+
'request_for_leave' => array(
|
726 |
+
'screenshot' => '',
|
727 |
'createable' => true,
|
728 |
'title' => 'Request for Leave',
|
729 |
+
'category' => "HR",
|
730 |
+
'tag' => ["office", "leave", "absence", "take a nap"],
|
731 |
'brief' => 'Receive leave requests from your employee instantly.',
|
732 |
'json' => '[{"id":"18","title":"Request for Leave","form":{"fields":[{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1559119229242"},{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Email address(optional)","label_placement":"","help_message":"","admin_field_label":"Email address","validation_rules":{"required":{"value":false,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email Address","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1559189778769"},{"index":6,"element":"input_number","attributes":{"type":"number","name":"numeric-field","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Contact no.","admin_field_label":"Contact no.","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"","message":"Minimum value is "},"max":{"value":"","message":"Maximum value is "}},"conditional_logics":[]},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1559275288135"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Position","label_placement":"","admin_field_label":"Position","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1559119248104"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_1","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Manager","label_placement":"","admin_field_label":"Manager","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1559119277903"},{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Leave Start ","admin_field_label":"Leave Start ","label_placement":"","date_format":"d\/m\/Y","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1559119287246"},{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Leave End","admin_field_label":"Leave End","label_placement":"","date_format":"d\/m\/Y","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1559119907871"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio","value":""},"settings":{"container_class":"","label":"Leave Type ","admin_field_label":"Leave Type ","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Vacation":"Vacation","Sick":"Sick","Quitting":"Quitting","Maternity\/Paternity":"Maternity\/Paternity","Other":"Other"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1559119926213"},{"index":3,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Comments","admin_field_label":"Comments","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1559119977368"}],"submitButton":{"uniqElKey":"el_1559119222045","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Apply For Leave","img_url":""}},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline","cssClassName":""}},"notifications":{"name":"Request for Leave Notification","sendTo":{"type":"email","email":"{wp.admin_email}","field":null,"routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"New Request for Leave","message":"<p>{all_data}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
733 |
),
|
734 |
+
'admission_form' => array(
|
735 |
+
'screenshot' => '',
|
736 |
'createable' => true,
|
737 |
'is_pro' => true,
|
738 |
+
'title' => 'Admissions Form',
|
739 |
'brief' => 'Receive new admission students data along with their documents using this sample admission form.',
|
740 |
+
'category' => "Education",
|
741 |
+
'tag' => ["admission", "education", "student", "organisation"],
|
742 |
+
'json' => '[{"id":"5","title":"Admissions Form","form":{"fields":[{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1559108914252"},{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Email","label_placement":"","help_message":"","admin_field_label":"Email","validation_rules":{"required":{"value":false,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email Address","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1559116838095"},{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Birth Date","admin_field_label":"","label_placement":"","date_format":"n\/j\/y","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1559108940886"},{"index":9,"element":"input_checkbox","attributes":{"type":"checkbox","name":"checkbox","value":[]},"settings":{"container_class":"","label":"Gender","admin_field_label":"","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"options":{"Male":"Male","Female":"Female","Others":"Others"},"editor_options":{"title":"Check Box","icon_class":"icon-check-square-o","template":"inputCheckbox"},"uniqElKey":"el_1559109018303"},{"index":7,"element":"select","attributes":{"name":"dropdown","value":"","id":"","class":""},"settings":{"label":"Select section","admin_field_label":"","help_message":"","container_class":"","label_placement":"","placeholder":"- Select -","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Section - A":"Section - A","Section - B":"Section - B","Section - C":"Section - C"},"editor_options":{"title":"Dropdown","icon_class":"icon-caret-square-o-down","element":"select","template":"select"},"uniqElKey":"el_1559109122333"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio","value":""},"settings":{"container_class":"","label":"Apply for Class","admin_field_label":"Apply for Class","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"O level":"O level","A level":"A level"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1559116799977"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Guardian Name","label_placement":"","admin_field_label":"Guardian Name","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1559116859101"},{"index":6,"element":"input_number","attributes":{"type":"number","name":"numeric-field","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Guardian Contact no.","admin_field_label":"Guardian Contact no.","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"","message":"Minimum value is "},"max":{"value":"","message":"Maximum value is "}},"conditional_logics":[]},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1559116996267"},{"index":15,"element":"input_image","attributes":{"type":"file","name":"image-upload","value":"","id":"","class":"","accept":"image\/*"},"settings":{"container_class":"","label":"Upload Your photo","admin_field_label":"","label_placement":"left","btn_text":"Choose File","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"},"max_file_size":{"value":1048576,"_valueFrom":"MB","message":"Maximum file size limit"},"max_file_count":{"value":1,"message":"Max file count"},"allowed_image_types":{"value":["jpg|jpeg","png"],"message":"Allowed image size does not match"}},"conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Image Upload","icon_class":"icon-picture-o","template":"inputFile"},"uniqElKey":"el_1559117075053"},{"index":3,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Comments (optional)","admin_field_label":"Comments(optional)","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1559275440101"}],"submitButton":{"uniqElKey":"el_1559108903621","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"right","button_style":"green","container_class":"","help_message":"","background_color":"#67C23A","button_size":"lg","color":"#ffffff","button_ui":{"type":"default","text":"Apply for Admission","img_url":""}},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline","cssClassName":""}},"notifications":{"name":"Admissions Form Notification","sendTo":{"type":"email","email":"{wp.admin_email}","field":null,"routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"New Admissions Form submited","message":"<p>{all_data}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
743 |
),
|
744 |
+
'loan_application_form' => array(
|
745 |
+
'screenshot' => '',
|
746 |
'createable' => true,
|
747 |
+
'title' => 'Loan Application Form',
|
748 |
'is_pro' => true,
|
749 |
'brief' => 'Get loan application from applicants with their detail information.',
|
750 |
+
'category' => "Finance",
|
751 |
+
'tag' => ["banking", "finance", "loan", "application"],
|
752 |
+
'json' => '[{"id":"8","title":"Loan Application","form":{"fields":[{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"Personal Information","description":"","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1559207413587"},{"index":7,"element":"select","attributes":{"name":"dropdown","value":"","id":"","class":""},"settings":{"label":"Title","admin_field_label":"Title","help_message":"","container_class":"","label_placement":"","placeholder":"- Select -","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Mr":"Mr","Mrs":"Mrs","Ms":"Ms"},"editor_options":{"title":"Dropdown","icon_class":"icon-caret-square-o-down","element":"select","template":"select"},"uniqElKey":"el_1559110533621"},{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1559110355217"},{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Birth Date","admin_field_label":"Birth Date","label_placement":"","date_format":"d.m.Y","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1559110597665"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio","value":""},"settings":{"container_class":"","label":"Marital Status","admin_field_label":"Marital Status","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Single":"Single","Married":"Married","Other":"Other"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1559110647827"},{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Email","label_placement":"","help_message":"","admin_field_label":"Applicant Email","validation_rules":{"required":{"value":true,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email Address","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1559110700355"},{"index":6,"element":"input_number","attributes":{"type":"number","name":"numeric-field","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Phone no.","admin_field_label":"Phone no.","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"","message":"Minimum value is "},"max":{"value":"","message":"Maximum value is "}},"conditional_logics":[]},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1559110739318"},{"index":4,"element":"address","attributes":{"id":"","class":"","name":"address1","data-type":"address-element"},"settings":{"label":"Address","admin_field_label":"","conditional_logics":[]},"fields":{"address_line_1":{"element":"input_text","attributes":{"type":"text","name":"address_line_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Address Line 1","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"address_line_2":{"element":"input_text","attributes":{"type":"text","name":"address_line_2","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Address Line 2","admin_field_label":"","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"city":{"element":"input_text","attributes":{"type":"text","name":"city","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"City","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"state":{"element":"input_text","attributes":{"type":"text","name":"state","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"State","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"zip":{"element":"input_text","attributes":{"type":"text","name":"zip","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Zip Code","admin_field_label":"","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"country":{"element":"select_country","attributes":{"name":"country","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Country","admin_field_label":"","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"country_list":{"active_list":"all","visible_list":[],"hidden_list":[]},"conditional_logics":[]},"options":{"BD":"Bangladesh","US":"US of America"},"editor_options":{"title":"Country List","element":"country-list","icon_class":"icon-text-width","template":"selectCountry"}}},"editor_options":{"title":"Address Fields","element":"address-fields","icon_class":"icon-credit-card","template":"addressFields"},"uniqElKey":"el_1559110782924"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio_1","value":""},"settings":{"container_class":"","label":"How long have you lived in your given address? ","admin_field_label":"Lived in this address (years)","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"0-1 years":"0-1 years","1-2 years":"1-2 years","2-3 years":"2-3 years","3-4 years":"3-4 years","5+ years":"5+ years"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1559110849005"},{"index":7,"element":"form_step","attributes":{"id":"","class":""},"settings":{"prev_btn":{"type":"default","text":"Previous","img_url":""},"next_btn":{"type":"default","text":"Next","img_url":""}},"editor_options":{"title":"Form Step","icon_class":"icon-step-forward","template":"formStep"},"uniqElKey":"el_1559207478467"},{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"Employment Information","description":"Put Your Employment Information bellow,\nPlease fill all the required.","align":"center","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1559110949366"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Present Employer ","label_placement":"","admin_field_label":"Present Employer ","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1559111023883"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_1","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Occupation","label_placement":"","admin_field_label":"Occupation","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1559111049075"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio_2","value":""},"settings":{"container_class":"","label":"Experience of work (years)","admin_field_label":"Experience of work (years)","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"0-1 years":"0-1 years","1-2 years":"1-2 years","2-3 years":"2-3 years","3-4 years":"3-4 years","5+ years":"5+ years"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1559111110100"},{"index":6,"element":"input_number","attributes":{"type":"number","name":"numeric-field_1","value":"","id":"","class":"","placeholder":"Ex 15000"},"settings":{"container_class":"","label":"Gross monthly income ","admin_field_label":"Gross monthly income ","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"","message":"Minimum value is "},"max":{"value":"","message":"Maximum value is "}},"conditional_logics":[]},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1559111169812"},{"index":6,"element":"input_number","attributes":{"type":"number","name":"numeric-field_2","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Monthly rent\/mortgage","admin_field_label":"Monthly rent\/mortgage","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"","message":"Minimum value is "},"max":{"value":"","message":"Maximum value is "}},"conditional_logics":[]},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1559111225701"},{"index":6,"element":"input_number","attributes":{"type":"number","name":"numeric-field_3","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Down Payment Amount","admin_field_label":"Down Payment Amount","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"","message":"Minimum value is "},"max":{"value":"","message":"Maximum value is "}},"conditional_logics":[]},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1559111277768"},{"index":3,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"Put your comments here (optional)","rows":4,"cols":2},"settings":{"container_class":"","label":"Comments","admin_field_label":"Comments","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1559111302333"},{"index":5,"element":"terms_and_condition","attributes":{"type":"checkbox","name":"terms-n-condition","value":false,"class":""},"settings":{"tnc_html":"I have read and agree to the <a href=\"#\">Terms and Conditions<\/a> and <a href=\"#\">Privacy Policy<\/a>","has_checkbox":true,"admin_field_label":"Terms and Conditions","container_class":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Terms & Conditions","icon_class":"icon-check-square-o","template":"termsCheckbox"},"uniqElKey":"el_1559111347132"}],"submitButton":{"uniqElKey":"el_1559110346631","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Form","img_url":""}},"editor_options":{"title":"Submit Button"}},"stepsWrapper":{"stepStart":{"element":"step_start","attributes":{"id":"","class":""},"settings":{"progress_indicator":"","step_titles":[]},"editor_options":{"title":"Start Paging"}},"stepEnd":{"element":"step_end","attributes":{"id":"","class":""},"settings":{"prev_btn":{"type":"default","text":"Previous","img_url":""}},"editor_options":{"title":"End Paging"}}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline","cssClassName":""}},"notifications":{"name":"Loan Application Form Notification","sendTo":{"type":"email","email":"{wp.admin_email}","field":null,"routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"Loan Application Form submited","message":"<p>{all_data}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
753 |
),
|
754 |
+
'job_listing_form' => array(
|
755 |
+
'screenshot' => '',
|
756 |
'createable' => true,
|
757 |
+
'title' => 'Job Listing Form',
|
758 |
'is_pro' => true,
|
759 |
'brief' => 'Get application and uploaded resume from online applicants.',
|
760 |
+
'category' => "HR",
|
761 |
+
'tag' => ["Job Listing", "HR", "office", "job"],
|
762 |
+
'json' => '[{"id":"17","title":"Job Listing Form","form":{"fields":[{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"Personal informations","description":"","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1559205807740"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Company Name","label_placement":"","admin_field_label":"Company Name","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1559118283900"},{"index":7,"element":"select","attributes":{"name":"dropdown","value":"","id":"","class":""},"settings":{"label":"Salutation","admin_field_label":"Salutation","help_message":"","container_class":"","label_placement":"","placeholder":"- Select -","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"Mr":"Mr","Mrs":"Mrs","Miss":"Miss","Ms.":"Ms.","Dr.":"Dr.","Prof.":"Prof."},"editor_options":{"title":"Dropdown","icon_class":"icon-caret-square-o-down","element":"select","template":"select"},"uniqElKey":"el_1559118312135"},{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1559118403552"},{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Email address","label_placement":"","help_message":"","admin_field_label":"Email address","validation_rules":{"required":{"value":false,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email Address","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1559205920436"},{"index":5,"element":"terms_and_condition","attributes":{"type":"checkbox","name":"terms-n-condition","value":false,"class":""},"settings":{"tnc_html":"Agree to show contact information in public posting (optional)","has_checkbox":true,"admin_field_label":"Terms and Conditions","container_class":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Terms & Conditions","icon_class":"icon-check-square-o","template":"termsCheckbox"},"uniqElKey":"el_1559118426293"},{"index":7,"element":"form_step","attributes":{"id":"","class":""},"settings":{"prev_btn":{"type":"default","text":"Previous","img_url":""},"next_btn":{"type":"default","text":"Next","img_url":""}},"editor_options":{"title":"Form Step","icon_class":"icon-step-forward","template":"formStep"},"uniqElKey":"el_1559189413198"},{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"Information of your Position ","description":"","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1559118465186"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_1","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Company Name","label_placement":"","admin_field_label":"Company Name","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1559118495931"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_2","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Department \/ Division","label_placement":"","admin_field_label":"Department \/ Division","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1559118508878"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_3","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Position Title","label_placement":"","admin_field_label":"Position Title","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1559118527032"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_4","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Reference Number","label_placement":"","admin_field_label":"Reference Number","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1559118539776"},{"index":11,"element":"input_url","attributes":{"type":"url","name":"url","value":"","class":"","placeholder":"ex. http:\/\/www.example.com\/"},"settings":{"container_class":"","label":"Job Posting Url","admin_field_label":"Job Posting Url","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"url":{"value":true,"message":"This field must contain a valid url"}},"conditional_logics":[]},"editor_options":{"title":"Website URL","icon_class":"icon-link","template":"inputText"},"uniqElKey":"el_1559118552911"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_5","value":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Salary Details","label_placement":"","admin_field_label":"Salary Details","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Simple Text","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1559118570345"},{"index":5,"element":"terms_and_condition","attributes":{"type":"checkbox","name":"terms-n-condition_1","value":false,"class":""},"settings":{"tnc_html":"Salary Negotiable","has_checkbox":true,"admin_field_label":"Salary Negotiable","container_class":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Terms & Conditions","icon_class":"icon-check-square-o","template":"termsCheckbox"},"uniqElKey":"el_1559118595891"},{"index":7,"element":"select","attributes":{"name":"dropdown_1","value":"","id":"","class":""},"settings":{"label":"Type of Employment","admin_field_label":"Type of Employment","help_message":"","container_class":"","label_placement":"","placeholder":"- Select -","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"Full time":"Full time","Part time":"Part time"},"editor_options":{"title":"Dropdown","icon_class":"icon-caret-square-o-down","element":"select","template":"select"},"uniqElKey":"el_1559118624957"},{"index":7,"element":"select","attributes":{"name":"dropdown_2","value":"","id":"","class":""},"settings":{"label":"Type of Contract","admin_field_label":"","help_message":"","container_class":"","label_placement":"","placeholder":"- Select -","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"permanent":"permanent","Term\/Contract":"Term\/Contract","Locum":"Locum"},"editor_options":{"title":"Dropdown","icon_class":"icon-caret-square-o-down","element":"select","template":"select"},"uniqElKey":"el_1559118667887"},{"index":7,"element":"select","attributes":{"name":"dropdown_3","value":"","id":"","class":""},"settings":{"label":"Type Of the Position","admin_field_label":"Type Of the Position","help_message":"","container_class":"","label_placement":"","placeholder":"- Select -","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{"Academic":"Academic","Administrative":"Administrative","Obstetrics":"Obstetrics","Gynaecology":"Gynaecology","Obstetrics\/Gynaecology":"Obstetrics\/Gynaecology","Other":"Other"},"editor_options":{"title":"Dropdown","icon_class":"icon-caret-square-o-down","element":"select","template":"select"},"uniqElKey":"el_1559118729498"},{"index":3,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Job Summary","admin_field_label":"Job Summary","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1559118826214"},{"index":3,"element":"textarea","attributes":{"name":"description_1","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Roles and Responsibilities","admin_field_label":"Roles and Responsibilities","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1559118841680"},{"index":3,"element":"textarea","attributes":{"name":"description_2","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Skills and Competencies","admin_field_label":"Skills and Competencies","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1559118857624"},{"index":3,"element":"textarea","attributes":{"name":"description_3","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Education and Experience","admin_field_label":"Education and Experience","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1559118873772"},{"index":3,"element":"textarea","attributes":{"name":"description_4","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Other","admin_field_label":"Other","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1559118895131"},{"index":14,"element":"input_file","attributes":{"type":"file","name":"file-upload","value":"","id":"","class":""},"settings":{"container_class":"","label":"Upload your Cv","admin_field_label":"CV","label_placement":"right","btn_text":"Choose File","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"},"max_file_size":{"value":5242880,"_valueFrom":"MB","message":"Maximum file size limit"},"max_file_count":{"value":"-1","message":"Max file count"},"allowed_file_types":{"value":["pdf"],"message":"allowed_file_types"}},"conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"File Upload","icon_class":"icon-upload","template":"inputFile"},"uniqElKey":"el_1559282340628"},{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Start Date of Employment","admin_field_label":"Start Date of Employment","label_placement":"","date_format":"M\/d\/Y","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1559118920295"},{"index":13,"element":"input_date","attributes":{"type":"text","name":"datetime_1","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Application Deadline","admin_field_label":"Application Deadline","label_placement":"","date_format":"M\/d\/Y","help_message":"","is_time_enabled":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Time & Date","icon_class":"icon-calendar-o","template":"inputText"},"uniqElKey":"el_1559118959353"},{"index":7,"element":"form_step","attributes":{"id":"","class":""},"settings":{"prev_btn":{"type":"default","text":"Previous","img_url":""},"next_btn":{"type":"default","text":"Next","img_url":""}},"editor_options":{"title":"Form Step","icon_class":"icon-step-forward","template":"formStep"},"uniqElKey":"el_1559189453510"},{"index":1,"element":"section_break","attributes":{"id":"","class":""},"settings":{"label":"Payment Information","description":"","align":"left","conditional_logics":[]},"editor_options":{"title":"Section Break","icon_class":"icon-puzzle-piece","template":"sectionBreak"},"uniqElKey":"el_1559118987496"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio","value":""},"settings":{"container_class":"","label":"Salary Amount","admin_field_label":"Salary Amount","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"options":{" $ 400.00 - 1 Month Posting Duration":" $ 400.00 - 1 Month Posting Duration","$ 600.00 - 2 Month Posting Duration":"$ 600.00 - 2 Month Posting Duration"," $ 900.00 - 3 Month Posting Duration":" $ 900.00 - 3 Month Posting Duration","other":"other"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1559119006582"},{"index":6,"element":"input_number","attributes":{"type":"number","name":"numeric-field","value":"","id":"","class":"","placeholder":"Ex. 1000 "},"settings":{"container_class":"","label":"salary amount ($)","admin_field_label":"salary amount","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"},"numeric":{"value":true,"message":"This field must contain numeric value"},"min":{"value":"","message":"Minimum value is "},"max":{"value":"","message":"Maximum value is "}},"conditional_logics":{"type":"any","status":true,"conditions":[{"field":"input_radio","value":"other","operator":"="}]}},"editor_options":{"title":"Numeric Field","icon_class":"icon-slack","template":"inputText"},"uniqElKey":"el_1559189169554"}],"submitButton":{"uniqElKey":"el_1559118268163","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Form","img_url":""}},"editor_options":{"title":"Submit Button"}},"stepsWrapper":{"stepStart":{"element":"step_start","attributes":{"id":"","class":""},"settings":{"progress_indicator":"","step_titles":[]},"editor_options":{"title":"Start Paging"}},"stepEnd":{"element":"step_end","attributes":{"id":"","class":""},"settings":{"prev_btn":{"type":"default","text":"Previous","img_url":""}},"editor_options":{"title":"End Paging"}}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline","cssClassName":""}},"notifications":{"name":"Job Listing Form Notification","sendTo":{"type":"email","email":"{wp.admin_email}","field":null,"routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"Job Listing Form submission","message":"<p>{all_data}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
763 |
),
|
764 |
+
'website_feedback' => array(
|
765 |
+
'screenshot' => '',
|
766 |
'createable' => true,
|
767 |
+
'title' => 'Website Feedback',
|
768 |
'is_pro' => true,
|
769 |
'brief' => 'To make effective for your site users, you may get the feedback and suggestions using this sample form.',
|
770 |
+
'category' => "IT",
|
771 |
+
'tag' => ["IT", "website", "tech", "feedback"],
|
772 |
+
'json' => '[{"id":"12","title":"Website Feedback","form":{"fields":[{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Full Name","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Enter Your Full Name","help_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1559114141631"},{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Your Email address","label_placement":"","help_message":"","admin_field_label":"Email","validation_rules":{"required":{"value":true,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email Address","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1559114139212"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio","value":""},"settings":{"container_class":"","label":"Is this the first time you have visited the website?","admin_field_label":"Is this the first time you have visited the website?","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"yes":"Yes","no":"No"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1559114154264"},{"index":3,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"What is the PRIMARY reason you came to the site?","admin_field_label":"What is the PRIMARY reason you came to the site?","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1559114186791"},{"index":9,"element":"input_checkbox","attributes":{"type":"checkbox","name":"checkbox","value":[]},"settings":{"container_class":"","label":"Did you find what you needed?","admin_field_label":"Did you find what you needed?","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Yes, all of it":"Yes, all of it","Yes, some of it":"Yes, some of it","No, none of it":"No, none of it"},"editor_options":{"title":"Check Box","icon_class":"icon-check-square-o","template":"inputCheckbox"},"uniqElKey":"el_1559114208705"},{"index":8,"element":"ratings","attributes":{"class":"","value":0,"name":"ratings"},"settings":{"label":"User Friendlyness","show_text":false,"help_message":"","label_placement":"","admin_field_label":"User Friendlyness","container_class":"","conditional_logics":[],"validation_rules":{"required":{"value":true,"message":"This field is required"}}},"options":{"1":"Nice","2":"Good","3":"Very Good","4":"Awesome","5":"Amazing"},"editor_options":{"title":"Ratings","icon_class":"icon-eye-slash","template":"ratings"},"uniqElKey":"el_1559114515484"}],"submitButton":{"uniqElKey":"el_1559114078404","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Send your feedback","img_url":""}},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":null},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":null},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline","cssClassName":""}},"notifications":{"name":" Website Feedback Notification","sendTo":{"type":"email","email":"{wp.admin_email}","field":null,"routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"Website Feedback","message":"<p>{all_data}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
|
|
|
|
|
|
|
|
|
|
|
|
|
773 |
),
|
774 |
);
|
775 |
}
|
782 |
if (!App\Modules\Acl\Acl::hasAnyFormPermission()) {
|
783 |
return [];
|
784 |
}
|
785 |
+
$data = array(
|
786 |
+
'Basic' => []
|
787 |
+
);
|
788 |
foreach ($this->getPredefinedForms() as $key => $item) {
|
|
|
|
|
789 |
|
790 |
+
if (!$item['category']) {
|
791 |
+
$item['category'] = 'Other';
|
792 |
+
}
|
793 |
+
|
794 |
+
if (!isset($data[$item['category']])) {
|
795 |
+
$data[$item['category']] = [];
|
796 |
+
}
|
797 |
+
|
798 |
+
$itemClass = 'item_'.str_replace([' ', '&', '/'], '_', strtolower($item['category']));
|
799 |
+
if(empty($item['screenshot'])) {
|
800 |
+
$itemClass .= ' item_no_image';
|
801 |
+
} else {
|
802 |
+
$itemClass .= ' item_has_image';
|
803 |
+
}
|
804 |
+
|
805 |
+
$data[$item['category']][$key] = array(
|
806 |
'brief' => $item['brief'],
|
807 |
'is_pro' => ArrayHelper::get($item, 'is_pro'),
|
808 |
+
'title' => $item['title'],
|
809 |
+
'category' => $item['category'],
|
810 |
+
'tags' => $item['tag'],
|
811 |
'screenshot' => $item['screenshot'],
|
812 |
+
'class' => $itemClass,
|
813 |
'createable' => $item['createable'],
|
814 |
);
|
815 |
}
|
816 |
+
$forms = apply_filters('fluentform_predefined_forms', $data);
|
817 |
+
wp_send_json([
|
818 |
+
'forms' => $forms,
|
819 |
+
'categories' => array_keys($forms)
|
820 |
+
], 200);
|
821 |
}
|
822 |
|
823 |
/**
|
850 |
'message' => __("The selected template couldn't be found.", 'fluentform')
|
851 |
], 422);
|
852 |
}
|
853 |
+
|
854 |
}
|
855 |
|
app/Modules/Form/Settings/ExtraSettings.php
CHANGED
@@ -25,8 +25,6 @@ class ExtraSettings
|
|
25 |
*/
|
26 |
public function __construct(Application $application)
|
27 |
{
|
28 |
-
Acl::verify('fluentform_settings_manager');
|
29 |
-
|
30 |
$this->request = $application->request;
|
31 |
$this->form_model = wpFluent()->table('fluentform_forms');
|
32 |
}
|
25 |
*/
|
26 |
public function __construct(Application $application)
|
27 |
{
|
|
|
|
|
28 |
$this->request = $application->request;
|
29 |
$this->form_model = wpFluent()->table('fluentform_forms');
|
30 |
}
|
app/Modules/Form/Settings/FormCssJs.php
CHANGED
@@ -22,12 +22,13 @@ class FormCssJs
|
|
22 |
public function addJs($form)
|
23 |
{
|
24 |
$customJS = $this->getData($form->id, '_custom_form_js');
|
25 |
-
if($customJS) {
|
26 |
add_action('wp_footer', function () use ($form, $customJS) {
|
27 |
?>
|
28 |
<script type="text/javascript">
|
29 |
jQuery(document.body).on('fluentform_init', function (event, data) {
|
30 |
var $form = jQuery(data[0]);
|
|
|
31 |
var $ = jQuery;
|
32 |
try {
|
33 |
<?php echo $customJS; ?>
|
@@ -48,8 +49,6 @@ class FormCssJs
|
|
48 |
*/
|
49 |
public function getSettingsAjax()
|
50 |
{
|
51 |
-
Acl::verify('fluentform_settings_manager');
|
52 |
-
|
53 |
$formId = absint($_REQUEST['form_id']);
|
54 |
wp_send_json_success(array(
|
55 |
'custom_css' => $this->getData($formId, '_custom_form_css'),
|
@@ -63,8 +62,6 @@ class FormCssJs
|
|
63 |
*/
|
64 |
public function saveSettingsAjax()
|
65 |
{
|
66 |
-
Acl::verify('fluentform_settings_manager');
|
67 |
-
|
68 |
$formId = absint($_REQUEST['form_id']);
|
69 |
|
70 |
$css = $_REQUEST['custom_css'];
|
22 |
public function addJs($form)
|
23 |
{
|
24 |
$customJS = $this->getData($form->id, '_custom_form_js');
|
25 |
+
if(trim($customJS)) {
|
26 |
add_action('wp_footer', function () use ($form, $customJS) {
|
27 |
?>
|
28 |
<script type="text/javascript">
|
29 |
jQuery(document.body).on('fluentform_init', function (event, data) {
|
30 |
var $form = jQuery(data[0]);
|
31 |
+
var formId = "<?php echo $form->id; ?>";
|
32 |
var $ = jQuery;
|
33 |
try {
|
34 |
<?php echo $customJS; ?>
|
49 |
*/
|
50 |
public function getSettingsAjax()
|
51 |
{
|
|
|
|
|
52 |
$formId = absint($_REQUEST['form_id']);
|
53 |
wp_send_json_success(array(
|
54 |
'custom_css' => $this->getData($formId, '_custom_form_css'),
|
62 |
*/
|
63 |
public function saveSettingsAjax()
|
64 |
{
|
|
|
|
|
65 |
$formId = absint($_REQUEST['form_id']);
|
66 |
|
67 |
$css = $_REQUEST['custom_css'];
|
app/Modules/Form/Settings/FormSettings.php
CHANGED
@@ -32,7 +32,6 @@ class FormSettings
|
|
32 |
*/
|
33 |
public function __construct(Application $application)
|
34 |
{
|
35 |
-
Acl::verify('fluentform_settings_manager');
|
36 |
|
37 |
$this->request = $application->request;
|
38 |
|
32 |
*/
|
33 |
public function __construct(Application $application)
|
34 |
{
|
|
|
35 |
|
36 |
$this->request = $application->request;
|
37 |
|
app/Modules/ProcessExteriorModule.php
CHANGED
@@ -2,73 +2,53 @@
|
|
2 |
|
3 |
namespace FluentForm\App\Modules;
|
4 |
|
5 |
-
use FluentForm\App;
|
6 |
-
use FluentForm\Config;
|
7 |
-
use FluentForm\Request;
|
8 |
-
use FluentForm\View;
|
9 |
|
10 |
class ProcessExteriorModule
|
11 |
{
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
add_filter('template_include', function ($original) {
|
58 |
-
return locate_template(['page.php', 'single.php', 'index.php']);
|
59 |
-
});
|
60 |
-
}
|
61 |
-
|
62 |
-
/**
|
63 |
-
* Set the posts to one
|
64 |
-
*
|
65 |
-
* @param WP_Query $query
|
66 |
-
*
|
67 |
-
* @return void
|
68 |
-
*/
|
69 |
-
public function pre_get_posts( $query ) {
|
70 |
-
if ($query->is_main_query()) {
|
71 |
-
$query->set('posts_per_page', 1);
|
72 |
-
}
|
73 |
-
}
|
74 |
}
|
2 |
|
3 |
namespace FluentForm\App\Modules;
|
4 |
|
5 |
+
use FluentForm\App\Modules\Acl\Acl;
|
|
|
|
|
|
|
6 |
|
7 |
class ProcessExteriorModule
|
8 |
{
|
9 |
+
public function handleExteriorPages()
|
10 |
+
{
|
11 |
+
if (isset($_GET['fluentform_pages']) && $_GET['fluentform_pages'] == 1) {
|
12 |
+
if (isset($_GET['preview_id']) && $_GET['preview_id']) {
|
13 |
+
$this->renderFormPreview(intval($_GET['preview_id']));
|
14 |
+
}
|
15 |
+
}
|
16 |
+
}
|
17 |
+
|
18 |
+
public function renderFormPreview($form_id)
|
19 |
+
{
|
20 |
+
if (Acl::hasAnyFormPermission($form_id)) {
|
21 |
+
$form = wpFluent()->table('fluentform_forms')->find($form_id);
|
22 |
+
if ($form) {
|
23 |
+
echo \FluentForm\View::make(
|
24 |
+
'frameless.show_review',
|
25 |
+
[
|
26 |
+
'form_id' => $form_id
|
27 |
+
]
|
28 |
+
);
|
29 |
+
exit();
|
30 |
+
}
|
31 |
+
}
|
32 |
+
}
|
33 |
+
|
34 |
+
private function loadDefaultPageTemplate()
|
35 |
+
{
|
36 |
+
add_filter('template_include', function ($original) {
|
37 |
+
return locate_template(['page.php', 'single.php', 'index.php']);
|
38 |
+
});
|
39 |
+
}
|
40 |
+
|
41 |
+
/**
|
42 |
+
* Set the posts to one
|
43 |
+
*
|
44 |
+
* @param WP_Query $query
|
45 |
+
*
|
46 |
+
* @return void
|
47 |
+
*/
|
48 |
+
public function pre_get_posts($query)
|
49 |
+
{
|
50 |
+
if ($query->is_main_query()) {
|
51 |
+
$query->set('posts_per_page', 1);
|
52 |
+
}
|
53 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
}
|
app/Modules/Registerer/Menu.php
CHANGED
@@ -2,6 +2,7 @@
|
|
2 |
|
3 |
namespace FluentForm\App\Modules\Registerer;
|
4 |
|
|
|
5 |
use FluentForm\App\Modules\AddOnModule;
|
6 |
use FluentForm\App\Modules\DocumentationModule;
|
7 |
use FluentForm\View;
|
@@ -41,9 +42,9 @@ class Menu
|
|
41 |
}
|
42 |
|
43 |
if (defined('FLUENTFORMPRO')) {
|
44 |
-
$title = __('Fluent
|
45 |
} else {
|
46 |
-
$title = __('Fluent
|
47 |
}
|
48 |
|
49 |
|
@@ -109,8 +110,8 @@ class Menu
|
|
109 |
// Register Add-Ons
|
110 |
add_submenu_page(
|
111 |
'fluent_forms',
|
112 |
-
__('
|
113 |
-
__('
|
114 |
$dashBoardCapability,
|
115 |
'fluent_form_add_ons',
|
116 |
array($this, 'renderAddOns')
|
@@ -130,7 +131,6 @@ class Menu
|
|
130 |
|
131 |
}
|
132 |
|
133 |
-
|
134 |
private function getMenuIcon()
|
135 |
{
|
136 |
return 'data:image/svg+xml;base64,' . base64_encode('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><defs><style>.cls-1{fill:#fff;}</style></defs><title>dashboard_icon</title><g id="Layer_2" data-name="Layer 2"><g id="Layer_1-2" data-name="Layer 1"><path class="cls-1" d="M15.57,0H4.43A4.43,4.43,0,0,0,0,4.43V15.57A4.43,4.43,0,0,0,4.43,20H15.57A4.43,4.43,0,0,0,20,15.57V4.43A4.43,4.43,0,0,0,15.57,0ZM12.82,14a2.36,2.36,0,0,1-1.66.68H6.5A2.31,2.31,0,0,1,7.18,13a2.36,2.36,0,0,1,1.66-.68l4.66,0A2.34,2.34,0,0,1,12.82,14Zm3.3-3.46a2.36,2.36,0,0,1-1.66.68H3.21a2.25,2.25,0,0,1,.68-1.64,2.36,2.36,0,0,1,1.66-.68H16.79A2.25,2.25,0,0,1,16.12,10.53Zm0-3.73a2.36,2.36,0,0,1-1.66.68H3.21a2.25,2.25,0,0,1,.68-1.64,2.36,2.36,0,0,1,1.66-.68H16.79A2.25,2.25,0,0,1,16.12,6.81Z"/></g></g></svg>');
|
@@ -207,30 +207,37 @@ class Menu
|
|
207 |
'form_settings' => array(
|
208 |
'title' => __('Form Settings', 'fluentform'),
|
209 |
'slug' => 'form_settings',
|
210 |
-
'hash' => 'basic_settings'
|
|
|
211 |
),
|
212 |
'email_notifications' => array(
|
213 |
'title' => __('Email Notifications', 'fluentform'),
|
214 |
'slug' => 'form_settings',
|
215 |
-
'hash' => 'email_notifications'
|
|
|
216 |
),
|
217 |
'other_confirmations' => array(
|
218 |
'title' => __('Other Confirmations', 'fluentform'),
|
219 |
'slug' => 'form_settings',
|
220 |
-
'hash' => 'other_confirmations'
|
|
|
221 |
),
|
222 |
-
'
|
223 |
-
'title' => __('
|
224 |
'slug' => 'form_settings',
|
225 |
-
'
|
226 |
-
),
|
227 |
-
'slack' => array(
|
228 |
-
'title' => __('Slack', 'fluentform'),
|
229 |
-
'slug' => 'form_settings',
|
230 |
-
'hash' => 'slack'
|
231 |
)
|
232 |
);
|
233 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
234 |
if (!defined('FLUENTFORMPRO')) {
|
235 |
$settingsMenus['other_integrations'] = array(
|
236 |
'title' => __('Other Integrations', 'fluentform'),
|
@@ -239,9 +246,6 @@ class Menu
|
|
239 |
);
|
240 |
}
|
241 |
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
$settingsMenus = apply_filters('fluentform_form_settings_menu', $settingsMenus, $form_id);
|
246 |
|
247 |
$externalMenuItems = [];
|
@@ -255,12 +259,12 @@ class Menu
|
|
255 |
$settingsMenus['custom_css_js'] = array(
|
256 |
'title' => __('Custom CSS/JS', 'fluentform'),
|
257 |
'slug' => 'form_settings',
|
258 |
-
'hash' => 'custom_css_js'
|
|
|
259 |
);
|
260 |
|
261 |
$settingsMenus = array_filter(array_merge($settingsMenus, $externalMenuItems));
|
262 |
|
263 |
-
|
264 |
$currentRoute = sanitize_text_field($this->app->request->get('sub_route', ''));
|
265 |
|
266 |
View::render('admin.form.settings_wrapper', array(
|
@@ -358,6 +362,10 @@ class Menu
|
|
358 |
$pluginSlug = $this->app->getSlug();
|
359 |
$version = FLUENTFORM_VERSION;
|
360 |
|
|
|
|
|
|
|
|
|
361 |
wp_enqueue_script('fluentform_editor_script', fluentformMix("js/fluent-forms-editor.js"), ['jquery'], $version,
|
362 |
false);
|
363 |
|
@@ -393,6 +401,7 @@ class Menu
|
|
393 |
'element_settings_placement' => $this->app->load(
|
394 |
$this->app->appPath('Services/FormBuilder/ElementSettingsPlacement.php')
|
395 |
),
|
|
|
396 |
));
|
397 |
}
|
398 |
|
@@ -425,10 +434,6 @@ class Menu
|
|
425 |
'reCAPTCHA' => [
|
426 |
'hash' => 're_captcha',
|
427 |
'title' => 'reCAPTCHA',
|
428 |
-
],
|
429 |
-
'mailchimp' => [
|
430 |
-
'hash' => 'mailchimp',
|
431 |
-
'title' => 'MailChimp',
|
432 |
]
|
433 |
]);
|
434 |
|
2 |
|
3 |
namespace FluentForm\App\Modules\Registerer;
|
4 |
|
5 |
+
use FluentForm\App\Helpers\Helper;
|
6 |
use FluentForm\App\Modules\AddOnModule;
|
7 |
use FluentForm\App\Modules\DocumentationModule;
|
8 |
use FluentForm\View;
|
42 |
}
|
43 |
|
44 |
if (defined('FLUENTFORMPRO')) {
|
45 |
+
$title = __('Fluent Forms Pro', 'fluentform');
|
46 |
} else {
|
47 |
+
$title = __('Fluent Forms', 'fluentform');
|
48 |
}
|
49 |
|
50 |
|
110 |
// Register Add-Ons
|
111 |
add_submenu_page(
|
112 |
'fluent_forms',
|
113 |
+
__('Modules', 'fluentform'),
|
114 |
+
__('Modules', 'fluentform'),
|
115 |
$dashBoardCapability,
|
116 |
'fluent_form_add_ons',
|
117 |
array($this, 'renderAddOns')
|
131 |
|
132 |
}
|
133 |
|
|
|
134 |
private function getMenuIcon()
|
135 |
{
|
136 |
return 'data:image/svg+xml;base64,' . base64_encode('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><defs><style>.cls-1{fill:#fff;}</style></defs><title>dashboard_icon</title><g id="Layer_2" data-name="Layer 2"><g id="Layer_1-2" data-name="Layer 1"><path class="cls-1" d="M15.57,0H4.43A4.43,4.43,0,0,0,0,4.43V15.57A4.43,4.43,0,0,0,4.43,20H15.57A4.43,4.43,0,0,0,20,15.57V4.43A4.43,4.43,0,0,0,15.57,0ZM12.82,14a2.36,2.36,0,0,1-1.66.68H6.5A2.31,2.31,0,0,1,7.18,13a2.36,2.36,0,0,1,1.66-.68l4.66,0A2.34,2.34,0,0,1,12.82,14Zm3.3-3.46a2.36,2.36,0,0,1-1.66.68H3.21a2.25,2.25,0,0,1,.68-1.64,2.36,2.36,0,0,1,1.66-.68H16.79A2.25,2.25,0,0,1,16.12,10.53Zm0-3.73a2.36,2.36,0,0,1-1.66.68H3.21a2.25,2.25,0,0,1,.68-1.64,2.36,2.36,0,0,1,1.66-.68H16.79A2.25,2.25,0,0,1,16.12,6.81Z"/></g></g></svg>');
|
207 |
'form_settings' => array(
|
208 |
'title' => __('Form Settings', 'fluentform'),
|
209 |
'slug' => 'form_settings',
|
210 |
+
'hash' => 'basic_settings',
|
211 |
+
'route' => '/'
|
212 |
),
|
213 |
'email_notifications' => array(
|
214 |
'title' => __('Email Notifications', 'fluentform'),
|
215 |
'slug' => 'form_settings',
|
216 |
+
'hash' => 'email_notifications',
|
217 |
+
'route' => '/email-settings'
|
218 |
),
|
219 |
'other_confirmations' => array(
|
220 |
'title' => __('Other Confirmations', 'fluentform'),
|
221 |
'slug' => 'form_settings',
|
222 |
+
'hash' => 'other_confirmations',
|
223 |
+
'route' => '/other-confirmations'
|
224 |
),
|
225 |
+
'all_integrations' => array(
|
226 |
+
'title' => __('Marketing & CRM Integrations', 'fluentform'),
|
227 |
'slug' => 'form_settings',
|
228 |
+
'route' => '/all-integrations'
|
|
|
|
|
|
|
|
|
|
|
229 |
)
|
230 |
);
|
231 |
|
232 |
+
if(Helper::isSlackEnabled()) {
|
233 |
+
$settingsMenus['slack'] = array(
|
234 |
+
'title' => __('Slack', 'fluentform'),
|
235 |
+
'slug' => 'form_settings',
|
236 |
+
'hash' => 'slack',
|
237 |
+
'route' => '/slack'
|
238 |
+
);
|
239 |
+
}
|
240 |
+
|
241 |
if (!defined('FLUENTFORMPRO')) {
|
242 |
$settingsMenus['other_integrations'] = array(
|
243 |
'title' => __('Other Integrations', 'fluentform'),
|
246 |
);
|
247 |
}
|
248 |
|
|
|
|
|
|
|
249 |
$settingsMenus = apply_filters('fluentform_form_settings_menu', $settingsMenus, $form_id);
|
250 |
|
251 |
$externalMenuItems = [];
|
259 |
$settingsMenus['custom_css_js'] = array(
|
260 |
'title' => __('Custom CSS/JS', 'fluentform'),
|
261 |
'slug' => 'form_settings',
|
262 |
+
'hash' => 'custom_css_js',
|
263 |
+
'route' => '/custom-css-js'
|
264 |
);
|
265 |
|
266 |
$settingsMenus = array_filter(array_merge($settingsMenus, $externalMenuItems));
|
267 |
|
|
|
268 |
$currentRoute = sanitize_text_field($this->app->request->get('sub_route', ''));
|
269 |
|
270 |
View::render('admin.form.settings_wrapper', array(
|
362 |
$pluginSlug = $this->app->getSlug();
|
363 |
$version = FLUENTFORM_VERSION;
|
364 |
|
365 |
+
if (function_exists('wp_enqueue_editor')) {
|
366 |
+
wp_enqueue_editor();
|
367 |
+
}
|
368 |
+
|
369 |
wp_enqueue_script('fluentform_editor_script', fluentformMix("js/fluent-forms-editor.js"), ['jquery'], $version,
|
370 |
false);
|
371 |
|
401 |
'element_settings_placement' => $this->app->load(
|
402 |
$this->app->appPath('Services/FormBuilder/ElementSettingsPlacement.php')
|
403 |
),
|
404 |
+
'all_forms_url' => admin_url('admin.php?page=fluent_forms')
|
405 |
));
|
406 |
}
|
407 |
|
434 |
'reCAPTCHA' => [
|
435 |
'hash' => 're_captcha',
|
436 |
'title' => 'reCAPTCHA',
|
|
|
|
|
|
|
|
|
437 |
]
|
438 |
]);
|
439 |
|
app/Modules/Settings/Settings.php
CHANGED
@@ -128,8 +128,11 @@ class Settings
|
|
128 |
{
|
129 |
$settings = $this->request->get('value');
|
130 |
$settings = json_decode($settings, true);
|
131 |
-
$
|
132 |
-
|
|
|
|
|
|
|
133 |
wp_send_json_success([
|
134 |
'message' => __('Global layout settings is saved')
|
135 |
], 200);
|
128 |
{
|
129 |
$settings = $this->request->get('value');
|
130 |
$settings = json_decode($settings, true);
|
131 |
+
$sanitizedSettings = fluentFormSanitizer($settings);
|
132 |
+
if(ArrayHelper::get($settings, 'misc.email_footer_text')) {
|
133 |
+
$sanitizedSettings['misc']['email_footer_text'] = wp_unslash($settings['misc']['email_footer_text']);
|
134 |
+
}
|
135 |
+
update_option('_fluentform_global_form_settings', $sanitizedSettings);
|
136 |
wp_send_json_success([
|
137 |
'message' => __('Global layout settings is saved')
|
138 |
], 200);
|
app/Services/Emogrifier/Emogrifier.php
CHANGED
@@ -5,13 +5,14 @@ namespace FluentForm\App\Services\Emogrifier;
|
|
5 |
*
|
6 |
* For more information, please see the README.md file.
|
7 |
*
|
8 |
-
* @version
|
9 |
*
|
10 |
* @author Cameron Brooks
|
11 |
* @author Jaime Prado
|
12 |
-
* @author Oliver Klee <
|
13 |
* @author Roman Ožana <ozana@omdesign.cz>
|
14 |
* @author Sander Kruger <s.kruger@invessel.com>
|
|
|
15 |
*/
|
16 |
class Emogrifier
|
17 |
{
|
@@ -157,35 +158,36 @@ class Emogrifier
|
|
157 |
* @var string[]
|
158 |
*/
|
159 |
private $xPathRules = [
|
160 |
-
//
|
161 |
-
'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
162 |
// adjacent sibling
|
163 |
-
'/\\s+\\+\\s+/'
|
|
|
|
|
164 |
// descendant
|
165 |
-
'/\\s+(?=.*[^\\]]{1}$)/'
|
166 |
-
// :first-child
|
167 |
-
'/([^\\/]+):first-child/i'
|
168 |
-
// :last-child
|
169 |
-
'/([^\\/]+):last-child/i'
|
170 |
-
|
171 |
-
|
172 |
-
//
|
173 |
-
|
174 |
-
|
175 |
-
'
|
176 |
-
// element attribute~=
|
177 |
-
'/([\\w\\*]+)\\[(\\w+)[\\s]*\\~\\=[\\s]*[\'"]?([\\w-_\\/]+)[\'"]?\\]/'
|
178 |
-
=> '\\1[contains(concat(" ", @\\2, " "), concat(" ", "\\3", " "))]',
|
179 |
-
// element attribute^=
|
180 |
-
'/([\\w\\*]+)\\[(\\w+)[\\s]*\\^\\=[\\s]*[\'"]?([\\w-_\\/]+)[\'"]?\\]/' => '\\1[starts-with(@\\2, "\\3")]',
|
181 |
-
// element attribute*=
|
182 |
-
'/([\\w\\*]+)\\[(\\w+)[\\s]*\\*\\=[\\s]*[\'"]?([\\w-_\\s\\/:;]+)[\'"]?\\]/' => '\\1[contains(@\\2, "\\3")]',
|
183 |
-
// element attribute$=
|
184 |
-
'/([\\w\\*]+)\\[(\\w+)[\\s]*\\$\\=[\\s]*[\'"]?([\\w-_\\s\\/]+)[\'"]?\\]/'
|
185 |
-
=> '\\1[substring(@\\2, string-length(@\\2) - string-length("\\3") + 1) = "\\3"]',
|
186 |
-
// element attribute|=
|
187 |
-
'/([\\w\\*]+)\\[(\\w+)[\\s]*\\|\\=[\\s]*[\'"]?([\\w-_\\s\\/]+)[\'"]?\\]/'
|
188 |
-
=> '\\1[@\\2="\\3" or starts-with(@\\2, concat("\\3", "-"))]',
|
189 |
];
|
190 |
|
191 |
/**
|
@@ -287,14 +289,7 @@ class Emogrifier
|
|
287 |
*/
|
288 |
public function emogrify()
|
289 |
{
|
290 |
-
|
291 |
-
throw new \BadMethodCallException('Please set some HTML first before calling emogrify.', 1390393096);
|
292 |
-
}
|
293 |
-
|
294 |
-
$xmlDocument = $this->createXmlDocument();
|
295 |
-
$this->process($xmlDocument);
|
296 |
-
|
297 |
-
return $xmlDocument->saveHTML();
|
298 |
}
|
299 |
|
300 |
/**
|
@@ -308,20 +303,31 @@ class Emogrifier
|
|
308 |
* @throws \BadMethodCallException
|
309 |
*/
|
310 |
public function emogrifyBodyContent()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
311 |
{
|
312 |
if ($this->html === '') {
|
313 |
-
throw new \BadMethodCallException('Please set some HTML first
|
314 |
}
|
315 |
|
316 |
-
$xmlDocument = $this->
|
|
|
317 |
$this->process($xmlDocument);
|
318 |
|
319 |
-
$
|
320 |
-
foreach ($xmlDocument->documentElement->getElementsByTagName('body')->item(0)->childNodes as $childNode) {
|
321 |
-
$innerDocument->appendChild($innerDocument->importNode($childNode, true));
|
322 |
-
}
|
323 |
-
|
324 |
-
return html_entity_decode($innerDocument->saveHTML());
|
325 |
}
|
326 |
|
327 |
/**
|
@@ -339,31 +345,14 @@ class Emogrifier
|
|
339 |
{
|
340 |
$xPath = new \DOMXPath($xmlDocument);
|
341 |
$this->clearAllCaches();
|
342 |
-
|
343 |
-
// Before be begin processing the CSS file, parse the document and normalize all existing CSS attributes.
|
344 |
-
// This changes 'DISPLAY: none' to 'display: none'.
|
345 |
-
// We wouldn't have to do this if DOMXPath supported XPath 2.0.
|
346 |
-
// Also store a reference of nodes with existing inline styles so we don't overwrite them.
|
347 |
$this->purgeVisitedNodes();
|
|
|
348 |
|
349 |
-
|
350 |
-
|
351 |
-
$nodesWithStyleAttributes = $xPath->query('//*[@style]');
|
352 |
-
if ($nodesWithStyleAttributes !== false) {
|
353 |
-
/** @var \DOMElement $node */
|
354 |
-
foreach ($nodesWithStyleAttributes as $node) {
|
355 |
-
if ($this->isInlineStyleAttributesParsingEnabled) {
|
356 |
-
$this->normalizeStyleAttributes($node);
|
357 |
-
} else {
|
358 |
-
$node->removeAttribute('style');
|
359 |
-
}
|
360 |
-
}
|
361 |
-
}
|
362 |
|
363 |
// grab any existing style blocks from the html and append them to the existing CSS
|
364 |
// (these blocks should be appended so as to have precedence over conflicting styles in the existing CSS)
|
365 |
$allCss = $this->css;
|
366 |
-
|
367 |
if ($this->isStyleBlocksParsingEnabled) {
|
368 |
$allCss .= $this->getCssFromAllStyleNodes($xPath);
|
369 |
}
|
@@ -372,10 +361,17 @@ class Emogrifier
|
|
372 |
$excludedNodes = $this->getNodesToExclude($xPath);
|
373 |
$cssRules = $this->parseCssRules($cssParts['css']);
|
374 |
foreach ($cssRules as $cssRule) {
|
375 |
-
//
|
376 |
-
|
377 |
-
//
|
378 |
-
if
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
379 |
continue;
|
380 |
}
|
381 |
|
@@ -384,7 +380,6 @@ class Emogrifier
|
|
384 |
if (in_array($node, $excludedNodes, true)) {
|
385 |
continue;
|
386 |
}
|
387 |
-
|
388 |
// if it has a style attribute, get it, process it, and append (overwrite) new stuff
|
389 |
if ($node->hasAttribute('style')) {
|
390 |
// break it up into an associative array
|
@@ -393,9 +388,6 @@ class Emogrifier
|
|
393 |
$oldStyleDeclarations = [];
|
394 |
}
|
395 |
$newStyleDeclarations = $this->parseCssDeclarationsBlock($cssRule['declarationsBlock']);
|
396 |
-
if ($this->shouldMapCssToHtml) {
|
397 |
-
$this->mapCssToHtmlAttributes($newStyleDeclarations, $node);
|
398 |
-
}
|
399 |
$node->setAttribute(
|
400 |
'style',
|
401 |
$this->generateStyleStringFromDeclarationsArrays($oldStyleDeclarations, $newStyleDeclarations)
|
@@ -403,17 +395,101 @@ class Emogrifier
|
|
403 |
}
|
404 |
}
|
405 |
|
406 |
-
restore_error_handler();
|
407 |
-
|
408 |
if ($this->isInlineStyleAttributesParsingEnabled) {
|
409 |
$this->fillStyleAttributesWithMergedStyles();
|
410 |
}
|
411 |
|
|
|
|
|
|
|
|
|
412 |
if ($this->shouldKeepInvisibleNodes) {
|
413 |
$this->removeInvisibleNodes($xPath);
|
414 |
}
|
415 |
|
|
|
|
|
416 |
$this->copyCssWithMediaToStyleNode($xmlDocument, $xPath, $cssParts['media']);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
417 |
}
|
418 |
|
419 |
/**
|
@@ -423,11 +499,11 @@ class Emogrifier
|
|
423 |
* node.
|
424 |
*
|
425 |
* @param string[] $styles the new CSS styles taken from the global styles to be applied to this node
|
426 |
-
* @param \
|
427 |
*
|
428 |
* @return void
|
429 |
*/
|
430 |
-
private function mapCssToHtmlAttributes(array $styles, \
|
431 |
{
|
432 |
foreach ($styles as $property => $value) {
|
433 |
// Strip !important indicator
|
@@ -442,12 +518,12 @@ class Emogrifier
|
|
442 |
* This method maps a CSS rule to HTML attributes and adds those to the node.
|
443 |
*
|
444 |
* @param string $property the name of the CSS property to map
|
445 |
-
* @param string $value
|
446 |
-
* @param \
|
447 |
*
|
448 |
* @return void
|
449 |
*/
|
450 |
-
private function mapCssToHtmlAttribute($property, $value, \
|
451 |
{
|
452 |
if (!$this->mapSimpleCssProperty($property, $value, $node)) {
|
453 |
$this->mapComplexCssProperty($property, $value, $node);
|
@@ -458,12 +534,12 @@ class Emogrifier
|
|
458 |
* Looks up the CSS property in the mapping table and maps it if it matches the conditions.
|
459 |
*
|
460 |
* @param string $property the name of the CSS property to map
|
461 |
-
* @param string $value
|
462 |
-
* @param \
|
463 |
*
|
464 |
* @return bool true if the property cab be mapped using the simple mapping table
|
465 |
*/
|
466 |
-
private function mapSimpleCssProperty($property, $value, \
|
467 |
{
|
468 |
if (!isset($this->cssToHtmlMap[$property])) {
|
469 |
return false;
|
@@ -485,12 +561,12 @@ class Emogrifier
|
|
485 |
* Maps CSS properties that need special transformation to an HTML attribute.
|
486 |
*
|
487 |
* @param string $property the name of the CSS property to map
|
488 |
-
* @param string $value
|
489 |
-
* @param \
|
490 |
*
|
491 |
* @return void
|
492 |
*/
|
493 |
-
private function mapComplexCssProperty($property, $value, \
|
494 |
{
|
495 |
$nodeName = $node->nodeName;
|
496 |
$isTable = $nodeName === 'table';
|
@@ -502,7 +578,7 @@ class Emogrifier
|
|
502 |
// Parse out the color, if any
|
503 |
$styles = explode(' ', $value);
|
504 |
$first = $styles[0];
|
505 |
-
if (!is_numeric(
|
506 |
// This is not a position or image, assume it's a color
|
507 |
$node->setAttribute('bgcolor', $first);
|
508 |
}
|
@@ -575,9 +651,10 @@ class Emogrifier
|
|
575 |
$cssKey = md5($css);
|
576 |
if (!isset($this->caches[self::CACHE_KEY_CSS][$cssKey])) {
|
577 |
// process the CSS file for selectors and definitions
|
578 |
-
preg_match_all('/(?:^|[\\s^{}]*)([^{]+){([^}]*)}/
|
579 |
|
580 |
$cssRules = [];
|
|
|
581 |
/** @var string[] $cssRule */
|
582 |
foreach ($matches as $key => $cssRule) {
|
583 |
$cssDeclaration = trim($cssRule[2]);
|
@@ -590,8 +667,11 @@ class Emogrifier
|
|
590 |
// don't process pseudo-elements and behavioral (dynamic) pseudo-classes;
|
591 |
// only allow structural pseudo-classes
|
592 |
$hasPseudoElement = strpos($selector, '::') !== false;
|
593 |
-
$hasAnyPseudoClass = (bool)
|
594 |
-
$hasSupportedPseudoClass = (bool)
|
|
|
|
|
|
|
595 |
if ($hasPseudoElement || ($hasAnyPseudoClass && !$hasSupportedPseudoClass)) {
|
596 |
continue;
|
597 |
}
|
@@ -821,6 +901,31 @@ class Emogrifier
|
|
821 |
}
|
822 |
}
|
823 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
824 |
/**
|
825 |
* Normalizes the value of the "style" attribute and saves it.
|
826 |
*
|
@@ -912,6 +1017,18 @@ class Emogrifier
|
|
912 |
return $trimmedStyle;
|
913 |
}
|
914 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
915 |
/**
|
916 |
* Checks whether $attributeValue is marked as !important.
|
917 |
*
|
@@ -965,10 +1082,11 @@ class Emogrifier
|
|
965 |
preg_match_all('/@media\\b[^{]*({((?:[^{}]+|(?1))*)})/', $css, $rawMediaQueries, PREG_SET_ORDER);
|
966 |
$parsedQueries = [];
|
967 |
|
|
|
968 |
foreach ($rawMediaQueries as $mediaQuery) {
|
969 |
if ($mediaQuery[2] !== '') {
|
970 |
$parsedQueries[] = [
|
971 |
-
'css'
|
972 |
'query' => $mediaQuery[0],
|
973 |
];
|
974 |
}
|
@@ -979,15 +1097,26 @@ class Emogrifier
|
|
979 |
|
980 |
/**
|
981 |
* Checks whether there is at least one matching element for $cssSelector.
|
|
|
|
|
982 |
*
|
983 |
* @param \DOMXPath $xPath
|
984 |
* @param string $cssSelector
|
985 |
*
|
986 |
* @return bool
|
|
|
|
|
987 |
*/
|
988 |
private function existsMatchForCssSelector(\DOMXPath $xPath, $cssSelector)
|
989 |
{
|
990 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
991 |
|
992 |
return $nodesMatchingSelector !== false && $nodesMatchingSelector->length !== 0;
|
993 |
}
|
@@ -1036,28 +1165,48 @@ class Emogrifier
|
|
1036 |
$styleAttribute->value = 'text/css';
|
1037 |
$styleElement->appendChild($styleAttribute);
|
1038 |
|
1039 |
-
$
|
1040 |
-
$
|
1041 |
}
|
1042 |
|
1043 |
/**
|
1044 |
-
*
|
1045 |
*
|
1046 |
* @param \DOMDocument $document
|
1047 |
-
*
|
1048 |
-
* @return \DOMNode the head element
|
1049 |
*/
|
1050 |
-
private function
|
1051 |
{
|
1052 |
-
|
|
|
|
|
|
|
|
|
1053 |
|
1054 |
-
|
1055 |
-
|
1056 |
-
|
1057 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1058 |
}
|
1059 |
|
1060 |
-
return $
|
1061 |
}
|
1062 |
|
1063 |
/**
|
@@ -1092,7 +1241,7 @@ class Emogrifier
|
|
1092 |
|
1093 |
$media = '';
|
1094 |
$cssForAllowedMediaTypes = preg_replace_callback(
|
1095 |
-
'#@media\\s+(?:only\\s)?(?:[\\s{\\(]' . $mediaTypesExpression . ')\\s
|
1096 |
function ($matches) use (&$media) {
|
1097 |
$media .= $matches[0];
|
1098 |
},
|
@@ -1115,7 +1264,7 @@ class Emogrifier
|
|
1115 |
*
|
1116 |
* @return \DOMDocument
|
1117 |
*/
|
1118 |
-
private function
|
1119 |
{
|
1120 |
$xmlDocument = new \DOMDocument;
|
1121 |
$xmlDocument->encoding = 'UTF-8';
|
@@ -1194,7 +1343,7 @@ class Emogrifier
|
|
1194 |
*/
|
1195 |
private function addContentTypeMetaTag($html)
|
1196 |
{
|
1197 |
-
$hasContentTypeMetaTag =
|
1198 |
if ($hasContentTypeMetaTag) {
|
1199 |
return $html;
|
1200 |
}
|
@@ -1249,7 +1398,7 @@ class Emogrifier
|
|
1249 |
$precedence = 0;
|
1250 |
$value = 100;
|
1251 |
// ids: worth 100, classes: worth 10, elements: worth 1
|
1252 |
-
$search = ['\\#','\\.',''];
|
1253 |
|
1254 |
foreach ($search as $s) {
|
1255 |
if (trim($selector) === '') {
|
@@ -1287,41 +1436,99 @@ class Emogrifier
|
|
1287 |
);
|
1288 |
$trimmedLowercaseSelector = trim($lowercasePaddedSelector);
|
1289 |
$xPathKey = md5($trimmedLowercaseSelector);
|
1290 |
-
if (
|
1291 |
-
$
|
1292 |
-
|
1293 |
-
$this->xPathRules,
|
1294 |
-
$trimmedLowercaseSelector
|
1295 |
-
);
|
1296 |
-
$xPathWithIdAttributeMatchers = preg_replace_callback(
|
1297 |
-
self::ID_ATTRIBUTE_MATCHER,
|
1298 |
-
[$this, 'matchIdAttributes'],
|
1299 |
-
$roughXpath
|
1300 |
-
);
|
1301 |
-
$xPathWithIdAttributeAndClassMatchers = preg_replace_callback(
|
1302 |
-
self::CLASS_ATTRIBUTE_MATCHER,
|
1303 |
-
[$this, 'matchClassAttributes'],
|
1304 |
-
$xPathWithIdAttributeMatchers
|
1305 |
-
);
|
1306 |
-
|
1307 |
-
// Advanced selectors are going to require a bit more advanced emogrification.
|
1308 |
-
// When we required PHP 5.3, we could do this with closures.
|
1309 |
-
$xPathWithIdAttributeAndClassMatchers = preg_replace_callback(
|
1310 |
-
'/([^\\/]+):nth-child\\(\\s*(odd|even|[+\\-]?\\d|[+\\-]?\\d?n(\\s*[+\\-]\\s*\\d)?)\\s*\\)/i',
|
1311 |
-
[$this, 'translateNthChild'],
|
1312 |
-
$xPathWithIdAttributeAndClassMatchers
|
1313 |
-
);
|
1314 |
-
$finalXpath = preg_replace_callback(
|
1315 |
-
'/([^\\/]+):nth-of-type\\(\s*(odd|even|[+\\-]?\\d|[+\\-]?\\d?n(\\s*[+\\-]\\s*\\d)?)\\s*\\)/i',
|
1316 |
-
[$this, 'translateNthOfType'],
|
1317 |
-
$xPathWithIdAttributeAndClassMatchers
|
1318 |
-
);
|
1319 |
|
1320 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1321 |
}
|
|
|
|
|
1322 |
return $this->caches[self::CACHE_KEY_SELECTOR][$xPathKey];
|
1323 |
}
|
1324 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1325 |
/**
|
1326 |
* @param string[] $match
|
1327 |
*
|
@@ -1335,15 +1542,25 @@ class Emogrifier
|
|
1335 |
/**
|
1336 |
* @param string[] $match
|
1337 |
*
|
1338 |
-
* @return string
|
1339 |
*/
|
1340 |
private function matchClassAttributes(array $match)
|
1341 |
{
|
1342 |
-
return ($match[1] !== '' ? $match[1] : '*') . '[
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1343 |
implode(
|
1344 |
'"," "))][contains(concat(" ",@class," "),concat(" ","',
|
1345 |
explode('.', substr($match[2], 1))
|
1346 |
-
) . '"," "))
|
1347 |
}
|
1348 |
|
1349 |
/**
|
@@ -1359,21 +1576,21 @@ class Emogrifier
|
|
1359 |
if ($parseResult[self::MULTIPLIER] < 0) {
|
1360 |
$parseResult[self::MULTIPLIER] = abs($parseResult[self::MULTIPLIER]);
|
1361 |
$xPathExpression = sprintf(
|
1362 |
-
'*[(last() - position()) mod %u = %u]/self::%s',
|
1363 |
$parseResult[self::MULTIPLIER],
|
1364 |
$parseResult[self::INDEX],
|
1365 |
$match[1]
|
1366 |
);
|
1367 |
} else {
|
1368 |
$xPathExpression = sprintf(
|
1369 |
-
'*[position() mod %u = %u]/self::%s',
|
1370 |
$parseResult[self::MULTIPLIER],
|
1371 |
$parseResult[self::INDEX],
|
1372 |
$match[1]
|
1373 |
);
|
1374 |
}
|
1375 |
} else {
|
1376 |
-
$xPathExpression = sprintf('*[%u]/self::%s', $parseResult[self::INDEX], $match[1]);
|
1377 |
}
|
1378 |
|
1379 |
return $xPathExpression;
|
@@ -1392,21 +1609,21 @@ class Emogrifier
|
|
1392 |
if ($parseResult[self::MULTIPLIER] < 0) {
|
1393 |
$parseResult[self::MULTIPLIER] = abs($parseResult[self::MULTIPLIER]);
|
1394 |
$xPathExpression = sprintf(
|
1395 |
-
'%s[(last() - position()) mod %u = %u]',
|
1396 |
$match[1],
|
1397 |
$parseResult[self::MULTIPLIER],
|
1398 |
$parseResult[self::INDEX]
|
1399 |
);
|
1400 |
} else {
|
1401 |
$xPathExpression = sprintf(
|
1402 |
-
'%s[position() mod %u = %u]',
|
1403 |
$match[1],
|
1404 |
$parseResult[self::MULTIPLIER],
|
1405 |
$parseResult[self::INDEX]
|
1406 |
);
|
1407 |
}
|
1408 |
} else {
|
1409 |
-
$xPathExpression = sprintf('%s[%u]', $match[1], $parseResult[self::INDEX]);
|
1410 |
}
|
1411 |
|
1412 |
return $xPathExpression;
|
@@ -1426,13 +1643,13 @@ class Emogrifier
|
|
1426 |
}
|
1427 |
if (stripos($match[2], 'n') === false) {
|
1428 |
// if there is a multiplier
|
1429 |
-
$index = (int)
|
1430 |
return [self::INDEX => $index];
|
1431 |
}
|
1432 |
|
1433 |
if (isset($match[3])) {
|
1434 |
$multipleTerm = str_replace($match[3], '', $match[2]);
|
1435 |
-
$index = (int)
|
1436 |
} else {
|
1437 |
$multipleTerm = $match[2];
|
1438 |
$index = 0;
|
@@ -1445,7 +1662,7 @@ class Emogrifier
|
|
1445 |
} elseif ($multiplier === '0') {
|
1446 |
return [self::INDEX => $index];
|
1447 |
} else {
|
1448 |
-
$multiplier = (int)
|
1449 |
}
|
1450 |
|
1451 |
while ($index < 0) {
|
@@ -1504,12 +1721,22 @@ class Emogrifier
|
|
1504 |
* @param \DOMXPath $xPath
|
1505 |
*
|
1506 |
* @return \DOMElement[]
|
|
|
|
|
1507 |
*/
|
1508 |
private function getNodesToExclude(\DOMXPath $xPath)
|
1509 |
{
|
1510 |
$excludedNodes = [];
|
1511 |
foreach (array_keys($this->excludedSelectors) as $selectorToExclude) {
|
1512 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1513 |
$excludedNodes[] = $node;
|
1514 |
}
|
1515 |
}
|
@@ -1518,9 +1745,9 @@ class Emogrifier
|
|
1518 |
}
|
1519 |
|
1520 |
/**
|
1521 |
-
* Handles invalid xPath expression warnings, generated
|
1522 |
-
* during querying \DOMDocument and trigger \InvalidArgumentException
|
1523 |
-
*
|
1524 |
*
|
1525 |
* @param int $type
|
1526 |
* @param string $message
|
@@ -1531,18 +1758,39 @@ class Emogrifier
|
|
1531 |
* @return bool always false
|
1532 |
*
|
1533 |
* @throws \InvalidArgumentException
|
1534 |
-
|
1535 |
-
|
1536 |
-
|
1537 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1538 |
throw new \InvalidArgumentException(
|
1539 |
-
sprintf(
|
1540 |
-
|
1541 |
-
|
1542 |
-
|
1543 |
-
|
1544 |
-
|
1545 |
-
|
|
|
|
|
|
|
1546 |
);
|
1547 |
}
|
1548 |
|
5 |
*
|
6 |
* For more information, please see the README.md file.
|
7 |
*
|
8 |
+
* @version 2.0.0
|
9 |
*
|
10 |
* @author Cameron Brooks
|
11 |
* @author Jaime Prado
|
12 |
+
* @author Oliver Klee <github@oliverklee.de>
|
13 |
* @author Roman Ožana <ozana@omdesign.cz>
|
14 |
* @author Sander Kruger <s.kruger@invessel.com>
|
15 |
+
* @author Zoli Szabó <zoli.szabo+github@gmail.com>
|
16 |
*/
|
17 |
class Emogrifier
|
18 |
{
|
158 |
* @var string[]
|
159 |
*/
|
160 |
private $xPathRules = [
|
161 |
+
// attribute presence
|
162 |
+
'/^\\[(\\w+|\\w+\\=[\'"]?\\w+[\'"]?)\\]/' => '*[@\\1]',
|
163 |
+
// type and attribute exact value
|
164 |
+
'/(\\w)\\[(\\w+)\\=[\'"]?([\\w\\s]+)[\'"]?\\]/' => '\\1[@\\2="\\3"]',
|
165 |
+
// type and attribute value with ~ (one word within a whitespace-separated list of words)
|
166 |
+
'/([\\w\\*]+)\\[(\\w+)[\\s]*\\~\\=[\\s]*[\'"]?([\\w\-_\\/]+)[\'"]?\\]/'
|
167 |
+
=> '\\1[contains(concat(" ", @\\2, " "), concat(" ", "\\3", " "))]',
|
168 |
+
// type and attribute value with | (either exact value match or prefix followed by a hyphen)
|
169 |
+
'/([\\w\\*]+)\\[(\\w+)[\\s]*\\|\\=[\\s]*[\'"]?([\\w\-_\\s\\/]+)[\'"]?\\]/'
|
170 |
+
=> '\\1[@\\2="\\3" or starts-with(@\\2, concat("\\3", "-"))]',
|
171 |
+
// type and attribute value with ^ (prefix match)
|
172 |
+
'/([\\w\\*]+)\\[(\\w+)[\\s]*\\^\\=[\\s]*[\'"]?([\\w\-_\\/]+)[\'"]?\\]/' => '\\1[starts-with(@\\2, "\\3")]',
|
173 |
+
// type and attribute value with * (substring match)
|
174 |
+
'/([\\w\\*]+)\\[(\\w+)[\\s]*\\*\\=[\\s]*[\'"]?([\\w\-_\\s\\/:;]+)[\'"]?\\]/' => '\\1[contains(@\\2, "\\3")]',
|
175 |
// adjacent sibling
|
176 |
+
'/\\s+\\+\\s+/' => '/following-sibling::*[1]/self::',
|
177 |
+
// child
|
178 |
+
'/\\s*>\\s*/' => '/',
|
179 |
// descendant
|
180 |
+
'/\\s+(?=.*[^\\]]{1}$)/' => '//',
|
181 |
+
// type and :first-child
|
182 |
+
'/([^\\/]+):first-child/i' => '*[1]/self::\\1',
|
183 |
+
// type and :last-child
|
184 |
+
'/([^\\/]+):last-child/i' => '*[last()]/self::\\1',
|
185 |
+
|
186 |
+
// The following matcher will break things if it is placed before the adjacent matcher.
|
187 |
+
// So one of the matchers matches either too much or not enough.
|
188 |
+
// type and attribute value with $ (suffix match)
|
189 |
+
'/([\\w\\*]+)\\[(\\w+)[\\s]*\\$\\=[\\s]*[\'"]?([\\w\-_\\s\\/]+)[\'"]?\\]/'
|
190 |
+
=> '\\1[substring(@\\2, string-length(@\\2) - string-length("\\3") + 1) = "\\3"]',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
191 |
];
|
192 |
|
193 |
/**
|
289 |
*/
|
290 |
public function emogrify()
|
291 |
{
|
292 |
+
return $this->createAndProcessXmlDocument()->saveHTML();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
293 |
}
|
294 |
|
295 |
/**
|
303 |
* @throws \BadMethodCallException
|
304 |
*/
|
305 |
public function emogrifyBodyContent()
|
306 |
+
{
|
307 |
+
$xmlDocument = $this->createAndProcessXmlDocument();
|
308 |
+
$bodyNodeHtml = $xmlDocument->saveHTML($this->getBodyElement($xmlDocument));
|
309 |
+
|
310 |
+
return str_replace(['<body>', '</body>'], '', $bodyNodeHtml);
|
311 |
+
}
|
312 |
+
|
313 |
+
/**
|
314 |
+
* Creates an XML document from $this->html and emogrifies ist.
|
315 |
+
*
|
316 |
+
* @return \DOMDocument
|
317 |
+
*
|
318 |
+
* @throws \BadMethodCallException
|
319 |
+
*/
|
320 |
+
private function createAndProcessXmlDocument()
|
321 |
{
|
322 |
if ($this->html === '') {
|
323 |
+
throw new \BadMethodCallException('Please set some HTML first.', 1390393096);
|
324 |
}
|
325 |
|
326 |
+
$xmlDocument = $this->createRawXmlDocument();
|
327 |
+
$this->ensureExistenceOfBodyElement($xmlDocument);
|
328 |
$this->process($xmlDocument);
|
329 |
|
330 |
+
return $xmlDocument;
|
|
|
|
|
|
|
|
|
|
|
331 |
}
|
332 |
|
333 |
/**
|
345 |
{
|
346 |
$xPath = new \DOMXPath($xmlDocument);
|
347 |
$this->clearAllCaches();
|
|
|
|
|
|
|
|
|
|
|
348 |
$this->purgeVisitedNodes();
|
349 |
+
set_error_handler([$this, 'handleXpathQueryWarnings'], E_WARNING);
|
350 |
|
351 |
+
$this->normalizeStyleAttributesOfAllNodes($xPath);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
352 |
|
353 |
// grab any existing style blocks from the html and append them to the existing CSS
|
354 |
// (these blocks should be appended so as to have precedence over conflicting styles in the existing CSS)
|
355 |
$allCss = $this->css;
|
|
|
356 |
if ($this->isStyleBlocksParsingEnabled) {
|
357 |
$allCss .= $this->getCssFromAllStyleNodes($xPath);
|
358 |
}
|
361 |
$excludedNodes = $this->getNodesToExclude($xPath);
|
362 |
$cssRules = $this->parseCssRules($cssParts['css']);
|
363 |
foreach ($cssRules as $cssRule) {
|
364 |
+
// There's no real way to test "PHP Warning" output generated by the following XPath query unless PHPUnit
|
365 |
+
// converts it to an exception. Unfortunately, this would only apply to tests and not work for production
|
366 |
+
// executions, which can still flood logs/output unnecessarily. Instead, Emogrifier's error handler should
|
367 |
+
// always throw an exception and it must be caught here and only rethrown if in debug mode.
|
368 |
+
try {
|
369 |
+
// \DOMXPath::query will always return a DOMNodeList or an exception when errors are caught.
|
370 |
+
$nodesMatchingCssSelectors = $xPath->query($this->translateCssToXpath($cssRule['selector']));
|
371 |
+
} catch (\InvalidArgumentException $e) {
|
372 |
+
if ($this->debug) {
|
373 |
+
throw $e;
|
374 |
+
}
|
375 |
continue;
|
376 |
}
|
377 |
|
380 |
if (in_array($node, $excludedNodes, true)) {
|
381 |
continue;
|
382 |
}
|
|
|
383 |
// if it has a style attribute, get it, process it, and append (overwrite) new stuff
|
384 |
if ($node->hasAttribute('style')) {
|
385 |
// break it up into an associative array
|
388 |
$oldStyleDeclarations = [];
|
389 |
}
|
390 |
$newStyleDeclarations = $this->parseCssDeclarationsBlock($cssRule['declarationsBlock']);
|
|
|
|
|
|
|
391 |
$node->setAttribute(
|
392 |
'style',
|
393 |
$this->generateStyleStringFromDeclarationsArrays($oldStyleDeclarations, $newStyleDeclarations)
|
395 |
}
|
396 |
}
|
397 |
|
|
|
|
|
398 |
if ($this->isInlineStyleAttributesParsingEnabled) {
|
399 |
$this->fillStyleAttributesWithMergedStyles();
|
400 |
}
|
401 |
|
402 |
+
if ($this->shouldMapCssToHtml) {
|
403 |
+
$this->mapAllInlineStylesToHtmlAttributes($xPath);
|
404 |
+
}
|
405 |
+
|
406 |
if ($this->shouldKeepInvisibleNodes) {
|
407 |
$this->removeInvisibleNodes($xPath);
|
408 |
}
|
409 |
|
410 |
+
$this->removeImportantAnnotationFromAllInlineStyles($xPath);
|
411 |
+
|
412 |
$this->copyCssWithMediaToStyleNode($xmlDocument, $xPath, $cssParts['media']);
|
413 |
+
|
414 |
+
restore_error_handler();
|
415 |
+
}
|
416 |
+
|
417 |
+
/**
|
418 |
+
* Searches for all nodes with a style attribute, transforms the CSS found
|
419 |
+
* to HTML attributes and adds those attributes to each node.
|
420 |
+
*
|
421 |
+
* @param \DOMXPath $xPath
|
422 |
+
*
|
423 |
+
* @return void
|
424 |
+
*/
|
425 |
+
private function mapAllInlineStylesToHtmlAttributes(\DOMXPath $xPath)
|
426 |
+
{
|
427 |
+
/** @var \DOMElement $node */
|
428 |
+
foreach ($this->getAllNodesWithStyleAttribute($xPath) as $node) {
|
429 |
+
$inlineStyleDeclarations = $this->parseCssDeclarationsBlock($node->getAttribute('style'));
|
430 |
+
$this->mapCssToHtmlAttributes($inlineStyleDeclarations, $node);
|
431 |
+
}
|
432 |
+
}
|
433 |
+
|
434 |
+
/**
|
435 |
+
* Searches for all nodes with a style attribute and removes the "!important" annotations out of
|
436 |
+
* the inline style declarations, eventually by rearranging declarations.
|
437 |
+
*
|
438 |
+
* @param \DOMXPath $xPath
|
439 |
+
*
|
440 |
+
* @return void
|
441 |
+
*/
|
442 |
+
private function removeImportantAnnotationFromAllInlineStyles(\DOMXPath $xPath)
|
443 |
+
{
|
444 |
+
foreach ($this->getAllNodesWithStyleAttribute($xPath) as $node) {
|
445 |
+
$this->removeImportantAnnotationFromNodeInlineStyle($node);
|
446 |
+
}
|
447 |
+
}
|
448 |
+
|
449 |
+
/**
|
450 |
+
* Removes the "!important" annotations out of the inline style declarations,
|
451 |
+
* eventually by rearranging declarations.
|
452 |
+
* Rearranging needed when !important shorthand properties are followed by some of their
|
453 |
+
* not !important expanded-version properties.
|
454 |
+
* For example "font: 12px serif !important; font-size: 13px;" must be reordered
|
455 |
+
* to "font-size: 13px; font: 12px serif;" in order to remain correct.
|
456 |
+
*
|
457 |
+
* @param \DOMElement $node
|
458 |
+
*
|
459 |
+
* @return void
|
460 |
+
*/
|
461 |
+
private function removeImportantAnnotationFromNodeInlineStyle(\DOMElement $node)
|
462 |
+
{
|
463 |
+
$inlineStyleDeclarations = $this->parseCssDeclarationsBlock($node->getAttribute('style'));
|
464 |
+
$regularStyleDeclarations = [];
|
465 |
+
$importantStyleDeclarations = [];
|
466 |
+
foreach ($inlineStyleDeclarations as $property => $value) {
|
467 |
+
if ($this->attributeValueIsImportant($value)) {
|
468 |
+
$importantStyleDeclarations[$property] = trim(str_replace('!important', '', $value));
|
469 |
+
} else {
|
470 |
+
$regularStyleDeclarations[$property] = $value;
|
471 |
+
}
|
472 |
+
}
|
473 |
+
$inlineStyleDeclarationsInNewOrder = array_merge(
|
474 |
+
$regularStyleDeclarations,
|
475 |
+
$importantStyleDeclarations
|
476 |
+
);
|
477 |
+
$node->setAttribute(
|
478 |
+
'style',
|
479 |
+
$this->generateStyleStringFromSingleDeclarationsArray($inlineStyleDeclarationsInNewOrder)
|
480 |
+
);
|
481 |
+
}
|
482 |
+
|
483 |
+
/**
|
484 |
+
* Returns a list with all DOM nodes that have a style attribute.
|
485 |
+
*
|
486 |
+
* @param \DOMXPath $xPath
|
487 |
+
*
|
488 |
+
* @return \DOMNodeList
|
489 |
+
*/
|
490 |
+
private function getAllNodesWithStyleAttribute(\DOMXPath $xPath)
|
491 |
+
{
|
492 |
+
return $xPath->query('//*[@style]');
|
493 |
}
|
494 |
|
495 |
/**
|
499 |
* node.
|
500 |
*
|
501 |
* @param string[] $styles the new CSS styles taken from the global styles to be applied to this node
|
502 |
+
* @param \DOMElement $node node to apply styles to
|
503 |
*
|
504 |
* @return void
|
505 |
*/
|
506 |
+
private function mapCssToHtmlAttributes(array $styles, \DOMElement $node)
|
507 |
{
|
508 |
foreach ($styles as $property => $value) {
|
509 |
// Strip !important indicator
|
518 |
* This method maps a CSS rule to HTML attributes and adds those to the node.
|
519 |
*
|
520 |
* @param string $property the name of the CSS property to map
|
521 |
+
* @param string $value the value of the style rule to map
|
522 |
+
* @param \DOMElement $node node to apply styles to
|
523 |
*
|
524 |
* @return void
|
525 |
*/
|
526 |
+
private function mapCssToHtmlAttribute($property, $value, \DOMElement $node)
|
527 |
{
|
528 |
if (!$this->mapSimpleCssProperty($property, $value, $node)) {
|
529 |
$this->mapComplexCssProperty($property, $value, $node);
|
534 |
* Looks up the CSS property in the mapping table and maps it if it matches the conditions.
|
535 |
*
|
536 |
* @param string $property the name of the CSS property to map
|
537 |
+
* @param string $value the value of the style rule to map
|
538 |
+
* @param \DOMElement $node node to apply styles to
|
539 |
*
|
540 |
* @return bool true if the property cab be mapped using the simple mapping table
|
541 |
*/
|
542 |
+
private function mapSimpleCssProperty($property, $value, \DOMElement $node)
|
543 |
{
|
544 |
if (!isset($this->cssToHtmlMap[$property])) {
|
545 |
return false;
|
561 |
* Maps CSS properties that need special transformation to an HTML attribute.
|
562 |
*
|
563 |
* @param string $property the name of the CSS property to map
|
564 |
+
* @param string $value the value of the style rule to map
|
565 |
+
* @param \DOMElement $node node to apply styles to
|
566 |
*
|
567 |
* @return void
|
568 |
*/
|
569 |
+
private function mapComplexCssProperty($property, $value, \DOMElement $node)
|
570 |
{
|
571 |
$nodeName = $node->nodeName;
|
572 |
$isTable = $nodeName === 'table';
|
578 |
// Parse out the color, if any
|
579 |
$styles = explode(' ', $value);
|
580 |
$first = $styles[0];
|
581 |
+
if (!is_numeric($first[0]) && strpos($first, 'url') !== 0) {
|
582 |
// This is not a position or image, assume it's a color
|
583 |
$node->setAttribute('bgcolor', $first);
|
584 |
}
|
651 |
$cssKey = md5($css);
|
652 |
if (!isset($this->caches[self::CACHE_KEY_CSS][$cssKey])) {
|
653 |
// process the CSS file for selectors and definitions
|
654 |
+
preg_match_all('/(?:^|[\\s^{}]*)([^{]+){([^}]*)}/mi', $css, $matches, PREG_SET_ORDER);
|
655 |
|
656 |
$cssRules = [];
|
657 |
+
/** @var string[][] $matches */
|
658 |
/** @var string[] $cssRule */
|
659 |
foreach ($matches as $key => $cssRule) {
|
660 |
$cssDeclaration = trim($cssRule[2]);
|
667 |
// don't process pseudo-elements and behavioral (dynamic) pseudo-classes;
|
668 |
// only allow structural pseudo-classes
|
669 |
$hasPseudoElement = strpos($selector, '::') !== false;
|
670 |
+
$hasAnyPseudoClass = (bool)preg_match('/:[a-zA-Z]/', $selector);
|
671 |
+
$hasSupportedPseudoClass = (bool)preg_match(
|
672 |
+
'/:(\\S+\\-(child|type\\()|not\\([[:ascii:]]*\\))/i',
|
673 |
+
$selector
|
674 |
+
);
|
675 |
if ($hasPseudoElement || ($hasAnyPseudoClass && !$hasSupportedPseudoClass)) {
|
676 |
continue;
|
677 |
}
|
901 |
}
|
902 |
}
|
903 |
|
904 |
+
/**
|
905 |
+
* Parses the document and normalizes all existing CSS attributes.
|
906 |
+
* This changes 'DISPLAY: none' to 'display: none'.
|
907 |
+
* We wouldn't have to do this if DOMXPath supported XPath 2.0.
|
908 |
+
* Also stores a reference of nodes with existing inline styles so we don't overwrite them.
|
909 |
+
*
|
910 |
+
* @param \DOMXPath $xPath
|
911 |
+
*
|
912 |
+
* @return void
|
913 |
+
*/
|
914 |
+
private function normalizeStyleAttributesOfAllNodes(\DOMXPath $xPath)
|
915 |
+
{
|
916 |
+
/** @var \DOMElement $node */
|
917 |
+
foreach ($this->getAllNodesWithStyleAttribute($xPath) as $node) {
|
918 |
+
if ($this->isInlineStyleAttributesParsingEnabled) {
|
919 |
+
$this->normalizeStyleAttributes($node);
|
920 |
+
}
|
921 |
+
// Remove style attribute in every case, so we can add them back (if inline style attributes
|
922 |
+
// parsing is enabled) to the end of the style list, thus keeping the right priority of CSS rules;
|
923 |
+
// else original inline style rules may remain at the beginning of the final inline style definition
|
924 |
+
// of a node, which may give not the desired results
|
925 |
+
$node->removeAttribute('style');
|
926 |
+
}
|
927 |
+
}
|
928 |
+
|
929 |
/**
|
930 |
* Normalizes the value of the "style" attribute and saves it.
|
931 |
*
|
1017 |
return $trimmedStyle;
|
1018 |
}
|
1019 |
|
1020 |
+
/**
|
1021 |
+
* Generates a CSS style string suitable to be used inline from the $styleDeclarations property => value array.
|
1022 |
+
*
|
1023 |
+
* @param string[] $styleDeclarations
|
1024 |
+
*
|
1025 |
+
* @return string
|
1026 |
+
*/
|
1027 |
+
private function generateStyleStringFromSingleDeclarationsArray(array $styleDeclarations)
|
1028 |
+
{
|
1029 |
+
return $this->generateStyleStringFromDeclarationsArrays([], $styleDeclarations);
|
1030 |
+
}
|
1031 |
+
|
1032 |
/**
|
1033 |
* Checks whether $attributeValue is marked as !important.
|
1034 |
*
|
1082 |
preg_match_all('/@media\\b[^{]*({((?:[^{}]+|(?1))*)})/', $css, $rawMediaQueries, PREG_SET_ORDER);
|
1083 |
$parsedQueries = [];
|
1084 |
|
1085 |
+
/** @var string[][] $rawMediaQueries */
|
1086 |
foreach ($rawMediaQueries as $mediaQuery) {
|
1087 |
if ($mediaQuery[2] !== '') {
|
1088 |
$parsedQueries[] = [
|
1089 |
+
'css' => $mediaQuery[2],
|
1090 |
'query' => $mediaQuery[0],
|
1091 |
];
|
1092 |
}
|
1097 |
|
1098 |
/**
|
1099 |
* Checks whether there is at least one matching element for $cssSelector.
|
1100 |
+
* When not in debug mode, it returns true also for invalid selectors (because they may be valid,
|
1101 |
+
* just not implemented/recognized yet by Emogrifier).
|
1102 |
*
|
1103 |
* @param \DOMXPath $xPath
|
1104 |
* @param string $cssSelector
|
1105 |
*
|
1106 |
* @return bool
|
1107 |
+
*
|
1108 |
+
* @throws \InvalidArgumentException
|
1109 |
*/
|
1110 |
private function existsMatchForCssSelector(\DOMXPath $xPath, $cssSelector)
|
1111 |
{
|
1112 |
+
try {
|
1113 |
+
$nodesMatchingSelector = $xPath->query($this->translateCssToXpath($cssSelector));
|
1114 |
+
} catch (\InvalidArgumentException $e) {
|
1115 |
+
if ($this->debug) {
|
1116 |
+
throw $e;
|
1117 |
+
}
|
1118 |
+
return true;
|
1119 |
+
}
|
1120 |
|
1121 |
return $nodesMatchingSelector !== false && $nodesMatchingSelector->length !== 0;
|
1122 |
}
|
1165 |
$styleAttribute->value = 'text/css';
|
1166 |
$styleElement->appendChild($styleAttribute);
|
1167 |
|
1168 |
+
$bodyElement = $this->getBodyElement($document);
|
1169 |
+
$bodyElement->appendChild($styleElement);
|
1170 |
}
|
1171 |
|
1172 |
/**
|
1173 |
+
* Checks that $document has a BODY element and adds it if it is missing.
|
1174 |
*
|
1175 |
* @param \DOMDocument $document
|
|
|
|
|
1176 |
*/
|
1177 |
+
private function ensureExistenceOfBodyElement(\DOMDocument $document)
|
1178 |
{
|
1179 |
+
if ($document->getElementsByTagName('body')->item(0) !== null) {
|
1180 |
+
return;
|
1181 |
+
}
|
1182 |
+
|
1183 |
+
$htmlElement = $document->getElementsByTagName('html')->item(0);
|
1184 |
|
1185 |
+
$htmlElement->appendChild($document->createElement('body'));
|
1186 |
+
}
|
1187 |
+
|
1188 |
+
/**
|
1189 |
+
* Returns the BODY element.
|
1190 |
+
*
|
1191 |
+
* This method assumes that there always is a BODY element.
|
1192 |
+
*
|
1193 |
+
* @param \DOMDocument $document
|
1194 |
+
*
|
1195 |
+
* @return \DOMElement
|
1196 |
+
*
|
1197 |
+
* @throws \BadMethodCallException
|
1198 |
+
*/
|
1199 |
+
private function getBodyElement(\DOMDocument $document)
|
1200 |
+
{
|
1201 |
+
$bodyElement = $document->getElementsByTagName('body')->item(0);
|
1202 |
+
if ($bodyElement === null) {
|
1203 |
+
throw new \BadMethodCallException(
|
1204 |
+
'getBodyElement method may only be called after ensureExistenceOfBodyElement has been called.',
|
1205 |
+
1508173775427
|
1206 |
+
);
|
1207 |
}
|
1208 |
|
1209 |
+
return $bodyElement;
|
1210 |
}
|
1211 |
|
1212 |
/**
|
1241 |
|
1242 |
$media = '';
|
1243 |
$cssForAllowedMediaTypes = preg_replace_callback(
|
1244 |
+
'#@media\\s+(?:only\\s)?(?:[\\s{\\(]\\s*' . $mediaTypesExpression . ')\\s*[^{]*+{.*}\\s*}\\s*#misU',
|
1245 |
function ($matches) use (&$media) {
|
1246 |
$media .= $matches[0];
|
1247 |
},
|
1264 |
*
|
1265 |
* @return \DOMDocument
|
1266 |
*/
|
1267 |
+
private function createRawXmlDocument()
|
1268 |
{
|
1269 |
$xmlDocument = new \DOMDocument;
|
1270 |
$xmlDocument->encoding = 'UTF-8';
|
1343 |
*/
|
1344 |
private function addContentTypeMetaTag($html)
|
1345 |
{
|
1346 |
+
$hasContentTypeMetaTag = stripos($html, 'Content-Type') !== false;
|
1347 |
if ($hasContentTypeMetaTag) {
|
1348 |
return $html;
|
1349 |
}
|
1398 |
$precedence = 0;
|
1399 |
$value = 100;
|
1400 |
// ids: worth 100, classes: worth 10, elements: worth 1
|
1401 |
+
$search = ['\\#', '\\.', ''];
|
1402 |
|
1403 |
foreach ($search as $s) {
|
1404 |
if (trim($selector) === '') {
|
1436 |
);
|
1437 |
$trimmedLowercaseSelector = trim($lowercasePaddedSelector);
|
1438 |
$xPathKey = md5($trimmedLowercaseSelector);
|
1439 |
+
if (isset($this->caches[self::CACHE_KEY_XPATH][$xPathKey])) {
|
1440 |
+
return $this->caches[self::CACHE_KEY_SELECTOR][$xPathKey];
|
1441 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1442 |
|
1443 |
+
$hasNotSelector = (bool)preg_match(
|
1444 |
+
'/^([^:]+):not\\(\\s*([[:ascii:]]+)\\s*\\)$/',
|
1445 |
+
$trimmedLowercaseSelector,
|
1446 |
+
$matches
|
1447 |
+
);
|
1448 |
+
if (!$hasNotSelector) {
|
1449 |
+
$xPath = '//' . $this->translateCssToXpathPass($trimmedLowercaseSelector);
|
1450 |
+
} else {
|
1451 |
+
/** @var string[] $matches */
|
1452 |
+
$partBeforeNot = $matches[1];
|
1453 |
+
$notContents = $matches[2];
|
1454 |
+
$xPath = '//' . $this->translateCssToXpathPass($partBeforeNot) .
|
1455 |
+
'[not(' . $this->translateCssToXpathPassInline($notContents) . ')]';
|
1456 |
}
|
1457 |
+
$this->caches[self::CACHE_KEY_SELECTOR][$xPathKey] = $xPath;
|
1458 |
+
|
1459 |
return $this->caches[self::CACHE_KEY_SELECTOR][$xPathKey];
|
1460 |
}
|
1461 |
|
1462 |
+
/**
|
1463 |
+
* Flexibly translates the CSS selector $trimmedLowercaseSelector to an xPath selector.
|
1464 |
+
*
|
1465 |
+
* @param string $trimmedLowercaseSelector
|
1466 |
+
*
|
1467 |
+
* @return string
|
1468 |
+
*/
|
1469 |
+
private function translateCssToXpathPass($trimmedLowercaseSelector)
|
1470 |
+
{
|
1471 |
+
return $this->translateCssToXpathPassWithMatchClassAttributesCallback(
|
1472 |
+
$trimmedLowercaseSelector,
|
1473 |
+
[$this, 'matchClassAttributes']
|
1474 |
+
);
|
1475 |
+
}
|
1476 |
+
|
1477 |
+
/**
|
1478 |
+
* Flexibly translates the CSS selector $trimmedLowercaseSelector to an xPath selector for inline usage.
|
1479 |
+
*
|
1480 |
+
* @param string $trimmedLowercaseSelector
|
1481 |
+
*
|
1482 |
+
* @return string
|
1483 |
+
*/
|
1484 |
+
private function translateCssToXpathPassInline($trimmedLowercaseSelector)
|
1485 |
+
{
|
1486 |
+
return $this->translateCssToXpathPassWithMatchClassAttributesCallback(
|
1487 |
+
$trimmedLowercaseSelector,
|
1488 |
+
[$this, 'matchClassAttributesInline']
|
1489 |
+
);
|
1490 |
+
}
|
1491 |
+
|
1492 |
+
/**
|
1493 |
+
* Flexibly translates the CSS selector $trimmedLowercaseSelector to an xPath selector while using
|
1494 |
+
* $matchClassAttributesCallback as to match the class attributes.
|
1495 |
+
*
|
1496 |
+
* @param string $trimmedLowercaseSelector
|
1497 |
+
* @param callable $matchClassAttributesCallback
|
1498 |
+
*
|
1499 |
+
* @return string
|
1500 |
+
*/
|
1501 |
+
private function translateCssToXpathPassWithMatchClassAttributesCallback(
|
1502 |
+
$trimmedLowercaseSelector,
|
1503 |
+
callable $matchClassAttributesCallback
|
1504 |
+
) {
|
1505 |
+
$roughXpath = preg_replace(array_keys($this->xPathRules), $this->xPathRules, $trimmedLowercaseSelector);
|
1506 |
+
$xPathWithIdAttributeMatchers = preg_replace_callback(
|
1507 |
+
self::ID_ATTRIBUTE_MATCHER,
|
1508 |
+
[$this, 'matchIdAttributes'],
|
1509 |
+
$roughXpath
|
1510 |
+
);
|
1511 |
+
$xPathWithIdAttributeAndClassMatchers = preg_replace_callback(
|
1512 |
+
self::CLASS_ATTRIBUTE_MATCHER,
|
1513 |
+
$matchClassAttributesCallback,
|
1514 |
+
$xPathWithIdAttributeMatchers
|
1515 |
+
);
|
1516 |
+
|
1517 |
+
// Advanced selectors are going to require a bit more advanced emogrification.
|
1518 |
+
$xPathWithIdAttributeAndClassMatchers = preg_replace_callback(
|
1519 |
+
'/([^\\/]+):nth-child\\(\\s*(odd|even|[+\\-]?\\d|[+\\-]?\\d?n(\\s*[+\\-]\\s*\\d)?)\\s*\\)/i',
|
1520 |
+
[$this, 'translateNthChild'],
|
1521 |
+
$xPathWithIdAttributeAndClassMatchers
|
1522 |
+
);
|
1523 |
+
$finalXpath = preg_replace_callback(
|
1524 |
+
'/([^\\/]+):nth-of-type\\(\s*(odd|even|[+\\-]?\\d|[+\\-]?\\d?n(\\s*[+\\-]\\s*\\d)?)\\s*\\)/i',
|
1525 |
+
[$this, 'translateNthOfType'],
|
1526 |
+
$xPathWithIdAttributeAndClassMatchers
|
1527 |
+
);
|
1528 |
+
|
1529 |
+
return $finalXpath;
|
1530 |
+
}
|
1531 |
+
|
1532 |
/**
|
1533 |
* @param string[] $match
|
1534 |
*
|
1542 |
/**
|
1543 |
* @param string[] $match
|
1544 |
*
|
1545 |
+
* @return string xPath class attribute query wrapped in element selector
|
1546 |
*/
|
1547 |
private function matchClassAttributes(array $match)
|
1548 |
{
|
1549 |
+
return ($match[1] !== '' ? $match[1] : '*') . '[' . $this->matchClassAttributesInline($match) . ']';
|
1550 |
+
}
|
1551 |
+
|
1552 |
+
/**
|
1553 |
+
* @param string[] $match
|
1554 |
+
*
|
1555 |
+
* @return string xPath class attribute query
|
1556 |
+
*/
|
1557 |
+
private function matchClassAttributesInline(array $match)
|
1558 |
+
{
|
1559 |
+
return 'contains(concat(" ",@class," "),concat(" ","' .
|
1560 |
implode(
|
1561 |
'"," "))][contains(concat(" ",@class," "),concat(" ","',
|
1562 |
explode('.', substr($match[2], 1))
|
1563 |
+
) . '"," "))';
|
1564 |
}
|
1565 |
|
1566 |
/**
|
1576 |
if ($parseResult[self::MULTIPLIER] < 0) {
|
1577 |
$parseResult[self::MULTIPLIER] = abs($parseResult[self::MULTIPLIER]);
|
1578 |
$xPathExpression = sprintf(
|
1579 |
+
'*[(last() - position()) mod %1%u = %2$u]/self::%3$s',
|
1580 |
$parseResult[self::MULTIPLIER],
|
1581 |
$parseResult[self::INDEX],
|
1582 |
$match[1]
|
1583 |
);
|
1584 |
} else {
|
1585 |
$xPathExpression = sprintf(
|
1586 |
+
'*[position() mod %1$u = %2$u]/self::%3$s',
|
1587 |
$parseResult[self::MULTIPLIER],
|
1588 |
$parseResult[self::INDEX],
|
1589 |
$match[1]
|
1590 |
);
|
1591 |
}
|
1592 |
} else {
|
1593 |
+
$xPathExpression = sprintf('*[%1$u]/self::%2$s', $parseResult[self::INDEX], $match[1]);
|
1594 |
}
|
1595 |
|
1596 |
return $xPathExpression;
|
1609 |
if ($parseResult[self::MULTIPLIER] < 0) {
|
1610 |
$parseResult[self::MULTIPLIER] = abs($parseResult[self::MULTIPLIER]);
|
1611 |
$xPathExpression = sprintf(
|
1612 |
+
'%1$s[(last() - position()) mod %2$u = %3$u]',
|
1613 |
$match[1],
|
1614 |
$parseResult[self::MULTIPLIER],
|
1615 |
$parseResult[self::INDEX]
|
1616 |
);
|
1617 |
} else {
|
1618 |
$xPathExpression = sprintf(
|
1619 |
+
'%1$s[position() mod %2$u = %3$u]',
|
1620 |
$match[1],
|
1621 |
$parseResult[self::MULTIPLIER],
|
1622 |
$parseResult[self::INDEX]
|
1623 |
);
|
1624 |
}
|
1625 |
} else {
|
1626 |
+
$xPathExpression = sprintf('%1$s[%2$u]', $match[1], $parseResult[self::INDEX]);
|
1627 |
}
|
1628 |
|
1629 |
return $xPathExpression;
|
1643 |
}
|
1644 |
if (stripos($match[2], 'n') === false) {
|
1645 |
// if there is a multiplier
|
1646 |
+
$index = (int)str_replace(' ', '', $match[2]);
|
1647 |
return [self::INDEX => $index];
|
1648 |
}
|
1649 |
|
1650 |
if (isset($match[3])) {
|
1651 |
$multipleTerm = str_replace($match[3], '', $match[2]);
|
1652 |
+
$index = (int)str_replace(' ', '', $match[3]);
|
1653 |
} else {
|
1654 |
$multipleTerm = $match[2];
|
1655 |
$index = 0;
|
1662 |
} elseif ($multiplier === '0') {
|
1663 |
return [self::INDEX => $index];
|
1664 |
} else {
|
1665 |
+
$multiplier = (int)$multiplier;
|
1666 |
}
|
1667 |
|
1668 |
while ($index < 0) {
|
1721 |
* @param \DOMXPath $xPath
|
1722 |
*
|
1723 |
* @return \DOMElement[]
|
1724 |
+
*
|
1725 |
+
* @throws \InvalidArgumentException
|
1726 |
*/
|
1727 |
private function getNodesToExclude(\DOMXPath $xPath)
|
1728 |
{
|
1729 |
$excludedNodes = [];
|
1730 |
foreach (array_keys($this->excludedSelectors) as $selectorToExclude) {
|
1731 |
+
try {
|
1732 |
+
$matchingNodes = $xPath->query($this->translateCssToXpath($selectorToExclude));
|
1733 |
+
} catch (\InvalidArgumentException $e) {
|
1734 |
+
if ($this->debug) {
|
1735 |
+
throw $e;
|
1736 |
+
}
|
1737 |
+
continue;
|
1738 |
+
}
|
1739 |
+
foreach ($matchingNodes as $node) {
|
1740 |
$excludedNodes[] = $node;
|
1741 |
}
|
1742 |
}
|
1745 |
}
|
1746 |
|
1747 |
/**
|
1748 |
+
* Handles invalid xPath expression warnings, generated during the process() method,
|
1749 |
+
* during querying \DOMDocument and trigger \InvalidArgumentException with invalid selector
|
1750 |
+
* or \RuntimeException, depending on the source of the warning.
|
1751 |
*
|
1752 |
* @param int $type
|
1753 |
* @param string $message
|
1758 |
* @return bool always false
|
1759 |
*
|
1760 |
* @throws \InvalidArgumentException
|
1761 |
+
* @throws \RuntimeException
|
1762 |
+
*/
|
1763 |
+
public function handleXpathQueryWarnings( // @codingStandardsIgnoreLine
|
1764 |
+
$type,
|
1765 |
+
$message,
|
1766 |
+
$file,
|
1767 |
+
$line,
|
1768 |
+
array $context
|
1769 |
+
) {
|
1770 |
+
$selector = '';
|
1771 |
+
if (isset($context['cssRule']['selector'])) {
|
1772 |
+
// warnings generated by invalid/unrecognized selectors in method process()
|
1773 |
+
$selector = $context['cssRule']['selector'];
|
1774 |
+
} elseif (isset($context['selectorToExclude'])) {
|
1775 |
+
// warnings generated by invalid/unrecognized selectors in method getNodesToExclude()
|
1776 |
+
$selector = $context['selectorToExclude'];
|
1777 |
+
} elseif (isset($context['cssSelector'])) {
|
1778 |
+
// warnings generated by invalid/unrecognized selectors in method existsMatchForCssSelector()
|
1779 |
+
$selector = $context['cssSelector'];
|
1780 |
+
}
|
1781 |
+
|
1782 |
+
if ($selector !== '') {
|
1783 |
throw new \InvalidArgumentException(
|
1784 |
+
sprintf('%1$s in selector >> %2$s << in %3$s on line %4$u', $message, $selector, $file, $line),
|
1785 |
+
1509279985
|
1786 |
+
);
|
1787 |
+
}
|
1788 |
+
|
1789 |
+
// Catches eventual warnings generated by method getAllNodesWithStyleAttribute()
|
1790 |
+
if (isset($context['xPath'])) {
|
1791 |
+
throw new \RuntimeException(
|
1792 |
+
sprintf('%1$s in %2$s on line %3$u', $message, $file, $line),
|
1793 |
+
1509280067
|
1794 |
);
|
1795 |
}
|
1796 |
|
app/Services/FormBuilder/BaseFieldManager.php
ADDED
@@ -0,0 +1,108 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace FluentForm\App\Services\FormBuilder;
|
4 |
+
use FluentForm\App\Services\FormBuilder\Components\BaseComponent;
|
5 |
+
|
6 |
+
abstract class BaseFieldManager extends BaseComponent
|
7 |
+
{
|
8 |
+
protected $key = '';
|
9 |
+
protected $position = 'advanced';
|
10 |
+
protected $title = '';
|
11 |
+
protected $tags = [];
|
12 |
+
|
13 |
+
public function __construct($key, $title, $tags = [], $position = 'advanced')
|
14 |
+
{
|
15 |
+
$this->key = $key;
|
16 |
+
$this->position = $position;
|
17 |
+
$this->title = $title;
|
18 |
+
$this->tags = $tags;
|
19 |
+
add_action( 'fluentform-loaded', array($this, 'register'));
|
20 |
+
}
|
21 |
+
|
22 |
+
public function register()
|
23 |
+
{
|
24 |
+
add_filter('fluent_editor_components', array($this, 'pushComponent'));
|
25 |
+
add_filter( 'fluent_editor_element_settings_placement', array($this, 'pushEditorElementPositions'));
|
26 |
+
add_filter('fluent_editor_element_search_tags', function ($tags) {
|
27 |
+
$tags[$this->key] = $this->tags;
|
28 |
+
return $tags;
|
29 |
+
});
|
30 |
+
add_action('fluentform_render_item_'.$this->key, array($this, 'render'), 10, 2);
|
31 |
+
/*
|
32 |
+
* This is internal use.
|
33 |
+
* Push field type to the fluentform field types to be available in FormFieldParser.
|
34 |
+
*/
|
35 |
+
add_filter( 'fluentform_form_input_types', function ( $types ) {
|
36 |
+
$types[] = $this->key;
|
37 |
+
return $types;
|
38 |
+
} );
|
39 |
+
|
40 |
+
add_filter('fluent_editor_element_customization_settings', function($settings) {
|
41 |
+
if($customSettings = $this->getEditorCustomizationSettings()) {
|
42 |
+
$settings = array_merge($settings, $customSettings);
|
43 |
+
}
|
44 |
+
return $settings;
|
45 |
+
});
|
46 |
+
}
|
47 |
+
|
48 |
+
public function pushComponent($components)
|
49 |
+
{
|
50 |
+
$component = $this->getComponent();
|
51 |
+
if($component) {
|
52 |
+
$components[$this->position][] = $component;
|
53 |
+
}
|
54 |
+
return $components;
|
55 |
+
}
|
56 |
+
|
57 |
+
public function pushEditorElementPositions($placement_settings)
|
58 |
+
{
|
59 |
+
$placement_settings[$this->key] = array(
|
60 |
+
'general' => $this->getGeneralEditorElements(),
|
61 |
+
'advanced' => $this->getAdvancedEditorElements(),
|
62 |
+
'generalExtras' => $this->generalEditorElement(),
|
63 |
+
'advancedExtras' => $this->advancedEditorElement()
|
64 |
+
);
|
65 |
+
return $placement_settings;
|
66 |
+
}
|
67 |
+
|
68 |
+
public function generalEditorElement()
|
69 |
+
{
|
70 |
+
return [];
|
71 |
+
}
|
72 |
+
|
73 |
+
public function advancedEditorElement()
|
74 |
+
{
|
75 |
+
return [];
|
76 |
+
}
|
77 |
+
|
78 |
+
public function getGeneralEditorElements()
|
79 |
+
{
|
80 |
+
return [
|
81 |
+
'label',
|
82 |
+
'admin_field_label',
|
83 |
+
'placeholder',
|
84 |
+
'label_placement',
|
85 |
+
'validation_rules',
|
86 |
+
];
|
87 |
+
}
|
88 |
+
|
89 |
+
public function getAdvancedEditorElements()
|
90 |
+
{
|
91 |
+
return [
|
92 |
+
'name',
|
93 |
+
'help_message',
|
94 |
+
'container_class',
|
95 |
+
'class',
|
96 |
+
'conditional_logics',
|
97 |
+
];
|
98 |
+
}
|
99 |
+
|
100 |
+
public function getEditorCustomizationSettings()
|
101 |
+
{
|
102 |
+
return [];
|
103 |
+
}
|
104 |
+
|
105 |
+
abstract function getComponent();
|
106 |
+
|
107 |
+
abstract function render($element, $form);
|
108 |
+
}
|
app/Services/FormBuilder/Components/Rating.php
CHANGED
@@ -16,7 +16,7 @@ class Rating extends BaseComponent
|
|
16 |
|
17 |
$defaultValues = (array) $this->extractValueFromAttributes($data);
|
18 |
|
19 |
-
$elMarkup = "<div class='ff-el-ratings
|
20 |
$ratingText = "";
|
21 |
|
22 |
foreach ( $data['options'] as $value => $label ) {
|
16 |
|
17 |
$defaultValues = (array) $this->extractValueFromAttributes($data);
|
18 |
|
19 |
+
$elMarkup = "<div class='ff-el-ratings jss-ff-el-ratings'>";
|
20 |
$ratingText = "";
|
21 |
|
22 |
foreach ( $data['options'] as $value => $label ) {
|
app/Services/FormBuilder/Components/SubmitButton.php
CHANGED
@@ -2,49 +2,92 @@
|
|
2 |
|
3 |
namespace FluentForm\App\Services\FormBuilder\Components;
|
4 |
|
|
|
|
|
5 |
class SubmitButton extends BaseComponent
|
6 |
{
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
$align = 'ff-el-group ff-text-'. @$data['settings']['align'];
|
22 |
$data['attributes']['class'] = trim(
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
$data['attributes']['class']
|
27 |
);
|
28 |
-
$atts = $this->buildAttributes($data['attributes']);
|
29 |
-
$cls = trim($align.' '.$data['settings']['container_class']);
|
30 |
-
|
31 |
-
$inline_styles = "style='background-color: $backgroundColor; color: $color;'";
|
32 |
|
33 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
|
35 |
-
|
36 |
-
|
|
|
|
|
37 |
if ($data['settings']['button_ui']['type'] == 'default') {
|
38 |
-
|
39 |
-
'
|
40 |
-
.'</button>';
|
41 |
} else {
|
42 |
echo "<button class='ff-btn-submit' type='submit'><img style='max-width: 200px;' src='{$data['settings']['button_ui']['img_url']}' alt='Submit Form'></button>";
|
43 |
}
|
44 |
} else {
|
45 |
-
echo '<button '
|
|
|
|
|
|
|
|
|
46 |
}
|
47 |
|
48 |
-
|
49 |
-
|
50 |
}
|
2 |
|
3 |
namespace FluentForm\App\Services\FormBuilder\Components;
|
4 |
|
5 |
+
use FluentForm\Framework\Helpers\ArrayHelper;
|
6 |
+
|
7 |
class SubmitButton extends BaseComponent
|
8 |
{
|
9 |
+
/**
|
10 |
+
* Compile and echo the html element
|
11 |
+
* @param array $data [element data]
|
12 |
+
* @param stdClass $form [Form Object]
|
13 |
+
* @return viod
|
14 |
+
*/
|
15 |
+
public function compile($data, $form)
|
16 |
+
{
|
17 |
+
$btnSize = 'ff-btn-';
|
18 |
+
$color = isset($data['settings']['color']) ? $data['settings']['color'] : '#ffffff';
|
19 |
+
$btnSize .= isset($data['settings']['button_size']) ? $data['settings']['button_size'] : 'md';
|
20 |
+
$backgroundColor = isset($data['settings']['background_color']) ? $data['settings']['background_color'] : '#409EFF';
|
21 |
+
$oldBtnType = isset($data['settings']['button_style']) ? '' : ' ff-btn-primary ';
|
22 |
+
|
23 |
+
$align = 'ff-el-group ff-text-' . @$data['settings']['align'];
|
24 |
$data['attributes']['class'] = trim(
|
25 |
+
'ff-btn ff-btn-submit ' . ' ' .
|
26 |
+
$oldBtnType . ' ' .
|
27 |
+
$btnSize . ' ' .
|
28 |
$data['attributes']['class']
|
29 |
);
|
|
|
|
|
|
|
|
|
30 |
|
31 |
+
$styles = '';
|
32 |
+
if (ArrayHelper::get($data, 'settings.button_style') == '') {
|
33 |
+
$data['attributes']['class'] .= ' wpf_has_custom_css';
|
34 |
+
// it's a custom button
|
35 |
+
$buttonActiveStyles = ArrayHelper::get($data, 'settings.normal_styles', []);
|
36 |
+
$buttonHoverStyles = ArrayHelper::get($data, 'settings.hover_styles', []);
|
37 |
+
|
38 |
+
$activeStates = '';
|
39 |
+
foreach ($buttonActiveStyles as $styleAtr => $styleValue) {
|
40 |
+
if (!$styleValue) {
|
41 |
+
continue;
|
42 |
+
}
|
43 |
+
if ($styleAtr == 'borderRadius') {
|
44 |
+
$styleValue .= 'px';
|
45 |
+
}
|
46 |
+
$activeStates .= ltrim(strtolower(preg_replace('/[A-Z]([A-Z](?![a-z]))*/', '-$0', $styleAtr)), '_') . ':' . $styleValue . ';';
|
47 |
+
}
|
48 |
+
if ($activeStates) {
|
49 |
+
$styles .= 'form.fluent_form_' . $form->id . ' .wpf_has_custom_css.ff-btn-submit { ' . $activeStates . ' }';
|
50 |
+
}
|
51 |
+
$hoverStates = '';
|
52 |
+
foreach ($buttonHoverStyles as $styleAtr => $styleValue) {
|
53 |
+
if (!$styleValue) {
|
54 |
+
continue;
|
55 |
+
}
|
56 |
+
if ($styleAtr == 'borderRadius') {
|
57 |
+
$styleValue .= 'px';
|
58 |
+
}
|
59 |
+
$hoverStates .= ltrim(strtolower(preg_replace('/[A-Z]([A-Z](?![a-z]))*/', '-$0', $styleAtr)), '-') . ':' . $styleValue . ';';
|
60 |
+
}
|
61 |
+
if ($hoverStates) {
|
62 |
+
$styles .= 'form.fluent_form_' . $form->id . ' .wpf_has_custom_css.ff-btn-submit:hover { ' . $hoverStates . ' } ';
|
63 |
+
}
|
64 |
+
} else {
|
65 |
+
$styles .= 'form.fluent_form_' . $form->id . ' .ff-btn-submit { background-color: '.ArrayHelper::get($data, 'settings.background_color').'; color: '.ArrayHelper::get($data, 'settings.color').'; }';
|
66 |
+
}
|
67 |
+
|
68 |
+
$atts = $this->buildAttributes($data['attributes']);
|
69 |
+
$cls = trim($align . ' ' . $data['settings']['container_class']);
|
70 |
+
|
71 |
|
72 |
+
echo "<div class='{$cls}'>";
|
73 |
+
|
74 |
+
// ADDED IN v1.2.6 - updated in 1.4.4
|
75 |
+
if (isset($data['settings']['button_ui'])) {
|
76 |
if ($data['settings']['button_ui']['type'] == 'default') {
|
77 |
+
echo '<button ' . $atts . '>
|
78 |
+
' . $data['settings']['button_ui']['text']
|
79 |
+
. '</button>';
|
80 |
} else {
|
81 |
echo "<button class='ff-btn-submit' type='submit'><img style='max-width: 200px;' src='{$data['settings']['button_ui']['img_url']}' alt='Submit Form'></button>";
|
82 |
}
|
83 |
} else {
|
84 |
+
echo '<button ' . $atts . '>' . $data['settings']['btn_text'] . '</button>';
|
85 |
+
}
|
86 |
+
|
87 |
+
if($styles) {
|
88 |
+
echo '<style>'.$styles.'</style>';
|
89 |
}
|
90 |
|
91 |
+
echo '</div>';
|
92 |
+
}
|
93 |
}
|
app/Services/FormBuilder/Components/Text.php
CHANGED
@@ -2,6 +2,8 @@
|
|
2 |
|
3 |
namespace FluentForm\App\Services\FormBuilder\Components;
|
4 |
|
|
|
|
|
5 |
class Text extends BaseComponent
|
6 |
{
|
7 |
/**
|
@@ -18,10 +20,40 @@ class Text extends BaseComponent
|
|
18 |
$this->enqueueStyleAndScripts();
|
19 |
}
|
20 |
|
|
|
21 |
if ( isset($data['settings']['temp_mask']) && $data['settings']['temp_mask'] != 'custom' ) {
|
22 |
$data['attributes']['data-mask'] = $data['settings']['temp_mask'];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
}
|
24 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
|
26 |
// For hidden input
|
27 |
if ($data['attributes']['type'] == 'hidden') {
|
@@ -46,12 +78,5 @@ class Text extends BaseComponent
|
|
46 |
protected function enqueueStyleAndScripts()
|
47 |
{
|
48 |
// Script
|
49 |
-
wp_enqueue_script(
|
50 |
-
'jquery-mask',
|
51 |
-
$this->app->publicUrl('libs/jquery.mask.min.js'),
|
52 |
-
array('jquery'),
|
53 |
-
false,
|
54 |
-
true
|
55 |
-
);
|
56 |
}
|
57 |
}
|
2 |
|
3 |
namespace FluentForm\App\Services\FormBuilder\Components;
|
4 |
|
5 |
+
use FluentForm\Framework\Helpers\ArrayHelper;
|
6 |
+
|
7 |
class Text extends BaseComponent
|
8 |
{
|
9 |
/**
|
20 |
$this->enqueueStyleAndScripts();
|
21 |
}
|
22 |
|
23 |
+
// </mask input>
|
24 |
if ( isset($data['settings']['temp_mask']) && $data['settings']['temp_mask'] != 'custom' ) {
|
25 |
$data['attributes']['data-mask'] = $data['settings']['temp_mask'];
|
26 |
+
|
27 |
+
wp_enqueue_script(
|
28 |
+
'jquery-mask',
|
29 |
+
$this->app->publicUrl('libs/jquery.mask.min.js'),
|
30 |
+
array('jquery'),
|
31 |
+
false,
|
32 |
+
true
|
33 |
+
);
|
34 |
+
|
35 |
}
|
36 |
+
|
37 |
+
|
38 |
+
if($data['element'] == 'input_number') {
|
39 |
+
if(
|
40 |
+
ArrayHelper::get($data, 'settings.calculation_settings.status') &&
|
41 |
+
$formula = ArrayHelper::get($data, 'settings.calculation_settings.formula')
|
42 |
+
) {
|
43 |
+
$data['attributes']['data-calculation_formula'] = $formula;
|
44 |
+
$data['attributes']['class'] .= ' ff_has_formula';
|
45 |
+
$data['attributes']['readonly'] = true;
|
46 |
+
$data['attributes']['type'] = 'text';
|
47 |
+
}
|
48 |
+
|
49 |
+
if($min = ArrayHelper::get($data, 'settings.validation_rules.min.value')) {
|
50 |
+
$data['attributes']['min'] = $min;
|
51 |
+
}
|
52 |
+
|
53 |
+
if($max = ArrayHelper::get($data, 'settings.validation_rules.max.value')) {
|
54 |
+
$data['attributes']['max'] = $max;
|
55 |
+
}
|
56 |
+
}
|
57 |
|
58 |
// For hidden input
|
59 |
if ($data['attributes']['type'] == 'hidden') {
|
78 |
protected function enqueueStyleAndScripts()
|
79 |
{
|
80 |
// Script
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
81 |
}
|
82 |
}
|
app/Services/FormBuilder/DefaultElements.php
CHANGED
@@ -104,7 +104,7 @@ return array(
|
|
104 |
'editor_options' => array (
|
105 |
'title' => 'Name Fields',
|
106 |
'element' => 'name-fields',
|
107 |
-
'icon_class' => '
|
108 |
'template' => 'nameFields'
|
109 |
),
|
110 |
),
|
@@ -117,7 +117,7 @@ return array(
|
|
117 |
'value' => '',
|
118 |
'id' => '',
|
119 |
'class' => '',
|
120 |
-
'placeholder' => '',
|
121 |
),
|
122 |
'settings' => array (
|
123 |
'container_class' => '',
|
@@ -139,7 +139,7 @@ return array(
|
|
139 |
),
|
140 |
'editor_options' => array (
|
141 |
'title' => __('Email Address', 'fluentform'),
|
142 |
-
'icon_class' => '
|
143 |
'template' => 'inputText'
|
144 |
),
|
145 |
),
|
@@ -169,7 +169,7 @@ return array(
|
|
169 |
),
|
170 |
'editor_options' => array (
|
171 |
'title' => __('Simple Text', 'fluentform'),
|
172 |
-
'icon_class' => '
|
173 |
'template' => 'inputText'
|
174 |
)
|
175 |
),
|
@@ -201,7 +201,7 @@ return array(
|
|
201 |
),
|
202 |
'editor_options' => array (
|
203 |
'title' => __('Mask Input', 'fluentform'),
|
204 |
-
'icon_class' => '
|
205 |
'template' => 'inputText'
|
206 |
)
|
207 |
),
|
@@ -233,7 +233,7 @@ return array(
|
|
233 |
),
|
234 |
'editor_options' => array (
|
235 |
'title' => __('Text Area', 'fluentform'),
|
236 |
-
'icon_class' => '
|
237 |
'template' => 'inputTextarea'
|
238 |
),
|
239 |
),
|
@@ -441,50 +441,10 @@ return array(
|
|
441 |
'editor_options' => array (
|
442 |
'title' => __('Address Fields', 'fluentform'),
|
443 |
'element' => 'address-fields',
|
444 |
-
'icon_class' => '
|
445 |
'template' => 'addressFields'
|
446 |
),
|
447 |
),
|
448 |
-
'select_country' => array (
|
449 |
-
'index' => 5,
|
450 |
-
'element' => 'select_country',
|
451 |
-
'attributes' => array (
|
452 |
-
'name' => 'country-list',
|
453 |
-
'value' => '',
|
454 |
-
'id' => '',
|
455 |
-
'class' => '',
|
456 |
-
'placeholder' => '',
|
457 |
-
),
|
458 |
-
'settings' => array (
|
459 |
-
'container_class' => '',
|
460 |
-
'label' => __('Country', 'fluentform'),
|
461 |
-
'admin_field_label' => '',
|
462 |
-
'label_placement' => '',
|
463 |
-
'help_message' => '',
|
464 |
-
'validation_rules' => array (
|
465 |
-
'required' => array (
|
466 |
-
'value' => false,
|
467 |
-
'message' => __('This field is required', 'fluentform'),
|
468 |
-
),
|
469 |
-
),
|
470 |
-
'country_list' => array (
|
471 |
-
'active_list' => 'all',
|
472 |
-
'visible_list' => array (),
|
473 |
-
'hidden_list' => array (),
|
474 |
-
),
|
475 |
-
'conditional_logics' => array (),
|
476 |
-
),
|
477 |
-
'options' => array (
|
478 |
-
'BD' => 'Bangladesh',
|
479 |
-
'US' => 'United States of America',
|
480 |
-
),
|
481 |
-
'editor_options' => array (
|
482 |
-
'title' => __('Country List', 'fluentform'),
|
483 |
-
'element' => 'country-list',
|
484 |
-
'icon_class' => 'icon-globe',
|
485 |
-
'template' => 'selectCountry'
|
486 |
-
),
|
487 |
-
),
|
488 |
'input_number' => array (
|
489 |
'index' => 6,
|
490 |
'element' => 'input_number',
|
@@ -494,12 +454,12 @@ return array(
|
|
494 |
'value' => '',
|
495 |
'id' => '',
|
496 |
'class' => '',
|
497 |
-
'placeholder' => ''
|
498 |
),
|
499 |
'settings' => array (
|
500 |
'container_class' => '',
|
501 |
'label' => __('Numeric Field', 'fluentform'),
|
502 |
-
'admin_field_label' => '
|
503 |
'label_placement' => '',
|
504 |
'help_message' => '',
|
505 |
'validation_rules' => array (
|
@@ -521,10 +481,14 @@ return array(
|
|
521 |
),
|
522 |
),
|
523 |
'conditional_logics' => array (),
|
|
|
|
|
|
|
|
|
524 |
),
|
525 |
'editor_options' => array (
|
526 |
'title' => __('Numeric Field', 'fluentform'),
|
527 |
-
'icon_class' => '
|
528 |
'template' => 'inputText'
|
529 |
),
|
530 |
),
|
@@ -558,7 +522,7 @@ return array(
|
|
558 |
),
|
559 |
'editor_options' => array (
|
560 |
'title' => __('Dropdown', 'fluentform'),
|
561 |
-
'icon_class' => '
|
562 |
'element' => 'select',
|
563 |
'template' => 'select'
|
564 |
)
|
@@ -592,7 +556,7 @@ return array(
|
|
592 |
),
|
593 |
'editor_options' => array (
|
594 |
'title' => __('Radio Button', 'fluentform'),
|
595 |
-
'icon_class' => '
|
596 |
'element' => 'input-radio',
|
597 |
'template' => 'inputRadio'
|
598 |
),
|
@@ -627,7 +591,7 @@ return array(
|
|
627 |
),
|
628 |
'editor_options' => array (
|
629 |
'title' => __('Check Box', 'fluentform'),
|
630 |
-
'icon_class' => '
|
631 |
'template' => 'inputCheckbox'
|
632 |
),
|
633 |
),
|
@@ -635,10 +599,11 @@ return array(
|
|
635 |
'index' => 10,
|
636 |
'element' => 'select',
|
637 |
'attributes' => array (
|
638 |
-
'name' => '
|
639 |
'value' => array (),
|
640 |
'id' => '',
|
641 |
'class' => '',
|
|
|
642 |
'multiple' => true,
|
643 |
),
|
644 |
'settings' => array (
|
@@ -647,6 +612,7 @@ return array(
|
|
647 |
'label' => __('Multiselect', 'fluentform'),
|
648 |
'admin_field_label' => '',
|
649 |
'label_placement' => '',
|
|
|
650 |
'validation_rules' => array (
|
651 |
'required' => array (
|
652 |
'value' => false,
|
@@ -661,7 +627,7 @@ return array(
|
|
661 |
),
|
662 |
'editor_options' => array (
|
663 |
'title' => __('Multiple Choice', 'fluentform'),
|
664 |
-
'icon_class' => '
|
665 |
'element' => 'select',
|
666 |
'template' => 'select'
|
667 |
)
|
@@ -696,16 +662,16 @@ return array(
|
|
696 |
),
|
697 |
'editor_options' => array (
|
698 |
'title' => __('Website URL', 'fluentform'),
|
699 |
-
'icon_class' => '
|
700 |
'template' => 'inputText'
|
701 |
)
|
702 |
),
|
703 |
-
'
|
704 |
-
|
705 |
-
'element' => '
|
706 |
'attributes' => array (
|
707 |
-
'type' => '
|
708 |
-
'name' => '
|
709 |
'value' => '',
|
710 |
'id' => '',
|
711 |
'class' => '',
|
@@ -713,59 +679,73 @@ return array(
|
|
713 |
),
|
714 |
'settings' => array (
|
715 |
'container_class' => '',
|
716 |
-
'label' => __('
|
717 |
'admin_field_label' => '',
|
718 |
'label_placement' => '',
|
|
|
719 |
'help_message' => '',
|
|
|
720 |
'validation_rules' => array (
|
721 |
'required' => array (
|
722 |
'value' => false,
|
723 |
'message' => __('This field is required', 'fluentform'),
|
724 |
-
)
|
725 |
),
|
726 |
'conditional_logics' => array (),
|
727 |
),
|
728 |
'editor_options' => array (
|
729 |
-
'title' => __('Password Field', 'flu
|
104 |
'editor_options' => array (
|
105 |
'title' => 'Name Fields',
|
106 |
'element' => 'name-fields',
|
107 |
+
'icon_class' => 'ff-edit-name',
|
108 |
'template' => 'nameFields'
|
109 |
),
|
110 |
),
|
117 |
'value' => '',
|
118 |
'id' => '',
|
119 |
'class' => '',
|
120 |
+
'placeholder' => 'Email Address',
|
121 |
),
|
122 |
'settings' => array (
|
123 |
'container_class' => '',
|
139 |
),
|
140 |
'editor_options' => array (
|
141 |
'title' => __('Email Address', 'fluentform'),
|
142 |
+
'icon_class' => 'ff-edit-email',
|
143 |
'template' => 'inputText'
|
144 |
),
|
145 |
),
|
169 |
),
|
170 |
'editor_options' => array (
|
171 |
'title' => __('Simple Text', 'fluentform'),
|
172 |
+
'icon_class' => 'ff-edit-text',
|
173 |
'template' => 'inputText'
|
174 |
)
|
175 |
),
|
201 |
),
|
202 |
'editor_options' => array (
|
203 |
'title' => __('Mask Input', 'fluentform'),
|
204 |
+
'icon_class' => 'ff-edit-mask',
|
205 |
'template' => 'inputText'
|
206 |
)
|
207 |
),
|
233 |
),
|
234 |
'editor_options' => array (
|
235 |
'title' => __('Text Area', 'fluentform'),
|
236 |
+
'icon_class' => 'ff-edit-textarea',
|
237 |
'template' => 'inputTextarea'
|
238 |
),
|
239 |
),
|
441 |
'editor_options' => array (
|
442 |
'title' => __('Address Fields', 'fluentform'),
|
443 |
'element' => 'address-fields',
|
444 |
+
'icon_class' => 'ff-edit-address',
|
445 |
'template' => 'addressFields'
|
446 |
),
|
447 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
448 |
'input_number' => array (
|
449 |
'index' => 6,
|
450 |
'element' => 'input_number',
|
454 |
'value' => '',
|
455 |
'id' => '',
|
456 |
'class' => '',
|
457 |
+
'placeholder' => ''
|
458 |
),
|
459 |
'settings' => array (
|
460 |
'container_class' => '',
|
461 |
'label' => __('Numeric Field', 'fluentform'),
|
462 |
+
'admin_field_label' => '',
|
463 |
'label_placement' => '',
|
464 |
'help_message' => '',
|
465 |
'validation_rules' => array (
|
481 |
),
|
482 |
),
|
483 |
'conditional_logics' => array (),
|
484 |
+
'calculation_settings' => array(
|
485 |
+
'status' => false,
|
486 |
+
'formula' => ''
|
487 |
+
),
|
488 |
),
|
489 |
'editor_options' => array (
|
490 |
'title' => __('Numeric Field', 'fluentform'),
|
491 |
+
'icon_class' => 'ff-edit-numeric',
|
492 |
'template' => 'inputText'
|
493 |
),
|
494 |
),
|
522 |
),
|
523 |
'editor_options' => array (
|
524 |
'title' => __('Dropdown', 'fluentform'),
|
525 |
+
'icon_class' => 'ff-edit-dropdown',
|
526 |
'element' => 'select',
|
527 |
'template' => 'select'
|
528 |
)
|
556 |
),
|
557 |
'editor_options' => array (
|
558 |
'title' => __('Radio Button', 'fluentform'),
|
559 |
+
'icon_class' => 'ff-edit-radio',
|
560 |
'element' => 'input-radio',
|
561 |
'template' => 'inputRadio'
|
562 |
),
|
591 |
),
|
592 |
'editor_options' => array (
|
593 |
'title' => __('Check Box', 'fluentform'),
|
594 |
+
'icon_class' => 'ff-edit-checkbox-1',
|
595 |
'template' => 'inputCheckbox'
|
596 |
),
|
597 |
),
|
599 |
'index' => 10,
|
600 |
'element' => 'select',
|
601 |
'attributes' => array (
|
602 |
+
'name' => 'multi_select',
|
603 |
'value' => array (),
|
604 |
'id' => '',
|
605 |
'class' => '',
|
606 |
+
'placeholder' => '',
|
607 |
'multiple' => true,
|
608 |
),
|
609 |
'settings' => array (
|
612 |
'label' => __('Multiselect', 'fluentform'),
|
613 |
'admin_field_label' => '',
|
614 |
'label_placement' => '',
|
615 |
+
'placeholder' => '',
|
616 |
'validation_rules' => array (
|
617 |
'required' => array (
|
618 |
'value' => false,
|
627 |
),
|
628 |
'editor_options' => array (
|
629 |
'title' => __('Multiple Choice', 'fluentform'),
|
630 |
+
'icon_class' => 'ff-edit-multiple-choice',
|
631 |
'element' => 'select',
|
632 |
'template' => 'select'
|
633 |
)
|
662 |
),
|
663 |
'editor_options' => array (
|
664 |
'title' => __('Website URL', 'fluentform'),
|
665 |
+
'icon_class' => 'ff-edit-website-url',
|
666 |
'template' => 'inputText'
|
667 |
)
|
668 |
),
|
669 |
+
'input_date' => array (
|
670 |
+
'index' => 13,
|
671 |
+
'element' => 'input_date',
|
672 |
'attributes' => array (
|
673 |
+
'type' => 'text',
|
674 |
+
'name' => 'datetime',
|
675 |
'value' => '',
|
676 |
'id' => '',
|
677 |
'class' => '',
|
679 |
),
|
680 |
'settings' => array (
|
681 |
'container_class' => '',
|
682 |
+
'label' => __('Date / Time', 'fluentform'),
|
683 |
'admin_field_label' => '',
|
684 |
'label_placement' => '',
|
685 |
+
'date_format' => 'd/m/Y',
|
686 |
'help_message' => '',
|
687 |
+
'is_time_enabled' => true,
|
688 |
'validation_rules' => array (
|
689 |
'required' => array (
|
690 |
'value' => false,
|
691 |
'message' => __('This field is required', 'fluentform'),
|
692 |
+
)
|
693 |
),
|
694 |
'conditional_logics' => array (),
|
695 |
),
|
696 |
'editor_options' => array (
|
|