Version Description
Changed: Field validation errors and notifications
Added: Realtime field validation
Changed: Improved NL translation
Fixed: Bug on verified emails
Download this release
Release Info
Developer | webdorado |
Plugin | Form Maker by WD – user-friendly drag & drop Form Builder plugin |
Version | 1.10 |
Comparing to | |
See all releases |
Code changes from version 1.9.18 to 1.10
- css/form_maker_frontend.css +7 -0
- form-maker.php +2 -2
- frontend/models/FMModelForm_maker.php +14 -19
- frontend/views/FMViewForm_maker.php +707 -624
- js/main_div_front_end.js +1 -1
- languages/form_maker-nl_NL.mo +0 -0
- languages/form_maker-nl_NL.po +507 -506
- readme.txt +10 -1
css/form_maker_frontend.css
CHANGED
@@ -78,3 +78,10 @@ color: #FFFFFF !important;
|
|
78 |
.ui-icon, .ui-widget-content .ui-icon {
|
79 |
background-image: url(images/ui-icons_222222_256x240.png) !important;
|
80 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
78 |
.ui-icon, .ui-widget-content .ui-icon {
|
79 |
background-image: url(images/ui-icons_222222_256x240.png) !important;
|
80 |
}
|
81 |
+
.error_label, .error_label_confirm, .error_label_exp, .error_label_price, .error_label_upload, .error_label_check_mail, .error_label_check_pass{
|
82 |
+
color:#ff0000 !important;
|
83 |
+
}
|
84 |
+
.fm-not-filled{
|
85 |
+
color:#ff0000;
|
86 |
+
font-size: 13px;
|
87 |
+
}
|
form-maker.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Form Maker
|
4 |
* Plugin URI: https://web-dorado.com/products/form-maker-wordpress.html
|
5 |
* Description: This plugin is a modern and advanced tool for easy and fast creating of a WordPress Form. The backend interface is intuitive and user friendly which allows users far from scripting and programming to create WordPress Forms.
|
6 |
-
* Version: 1.
|
7 |
* Author: WebDorado
|
8 |
* Author URI: https://web-dorado.com/
|
9 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
@@ -272,7 +272,7 @@ function register_fmemailverification_cpt(){
|
|
272 |
// Activate plugin.
|
273 |
function form_maker_activate() {
|
274 |
$version = get_option("wd_form_maker_version");
|
275 |
-
$new_version = '1.
|
276 |
global $wpdb;
|
277 |
if (!$version) {
|
278 |
add_option("wd_form_maker_version", $new_version, '', 'no');
|
3 |
* Plugin Name: Form Maker
|
4 |
* Plugin URI: https://web-dorado.com/products/form-maker-wordpress.html
|
5 |
* Description: This plugin is a modern and advanced tool for easy and fast creating of a WordPress Form. The backend interface is intuitive and user friendly which allows users far from scripting and programming to create WordPress Forms.
|
6 |
+
* Version: 1.10
|
7 |
* Author: WebDorado
|
8 |
* Author URI: https://web-dorado.com/
|
9 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
272 |
// Activate plugin.
|
273 |
function form_maker_activate() {
|
274 |
$version = get_option("wd_form_maker_version");
|
275 |
+
$new_version = '1.10';
|
276 |
global $wpdb;
|
277 |
if (!$version) {
|
278 |
add_option("wd_form_maker_version", $new_version, '', 'no');
|
frontend/models/FMModelForm_maker.php
CHANGED
@@ -74,9 +74,8 @@ class FMModelForm_maker {
|
|
74 |
$correct = TRUE;
|
75 |
}
|
76 |
else {
|
77 |
-
|
78 |
-
|
79 |
-
<?php
|
80 |
}
|
81 |
}
|
82 |
elseif (isset($_POST["arithmetic_captcha_input"])) {
|
@@ -86,9 +85,8 @@ class FMModelForm_maker {
|
|
86 |
$correct = TRUE;
|
87 |
}
|
88 |
else {
|
89 |
-
|
90 |
-
|
91 |
-
<?php
|
92 |
}
|
93 |
}
|
94 |
elseif (isset($_POST["g-recaptcha-response"])){
|
@@ -118,9 +116,8 @@ class FMModelForm_maker {
|
|
118 |
if ($jsonResponse->success == "true")
|
119 |
$correct = TRUE;
|
120 |
else {
|
121 |
-
|
122 |
-
|
123 |
-
<?php
|
124 |
}
|
125 |
}
|
126 |
else {
|
@@ -142,6 +139,9 @@ class FMModelForm_maker {
|
|
142 |
$all_files = $result_temp[0];
|
143 |
if (is_numeric($all_files)) {
|
144 |
$this->remove($all_files, $id_for_old);
|
|
|
|
|
|
|
145 |
}
|
146 |
elseif (isset($counter)) {
|
147 |
$this->gen_mail($counter, $all_files, $id_for_old, $result_temp[1]);
|
@@ -382,8 +382,7 @@ class FMModelForm_maker {
|
|
382 |
$fileSize = $files['size'][$file_key];
|
383 |
|
384 |
if($fileSize > $max_size * 1024) {
|
385 |
-
|
386 |
-
return array($max+1);
|
387 |
}
|
388 |
|
389 |
$uploadedFileNameParts = explode('.',$fileName);
|
@@ -401,8 +400,7 @@ class FMModelForm_maker {
|
|
401 |
}
|
402 |
|
403 |
if ($extOk == false) {
|
404 |
-
|
405 |
-
return array($max+1);
|
406 |
}
|
407 |
|
408 |
$fileTemp = $files['tmp_name'][$file_key];
|
@@ -485,8 +483,7 @@ class FMModelForm_maker {
|
|
485 |
// dropbox and google drive integration addons
|
486 |
if($form->save_uploads == 1){
|
487 |
if(!move_uploaded_file($fileTemp, ABSPATH . $destination . '/' . $fileName)) {
|
488 |
-
|
489 |
-
return array($max+1);
|
490 |
}
|
491 |
$value.= site_url() . '/' . $destination . '/' . $fileName . '*@@url@@*';
|
492 |
$files['tmp_name'][$file_key]=$destination . "/" . $fileName;
|
@@ -865,8 +862,7 @@ class FMModelForm_maker {
|
|
865 |
if($unique_element == 'yes') {
|
866 |
$unique = $wpdb->get_col($wpdb->prepare("SELECT id FROM " . $wpdb->prefix . "formmaker_submits WHERE form_id= %d and element_label= %s and element_value= %s", $id, $i, addslashes($value)));
|
867 |
if ($unique) {
|
868 |
-
|
869 |
-
return array($max + 1);
|
870 |
}
|
871 |
}
|
872 |
}
|
@@ -1692,8 +1688,7 @@ class FMModelForm_maker {
|
|
1692 |
$fileTemp = $all_file['tmp_name'];
|
1693 |
$fileName = $all_file['name'];
|
1694 |
if(!move_uploaded_file($fileTemp, ABSPATH . $destination . '/' . $fileName)) {
|
1695 |
-
|
1696 |
-
return array($max+1);
|
1697 |
}
|
1698 |
|
1699 |
$all_file['tmp_name'] = $destination . "/" . $fileName;
|
74 |
$correct = TRUE;
|
75 |
}
|
76 |
else {
|
77 |
+
$_SESSION['massage_after_submit' . $id] = addslashes(addslashes(__('Error, incorrect Security code.', 'form_maker')));
|
78 |
+
$_SESSION['error_or_no' . $id] = 1;
|
|
|
79 |
}
|
80 |
}
|
81 |
elseif (isset($_POST["arithmetic_captcha_input"])) {
|
85 |
$correct = TRUE;
|
86 |
}
|
87 |
else {
|
88 |
+
$_SESSION['massage_after_submit' . $id] = addslashes(addslashes(__('Error, incorrect Security code.', 'form_maker')));
|
89 |
+
$_SESSION['error_or_no' . $id] = 1;
|
|
|
90 |
}
|
91 |
}
|
92 |
elseif (isset($_POST["g-recaptcha-response"])){
|
116 |
if ($jsonResponse->success == "true")
|
117 |
$correct = TRUE;
|
118 |
else {
|
119 |
+
$_SESSION['massage_after_submit' . $id] = addslashes(addslashes(__('Error, incorrect Security code.', 'form_maker')));
|
120 |
+
$_SESSION['error_or_no' . $id] = 1;
|
|
|
121 |
}
|
122 |
}
|
123 |
else {
|
139 |
$all_files = $result_temp[0];
|
140 |
if (is_numeric($all_files)) {
|
141 |
$this->remove($all_files, $id_for_old);
|
142 |
+
|
143 |
+
$_SESSION['massage_after_submit' . $id] = $result_temp[1];
|
144 |
+
$_SESSION['error_or_no' . $id] = 1;
|
145 |
}
|
146 |
elseif (isset($counter)) {
|
147 |
$this->gen_mail($counter, $all_files, $id_for_old, $result_temp[1]);
|
382 |
$fileSize = $files['size'][$file_key];
|
383 |
|
384 |
if($fileSize > $max_size * 1024) {
|
385 |
+
return array($max+1, addslashes(__('The file exceeds the allowed size of', 'form_maker')) . $max_size . ' KB');
|
|
|
386 |
}
|
387 |
|
388 |
$uploadedFileNameParts = explode('.',$fileName);
|
400 |
}
|
401 |
|
402 |
if ($extOk == false) {
|
403 |
+
return array($max+1, addslashes(__('Sorry, you are not allowed to upload this type of file.', 'form_maker')));
|
|
|
404 |
}
|
405 |
|
406 |
$fileTemp = $files['tmp_name'][$file_key];
|
483 |
// dropbox and google drive integration addons
|
484 |
if($form->save_uploads == 1){
|
485 |
if(!move_uploaded_file($fileTemp, ABSPATH . $destination . '/' . $fileName)) {
|
486 |
+
return array($max+1, addslashes(__('Error, file cannot be moved.', 'form_maker')));
|
|
|
487 |
}
|
488 |
$value.= site_url() . '/' . $destination . '/' . $fileName . '*@@url@@*';
|
489 |
$files['tmp_name'][$file_key]=$destination . "/" . $fileName;
|
862 |
if($unique_element == 'yes') {
|
863 |
$unique = $wpdb->get_col($wpdb->prepare("SELECT id FROM " . $wpdb->prefix . "formmaker_submits WHERE form_id= %d and element_label= %s and element_value= %s", $id, $i, addslashes($value)));
|
864 |
if ($unique) {
|
865 |
+
return array(($max + 1), addslashes(addslashes(__('This field ' . $label_label[$key] . ' requires a unique entry and this value was already submitted.', 'form_maker'))));
|
|
|
866 |
}
|
867 |
}
|
868 |
}
|
1688 |
$fileTemp = $all_file['tmp_name'];
|
1689 |
$fileName = $all_file['name'];
|
1690 |
if(!move_uploaded_file($fileTemp, ABSPATH . $destination . '/' . $fileName)) {
|
1691 |
+
return array($max+1, addslashes(__('Error, file cannot be moved.', 'form_maker')));
|
|
|
1692 |
}
|
1693 |
|
1694 |
$all_file['tmp_name'] = $destination . "/" . $fileName;
|
frontend/views/FMViewForm_maker.php
CHANGED
@@ -137,7 +137,7 @@ class FMViewForm_maker {
|
|
137 |
$form_currency = $currency_sign[array_search($row->payment_currency, $currency_code)];
|
138 |
}
|
139 |
$form_paypal_tax = $row->tax;
|
140 |
-
$form_maker_front_end .= '<form name="form' . $id . '" action="' . $current_url . '" method="post" id="form' . $id . '" class="form' . $id . '" enctype="multipart/form-data" onsubmit="check_required(\'submit\', \'' . $id . '\'); return false;">
|
141 |
<div id="' . $id . 'pages" class="wdform_page_navigation" show_title="' . $row->show_title . '" show_numbers="' . $row->show_numbers . '" type="' . $row->pagination . '"></div>
|
142 |
<input type="hidden" id="counter' . $id . '" value="' . $row->counter . '" name="counter' . $id . '" />
|
143 |
<input type="hidden" id="Itemid' . $id . '" value="" name="Itemid' . $id . '" />';
|
@@ -159,6 +159,8 @@ class FMViewForm_maker {
|
|
159 |
array_push($labels, $temp[0]);
|
160 |
array_push($paramss, $temp[1]);
|
161 |
}
|
|
|
|
|
162 |
$form_id = $id;
|
163 |
|
164 |
$show_hide = array();
|
@@ -1001,6 +1003,10 @@ class FMViewForm_maker {
|
|
1001 |
else {
|
1002 |
$form = $row->form_front;
|
1003 |
}
|
|
|
|
|
|
|
|
|
1004 |
$GLOBALS['map_include'] = false;
|
1005 |
|
1006 |
foreach($id1s as $id1s_key => $id1) {
|
@@ -1076,19 +1082,7 @@ class FMViewForm_maker {
|
|
1076 |
if(!jQuery("#wdform_'.$id1.'_element'.$form_id.'").is(":checked"))
|
1077 |
jQuery("<input type=\"hidden\" name=\"wdform_send_copy_'.$form_id.'\" value = \"1\" />").appendTo("#form'.$form_id.'");';
|
1078 |
if($required) {
|
1079 |
-
$
|
1080 |
-
if(x.find(jQuery("div[wdid='.$id1.']")).length != 0 && x.find(jQuery("div[wdid='.$id1.']")).css("display") != "none")
|
1081 |
-
{
|
1082 |
-
if(x.find(jQuery("div[wdid='.$id1.'] input:checked")).length == 0)
|
1083 |
-
{
|
1084 |
-
alert("' .addslashes($label. ' ' . __('field is required.', 'form_maker')) . '");
|
1085 |
-
old_bg=x.find(jQuery("div[wdid='.$id1.']")).css("background-color");
|
1086 |
-
x.find(jQuery("div[wdid='.$id1.']")).effect( "shake", {}, 500 ).css("background-color","#FF8F8B").animate({backgroundColor: old_bg}, {duration: 500, queue: false });
|
1087 |
-
|
1088 |
-
return false;
|
1089 |
-
}
|
1090 |
-
}
|
1091 |
-
';
|
1092 |
}
|
1093 |
break;
|
1094 |
}
|
@@ -1127,45 +1121,14 @@ class FMViewForm_maker {
|
|
1127 |
$rep.='</div><div class="wdform-element-section" style="'.$param['w_field_label_pos2'].' width: '.$param['w_size'].'px;" ><input type="text" class="'.$input_active.'" id="wdform_'.$id1.'_element'.$form_id.'" name="wdform_'.$id1.'_element'.$form_id.'" value="'.$param['w_first_val'].'" title="'.$param['w_title'].'" style="width: 100%;" '.$param['attributes'].'></div></div>';
|
1128 |
|
1129 |
if($required) {
|
1130 |
-
|
1131 |
-
if(x.find(jQuery("div[wdid='.$id1.']")).length != 0 && x.find(jQuery("div[wdid='.$id1.']")).css("display") != "none")
|
1132 |
-
{
|
1133 |
-
if(jQuery("#wdform_'.$id1.'_element'.$form_id.'").val()=="'.$param['w_title'].'" || jQuery("#wdform_'.$id1.'_element'.$form_id.'").val()=="")
|
1134 |
-
{
|
1135 |
-
alert("' .addslashes($label. ' ' . __('field is required.', 'form_maker')) . '");
|
1136 |
-
jQuery("#wdform_'.$id1.'_element'.$form_id.'").addClass( "form-error" );
|
1137 |
-
old_bg=x.find(jQuery("div[wdid='.$id1.']")).css("background-color");
|
1138 |
-
x.find(jQuery("div[wdid='.$id1.']")).effect( "shake", {}, 500 ).css("background-color","#FF8F8B").animate({backgroundColor: old_bg}, {duration: 500, queue: false });
|
1139 |
-
jQuery("#wdform_'.$id1.'_element'.$form_id.'").focus();
|
1140 |
-
jQuery("#wdform_'.$id1.'_element'.$form_id.'").change(function() { if( jQuery(this).val()!="" ) jQuery(this).removeClass("form-error"); else jQuery(this).addClass("form-error");});
|
1141 |
-
return false;
|
1142 |
-
}
|
1143 |
-
}
|
1144 |
-
';
|
1145 |
}
|
1146 |
-
|
1147 |
if($param['w_regExp_status'] == 'yes') {
|
1148 |
-
$
|
1149 |
-
|
1150 |
-
|
1151 |
-
|
1152 |
-
|
1153 |
-
if(x.find(jQuery("div[wdid='.$id1.']")).length != 0 && x.find(jQuery("div[wdid='.$id1.']")).css("display") != "none") {
|
1154 |
-
if(jQuery("#wdform_'.$id1.'_element'.$form_id.'").val().length > 0 && jQuery("#wdform_'.$id1.'_element'.$form_id.'").val()!="'.$param['w_title'].'"){
|
1155 |
-
if (RegExpression.test(jQuery("#wdform_'.$id1.'_element'.$form_id.'").val()) != true)
|
1156 |
-
{
|
1157 |
-
alert( " '.$param["w_regExp_alert"].' ");
|
1158 |
-
old_bg=x.find(jQuery("div[wdid='.$id1.']")).css("background-color");
|
1159 |
-
x.find(jQuery("div[wdid='.$id1.']")).effect( "shake", {}, 500 ).css("background-color","#FF8F8B").animate({backgroundColor: old_bg}, {duration: 500, queue: false });
|
1160 |
-
jQuery("#wdform_'.$id1.'_element'.$form_id.'").addClass( "form-error" );
|
1161 |
-
jQuery("#wdform_'.$id1.'_element'.$form_id.'").focus();
|
1162 |
-
jQuery("#wdform_'.$id1.'_element'.$form_id.'").change(function() { if( jQuery(this).val()!="" ) jQuery(this).removeClass("form-error"); else jQuery(this).addClass("form-error");});
|
1163 |
-
return false;
|
1164 |
-
}
|
1165 |
-
}
|
1166 |
-
}';
|
1167 |
-
}
|
1168 |
-
|
1169 |
break;
|
1170 |
}
|
1171 |
|
@@ -1200,21 +1163,7 @@ class FMViewForm_maker {
|
|
1200 |
$rep.='</div><div class="wdform-element-section '.$param['w_class'].'" style="'.$param['w_field_label_pos2'].' width: '.$param['w_size'].'px;"><input type="text" class="'.$input_active.'" id="wdform_'.$id1.'_element'.$form_id.'" name="wdform_'.$id1.'_element'.$form_id.'" value="'.$param['w_first_val'].'" title="'.$param['w_title'].'" style="width: 100%;" '.$param['attributes'].'></div></div>';
|
1201 |
|
1202 |
if($required) {
|
1203 |
-
$
|
1204 |
-
if(x.find(jQuery("div[wdid='.$id1.']")).length != 0 && x.find(jQuery("div[wdid='.$id1.']")).css("display") != "none")
|
1205 |
-
{
|
1206 |
-
if(jQuery("#wdform_'.$id1.'_element'.$form_id.'").val()=="'.$param['w_title'].'" || jQuery("#wdform_'.$id1.'_element'.$form_id.'").val()=="")
|
1207 |
-
{
|
1208 |
-
alert("' .addslashes($label. ' ' . __('field is required.', 'form_maker')) . '");
|
1209 |
-
jQuery("#wdform_'.$id1.'_element'.$form_id.'").addClass( "form-error" );
|
1210 |
-
old_bg=x.find(jQuery("div[wdid='.$id1.']")).css("background-color");
|
1211 |
-
x.find(jQuery("div[wdid='.$id1.']")).effect( "shake", {}, 500 ).css("background-color","#FF8F8B").animate({backgroundColor: old_bg}, {duration: 500, queue: false });
|
1212 |
-
jQuery("#wdform_'.$id1.'_element'.$form_id.'").focus();
|
1213 |
-
jQuery("#wdform_'.$id1.'_element'.$form_id.'").change(function() { if( jQuery(this).val()!="" ) jQuery(this).removeClass("form-error"); else jQuery(this).addClass("form-error");});
|
1214 |
-
return false;
|
1215 |
-
}
|
1216 |
-
}
|
1217 |
-
';
|
1218 |
}
|
1219 |
break;
|
1220 |
}
|
@@ -1247,53 +1196,25 @@ class FMViewForm_maker {
|
|
1247 |
if($required) {
|
1248 |
$rep.='<span class="wdform-required">'.$required_sym.'</span>';
|
1249 |
}
|
1250 |
-
|
|
|
|
|
|
|
|
|
|
|
1251 |
|
1252 |
if(isset($param['w_verification']) && $param['w_verification'] == "yes"){
|
1253 |
$rep .='<div><div type="type_password" class="wdform-field" style="width:'.$wdformfieldsize.'px"><div class="wdform-label-section" style="'.$param['w_field_label_pos1'].'; width: '.$param['w_field_label_size'].'px;"><span class="wdform-label">'.$param['w_verification_label'].'</span>';
|
1254 |
if($required) {
|
1255 |
$rep.='<span class="wdform-required">'.$required_sym.'</span>';
|
1256 |
}
|
1257 |
-
$rep.='</div><div class="wdform-element-section '.$param['w_class'].'" style="'.$param['w_field_label_pos2'].' width: '.$param['w_size'].'px;"><input type="password" id="wdform_'.$id1.'_1_element'.$form_id.'" name="wdform_'.$id1.'_1_element'.$form_id.'" style="width: 100%;" '.$param['attributes'].'></div></div></div>';
|
1258 |
}
|
1259 |
|
1260 |
|
1261 |
if($required) {
|
1262 |
-
$
|
1263 |
-
|
1264 |
-
{
|
1265 |
-
if(jQuery("#wdform_'.$id1.'_element'.$form_id.'").val()=="")
|
1266 |
-
{
|
1267 |
-
alert("' .addslashes($label. ' ' . __('field is required.', 'form_maker')) . '");
|
1268 |
-
jQuery("#wdform_'.$id1.'_element'.$form_id.'").addClass( "form-error" );
|
1269 |
-
old_bg=x.find(jQuery("div[wdid='.$id1.']")).css("background-color");
|
1270 |
-
x.find(jQuery("div[wdid='.$id1.']")).effect( "shake", {}, 500 ).css("background-color","#FF8F8B").animate({backgroundColor: old_bg}, {duration: 500, queue: false });
|
1271 |
-
jQuery("#wdform_'.$id1.'_element'.$form_id.'").focus();
|
1272 |
-
jQuery("#wdform_'.$id1.'_element'.$form_id.'").change(function() { if( jQuery(this).val()!="" ) jQuery(this).removeClass("form-error"); else jQuery(this).addClass("form-error");});
|
1273 |
-
return false;
|
1274 |
-
}
|
1275 |
-
}
|
1276 |
-
';
|
1277 |
-
}
|
1278 |
-
|
1279 |
-
if(isset($param['w_verification']) && $param['w_verification'] == "yes") {
|
1280 |
-
$check_js.='
|
1281 |
-
if(x.find(jQuery("div[wdid='.$id1.']")).length != 0 && x.find(jQuery("div[wdid='.$id1.']")).css("display") != "none")
|
1282 |
-
{
|
1283 |
-
if(jQuery("#wdform_'.$id1.'_element'.$form_id.'").val() !== jQuery("#wdform_'.$id1.'_1_element'.$form_id.'").val())
|
1284 |
-
{
|
1285 |
-
alert("' .addslashes(__('Password confirmation does not match the password', 'form_maker')) . '");
|
1286 |
-
jQuery("#wdform_'.$id1.'_element'.$form_id.'").addClass( "form-error" );
|
1287 |
-
old_bg=x.find(jQuery("div[wdid='.$id1.']")).css("background-color");
|
1288 |
-
x.find(jQuery("div[wdid='.$id1.']")).effect( "shake", {}, 500 ).css("background-color","#FF8F8B").animate({backgroundColor: old_bg}, {duration: 500, queue: false });
|
1289 |
-
jQuery("#wdform_'.$id1.'_element'.$form_id.'").focus();
|
1290 |
-
jQuery("#wdform_'.$id1.'_element'.$form_id.'").change(function() { if( jQuery(this).val()!="" ) jQuery(this).removeClass("form-error"); else jQuery(this).addClass("form-error");});
|
1291 |
-
return false;
|
1292 |
-
}
|
1293 |
-
}
|
1294 |
-
';
|
1295 |
-
}
|
1296 |
-
|
1297 |
break;
|
1298 |
}
|
1299 |
|
@@ -1327,21 +1248,7 @@ class FMViewForm_maker {
|
|
1327 |
$rep.='</div><div class="wdform-element-section '.$param['w_class'].'" style="'.$param['w_field_label_pos2'].' width: '.$param['w_size_w'].'px"><textarea class="'.$input_active.'" id="wdform_'.$id1.'_element'.$form_id.'" name="wdform_'.$id1.'_element'.$form_id.'" title="'.$param['w_title'].'" style="width: 100%; height: '.$param['w_size_h'].'px;" '.$param['attributes'].'>'.$param['w_first_val'].'</textarea></div></div>';
|
1328 |
|
1329 |
if($required) {
|
1330 |
-
$
|
1331 |
-
if(x.find(jQuery("div[wdid='.$id1.']")).length != 0 && x.find(jQuery("div[wdid='.$id1.']")).css("display") != "none")
|
1332 |
-
{
|
1333 |
-
if(jQuery("#wdform_'.$id1.'_element'.$form_id.'").val()=="'.$param['w_title'].'" || jQuery("#wdform_'.$id1.'_element'.$form_id.'").val()=="")
|
1334 |
-
{
|
1335 |
-
alert("' .addslashes($label. ' ' . __('field is required.', 'form_maker')) . '");
|
1336 |
-
jQuery("#wdform_'.$id1.'_element'.$form_id.'").addClass( "form-error" );
|
1337 |
-
old_bg=x.find(jQuery("div[wdid='.$id1.']")).css("background-color");
|
1338 |
-
x.find(jQuery("div[wdid='.$id1.']")).effect( "shake", {}, 500 ).css("background-color","#FF8F8B").animate({backgroundColor: old_bg}, {duration: 500, queue: false });
|
1339 |
-
jQuery("#wdform_'.$id1.'_element'.$form_id.'").focus();
|
1340 |
-
jQuery("#wdform_'.$id1.'_element'.$form_id.'").change(function() { if( jQuery(this).val()!="" ) jQuery(this).removeClass("form-error"); else jQuery(this).addClass("form-error");});
|
1341 |
-
return false;
|
1342 |
-
}
|
1343 |
-
}
|
1344 |
-
';
|
1345 |
}
|
1346 |
break;
|
1347 |
}
|
@@ -1454,20 +1361,7 @@ class FMViewForm_maker {
|
|
1454 |
</div>';
|
1455 |
|
1456 |
if($required) {
|
1457 |
-
$
|
1458 |
-
if(x.find(jQuery("div[wdid='.$id1.']")).length != 0 && x.find(jQuery("div[wdid='.$id1.']")).css("display") != "none")
|
1459 |
-
{
|
1460 |
-
if(jQuery("#wdform_'.$id1.'_element_first'.$form_id.'").val()=="'.$w_title[0].'" || jQuery("#wdform_'.$id1.'_element_first'.$form_id.'").val()=="" || jQuery("#wdform_'.$id1.'_element_last'.$form_id.'").val()=="'.$w_title[1].'" || jQuery("#wdform_'.$id1.'_element_last'.$form_id.'").val()=="")
|
1461 |
-
{
|
1462 |
-
alert("' .addslashes($label. ' ' . __('field is required.', 'form_maker')) . '");
|
1463 |
-
old_bg=x.find(jQuery("div[wdid='.$id1.']")).css("background-color");
|
1464 |
-
x.find(jQuery("div[wdid='.$id1.']")).effect( "shake", {}, 500 ).css("background-color","#FF8F8B").animate({backgroundColor: old_bg}, {duration: 500, queue: false });
|
1465 |
-
jQuery("#wdform_'.$id1.'_element_first'.$form_id.'").focus();
|
1466 |
-
return false;
|
1467 |
-
}
|
1468 |
-
|
1469 |
-
}
|
1470 |
-
';
|
1471 |
}
|
1472 |
break;
|
1473 |
}
|
@@ -1583,19 +1477,7 @@ class FMViewForm_maker {
|
|
1583 |
<div class="wdform-element-section '.$param['w_class'].'" style="'.$param['w_field_label_pos2'].' width: '.$w_size.'px;">'.$w_name_format.'</div></div>';
|
1584 |
|
1585 |
if($required) {
|
1586 |
-
|
1587 |
-
if(x.find(jQuery("div[wdid='.$id1.']")).length != 0 && x.find(jQuery("div[wdid='.$id1.']")).css("display") != "none")
|
1588 |
-
{
|
1589 |
-
if(jQuery("#wdform_'.$id1.'_element_first'.$form_id.'").val()=="'.$w_title[0].'" || jQuery("#wdform_'.$id1.'_element_first'.$form_id.'").val()=="" || jQuery("#wdform_'.$id1.'_element_last'.$form_id.'").val()=="'.$w_title[1].'" || jQuery("#wdform_'.$id1.'_element_last'.$form_id.'").val()=="" || (jQuery("#wdform_'.$id1.'_element_title'.$form_id.'").length != 0 && (jQuery("#wdform_'.$id1.'_element_title'.$form_id.'").val()=="'.(isset($w_title[2]) ? $w_title[2] : '').'" || jQuery("#wdform_'.$id1.'_element_title'.$form_id.'").val()=="")) || (jQuery("#wdform_'.$id1.'_element_middle'.$form_id.'").length != 0 && (jQuery("#wdform_'.$id1.'_element_middle'.$form_id.'").val()=="'.(isset($w_title[3]) ? $w_title[3] : '').'" || jQuery("#wdform_'.$id1.'_element_middle'.$form_id.'").val()=="")))
|
1590 |
-
{
|
1591 |
-
alert("' .addslashes($label. ' ' . __('field is required.', 'form_maker')) . '");
|
1592 |
-
old_bg=x.find(jQuery("div[wdid='.$id1.']")).css("background-color");
|
1593 |
-
x.find(jQuery("div[wdid='.$id1.']")).effect( "shake", {}, 500 ).css("background-color","#FF8F8B").animate({backgroundColor: old_bg}, {duration: 500, queue: false });
|
1594 |
-
jQuery("#wdform_'.$id1.'_element_first'.$form_id.'").focus();
|
1595 |
-
return false;
|
1596 |
-
}
|
1597 |
-
}
|
1598 |
-
';
|
1599 |
}
|
1600 |
break;
|
1601 |
}
|
@@ -1684,20 +1566,7 @@ class FMViewForm_maker {
|
|
1684 |
'.$address_fields.'</div></div></div>';
|
1685 |
|
1686 |
if ($required) {
|
1687 |
-
$
|
1688 |
-
if(x.find(jQuery("div[wdid='.$id1.']")).length != 0 && x.find(jQuery("div[wdid='.$id1.']")).css("display") != "none")
|
1689 |
-
{
|
1690 |
-
if(jQuery("#wdform_'.$id1.'_street1'.$form_id.'").val()=="" || (jQuery("#wdform_'.$id1.'_street1'.$form_id.'").val()=="" && jQuery("#wdform_'.$id1.'_street2'.$form_id.'").val()=="") || jQuery("#wdform_'.$id1.'_city'.$form_id.'").val()=="" || jQuery("#wdform_'.$id1.'_state'.$form_id.'").val()=="" || jQuery("#wdform_'.$id1.'_postal'.$form_id.'").val()=="" || jQuery("#wdform_'.$id1.'_country'.$form_id.'").val()=="")
|
1691 |
-
{
|
1692 |
-
alert("' .addslashes($label. ' ' . __('field is required.', 'form_maker')) . '");
|
1693 |
-
old_bg=x.find(jQuery("div[wdid='.$id1.']")).css("background-color");
|
1694 |
-
x.find(jQuery("div[wdid='.$id1.']")).effect( "shake", {}, 500 ).css("background-color","#FF8F8B").animate({backgroundColor: old_bg}, {duration: 500, queue: false });
|
1695 |
-
jQuery("#wdform_'.$id1.'_street1'.$form_id.'").focus();
|
1696 |
-
return false;
|
1697 |
-
}
|
1698 |
-
|
1699 |
-
}
|
1700 |
-
';
|
1701 |
}
|
1702 |
$post = isset($_POST['wdform_'.($id1+5).'_country'.$form_id]) ? esc_html(stripslashes($_POST['wdform_'.($id1+5).'_country'.$form_id])) : NULL;
|
1703 |
if(isset($post)) {
|
@@ -1774,66 +1643,27 @@ class FMViewForm_maker {
|
|
1774 |
if($required) {
|
1775 |
$rep.='<span class="wdform-required">'.$required_sym.'</span>';
|
1776 |
}
|
1777 |
-
$
|
|
|
|
|
|
|
|
|
|
|
1778 |
|
1779 |
if(isset($param['w_verification']) && $param['w_verification'] == "yes"){
|
1780 |
-
|
|
|
|
|
|
|
1781 |
if($required) {
|
1782 |
$rep.='<span class="wdform-required">'.$required_sym.'</span>';
|
1783 |
}
|
1784 |
-
$rep.='</div><div class="wdform-element-section '.$param['w_class'].'" style="'.$param['w_field_label_pos2'].' width: '.$param['w_size'].'px;"><input type="text" class="'.$input_active.'" id="wdform_'.$id1.'_1_element'.$form_id.'" name="wdform_'.$id1.'_1_element'.$form_id.'" value="'.$param['w_verification_placeholder'].'" title="'.$param['w_verification_placeholder'].'" style="width: 100%;" '.$param['attributes'].'></div></div></div>';
|
1785 |
}
|
1786 |
|
1787 |
if($required) {
|
1788 |
-
$
|
1789 |
-
if(x.find(jQuery("div[wdid='.$id1.']")).length != 0 && x.find(jQuery("div[wdid='.$id1.']")).css("display") != "none")
|
1790 |
-
{
|
1791 |
-
if(jQuery("#wdform_'.$id1.'_element'.$form_id.'").val()=="'.$param['w_title'].'" || jQuery("#wdform_'.$id1.'_element'.$form_id.'").val()=="")
|
1792 |
-
{
|
1793 |
-
alert("' .addslashes($label. ' ' . __('field is required.', 'form_maker')) . '");
|
1794 |
-
jQuery("#wdform_'.$id1.'_element'.$form_id.'").addClass( "form-error" );
|
1795 |
-
old_bg=x.find(jQuery("div[wdid='.$id1.']")).css("background-color");
|
1796 |
-
x.find(jQuery("div[wdid='.$id1.']")).effect( "shake", {}, 500 ).css("background-color","#FF8F8B").animate({backgroundColor: old_bg}, {duration: 500, queue: false });
|
1797 |
-
jQuery("#wdform_'.$id1.'_element'.$form_id.'").focus();
|
1798 |
-
jQuery("#wdform_'.$id1.'_element'.$form_id.'").change(function() { if( jQuery(this).val()!="" ) jQuery(this).removeClass("form-error"); else jQuery(this).addClass("form-error");});
|
1799 |
-
return false;
|
1800 |
-
}
|
1801 |
-
}
|
1802 |
-
';
|
1803 |
-
}
|
1804 |
-
$check_js.='
|
1805 |
-
if(x.find(jQuery("div[wdid='.$id1.']")).length != 0 && x.find(jQuery("div[wdid='.$id1.']")).css("display") != "none")
|
1806 |
-
{
|
1807 |
-
|
1808 |
-
if(jQuery("#wdform_'.$id1.'_element'.$form_id.'").val()!="" && jQuery("#wdform_'.$id1.'_element'.$form_id.'").val().search(/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/) == -1 && jQuery("#wdform_'.$id1.'_element'.$form_id.'").attr("title") != jQuery("#wdform_'.$id1.'_element'.$form_id.'").val())
|
1809 |
-
{
|
1810 |
-
alert("' . addslashes(__("This is not a valid email address.", 'form_maker')) . '");
|
1811 |
-
old_bg=x.find(jQuery("div[wdid='.$id1.']")).css("background-color");
|
1812 |
-
x.find(jQuery("div[wdid='.$id1.']")).effect( "shake", {}, 500 ).css("background-color","#FF8F8B").animate({backgroundColor: old_bg}, {duration: 500, queue: false });
|
1813 |
-
jQuery("#wdform_'.$id1.'_element'.$form_id.'").focus();
|
1814 |
-
return false;
|
1815 |
-
}
|
1816 |
-
|
1817 |
-
}
|
1818 |
-
';
|
1819 |
-
if(isset($param['w_verification']) && $param['w_verification'] == "yes") {
|
1820 |
-
$check_js.='
|
1821 |
-
if(x.find(jQuery("div[wdid='.$id1.']")).length != 0 && x.find(jQuery("div[wdid='.$id1.']")).css("display") != "none")
|
1822 |
-
{
|
1823 |
-
if((jQuery("#wdform_'.$id1.'_element'.$form_id.'").val() !== jQuery("#wdform_'.$id1.'_1_element'.$form_id.'").val() && jQuery("#wdform_'.$id1.'_1_element'.$form_id.'").attr("title") != jQuery("#wdform_'.$id1.'_1_element'.$form_id.'").val()) ||(jQuery("#wdform_'.$id1.'_element'.$form_id.'").val() !=jQuery("#wdform_'.$id1.'_element'.$form_id.'").attr("title") && jQuery("#wdform_'.$id1.'_1_element'.$form_id.'").attr("title") == jQuery("#wdform_'.$id1.'_1_element'.$form_id.'").val()))
|
1824 |
-
{
|
1825 |
-
alert("' .addslashes(__('The Confirmation Email must match your Email Address', 'form_maker')) . '");
|
1826 |
-
jQuery("#wdform_'.$id1.'_element'.$form_id.'").addClass( "form-error" );
|
1827 |
-
old_bg=x.find(jQuery("div[wdid='.$id1.']")).css("background-color");
|
1828 |
-
x.find(jQuery("div[wdid='.$id1.']")).effect( "shake", {}, 500 ).css("background-color","#FF8F8B").animate({backgroundColor: old_bg}, {duration: 500, queue: false });
|
1829 |
-
jQuery("#wdform_'.$id1.'_element'.$form_id.'").focus();
|
1830 |
-
jQuery("#wdform_'.$id1.'_element'.$form_id.'").change(function() { if( jQuery(this).val()!="" ) jQuery(this).removeClass("form-error"); else jQuery(this).addClass("form-error");});
|
1831 |
-
return false;
|
1832 |
-
}
|
1833 |
-
}
|
1834 |
-
';
|
1835 |
}
|
1836 |
-
|
1837 |
break;
|
1838 |
}
|
1839 |
|
@@ -1984,19 +1814,7 @@ class FMViewForm_maker {
|
|
1984 |
$rep.='</div></div>';
|
1985 |
|
1986 |
if($required) {
|
1987 |
-
$
|
1988 |
-
if(x.find(jQuery("div[wdid='.$id1.']")).length != 0 && x.find(jQuery("div[wdid='.$id1.']")).css("display") != "none")
|
1989 |
-
{
|
1990 |
-
if(x.find(jQuery("div[wdid='.$id1.'] input:checked")).length == 0 || jQuery("#wdform_'.$id1.'_other_input'.$form_id.'").val() == "")
|
1991 |
-
{
|
1992 |
-
alert("' .addslashes($label. ' ' . __('field is required.', 'form_maker')) . '");
|
1993 |
-
old_bg=x.find(jQuery("div[wdid='.$id1.']")).css("background-color");
|
1994 |
-
x.find(jQuery("div[wdid='.$id1.']")).effect( "shake", {}, 500 ).css("background-color","#FF8F8B").animate({backgroundColor: old_bg}, {duration: 500, queue: false });
|
1995 |
-
|
1996 |
-
return false;
|
1997 |
-
}
|
1998 |
-
}
|
1999 |
-
';
|
2000 |
}
|
2001 |
if($is_other) {
|
2002 |
$onload_js .='show_other_input("wdform_'.$id1.'","'.$form_id.'"); jQuery("#wdform_'.$id1.'_other_input'.$form_id.'").val("'.(isset($_POST['wdform_'.$id1."_other_input".$form_id]) ? esc_html(stripslashes($_POST['wdform_'.$id1."_other_input".$form_id])) : '').'");';
|
@@ -2153,16 +1971,7 @@ class FMViewForm_maker {
|
|
2153 |
$rep.='</div></div>';
|
2154 |
|
2155 |
if($required) {
|
2156 |
-
$
|
2157 |
-
if(x.find(jQuery("div[wdid='.$id1.']")).length != 0 && x.find(jQuery("div[wdid='.$id1.']")).css("display") != "none") {
|
2158 |
-
if(x.find(jQuery("div[wdid='.$id1.'] input:checked")).length == 0 || jQuery("#wdform_'.$id1.'_other_input'.$form_id.'").val() == "") {
|
2159 |
-
alert("' .addslashes($label. ' ' . __('field is required.', 'form_maker')) . '");
|
2160 |
-
old_bg=x.find(jQuery("div[wdid='.$id1.']")).css("background-color");
|
2161 |
-
x.find(jQuery("div[wdid='.$id1.']")).effect( "shake", {}, 500 ).css("background-color","#FF8F8B").animate({backgroundColor: old_bg}, {duration: 500, queue: false });
|
2162 |
-
|
2163 |
-
return false;
|
2164 |
-
}
|
2165 |
-
}';
|
2166 |
}
|
2167 |
if($is_other) {
|
2168 |
$onload_js .='show_other_input("wdform_'.$id1.'","'.$form_id.'"); jQuery("#wdform_'.$id1.'_other_input'.$form_id.'").val("'.(isset($_POST['wdform_'.$id1."_other_input".$form_id]) ? esc_html(stripslashes($_POST['wdform_'.$id1."_other_input".$form_id])) : '').'");';
|
@@ -2283,23 +2092,9 @@ class FMViewForm_maker {
|
|
2283 |
}
|
2284 |
$rep.='</select></div></div>';
|
2285 |
|
2286 |
-
|
2287 |
-
|
2288 |
-
|
2289 |
-
{
|
2290 |
-
if( jQuery("#wdform_'.$id1.'_element'.$form_id.'").val()=="")
|
2291 |
-
{
|
2292 |
-
alert("' .addslashes($label. ' ' . __('field is required.', 'form_maker')) . '");
|
2293 |
-
jQuery("#wdform_'.$id1.'_element'.$form_id.'").addClass( "form-error" );
|
2294 |
-
old_bg=x.find(jQuery("div[wdid='.$id1.']")).css("background-color");
|
2295 |
-
x.find(jQuery("div[wdid='.$id1.']")).effect( "shake", {}, 500 ).css("background-color","#FF8F8B").animate({backgroundColor: old_bg}, {duration: 500, queue: false });
|
2296 |
-
jQuery("#wdform_'.$id1.'_element'.$form_id.'").focus();
|
2297 |
-
jQuery("#wdform_'.$id1.'_element'.$form_id.'").change(function() { if( jQuery(this).val()!="" ) jQuery(this).removeClass("form-error"); else jQuery(this).addClass("form-error");});
|
2298 |
-
return false;
|
2299 |
-
}
|
2300 |
-
}
|
2301 |
-
';
|
2302 |
-
}
|
2303 |
break;
|
2304 |
}
|
2305 |
|
@@ -2342,23 +2137,9 @@ class FMViewForm_maker {
|
|
2342 |
}
|
2343 |
$rep.='</select></div></div>';
|
2344 |
|
2345 |
-
if($required)
|
2346 |
-
|
2347 |
-
|
2348 |
-
{
|
2349 |
-
if(jQuery("#wdform_'.$id1.'_element'.$form_id.'").val()=="")
|
2350 |
-
{
|
2351 |
-
alert("' .addslashes($label. ' ' . __('field is required.', 'form_maker')) . '");
|
2352 |
-
jQuery("#wdform_'.$id1.'_element'.$form_id.'").addClass( "form-error" );
|
2353 |
-
old_bg=x.find(jQuery("div[wdid='.$id1.']")).css("background-color");
|
2354 |
-
x.find(jQuery("div[wdid='.$id1.']")).effect( "shake", {}, 500 ).css("background-color","#FF8F8B").animate({backgroundColor: old_bg}, {duration: 500, queue: false });
|
2355 |
-
jQuery("#wdform_'.$id1.'_element'.$form_id.'").focus();
|
2356 |
-
jQuery("#wdform_'.$id1.'_element'.$form_id.'").change(function() { if( jQuery(this).val()!="" ) jQuery(this).removeClass("form-error"); else jQuery(this).addClass("form-error");});
|
2357 |
-
return false;
|
2358 |
-
}
|
2359 |
-
}
|
2360 |
-
';
|
2361 |
-
}
|
2362 |
break;
|
2363 |
}
|
2364 |
|
@@ -2418,21 +2199,9 @@ class FMViewForm_maker {
|
|
2418 |
}
|
2419 |
$rep.='</div><div class="wdform-element-section '.$param['w_class'].'" style="'.$param['w_field_label_pos2'].';"><div style="display: table;"><div style="display: table-row;"><div style="display: table-cell;"><input type="text" value="'.(isset($_POST['wdform_'.$id1."_hh".$form_id]) ? esc_html(stripslashes($_POST['wdform_'.$id1."_hh".$form_id])) : $param['w_hh']).'" class="time_box" id="wdform_'.$id1.'_hh'.$form_id.'" name="wdform_'.$id1.'_hh'.$form_id.'" onkeypress="return check_hour(event, "wdform_'.$id1.'_hh'.$form_id.'", "23")" '.$param['attributes'].'></div><div align="center" style="display: table-cell;"><span class="wdform_colon" style="vertical-align: middle;"> : </span></div><div style="display: table-cell;"><input type="text" value="'.(isset($_POST['wdform_'.$id1."_mm".$form_id]) ? esc_html(stripslashes($_POST['wdform_'.$id1."_mm".$form_id])) : $param['w_mm']).'" class="time_box" id="wdform_'.$id1.'_mm'.$form_id.'" name="wdform_'.$id1.'_mm'.$form_id.'" onkeypress="return check_minute(event, "wdform_'.$id1.'_mm'.$form_id.'")" '.$param['attributes'].'></div>'.$w_sec.$w_time_type.'</div><div style="display: table-row;"><div style="display: table-cell;"><label class="mini_label">'.$w_mini_labels[0].'</label></div><div style="display: table-cell;"></div><div style="display: table-cell;"><label class="mini_label">'.$w_mini_labels[1].'</label></div>'.$w_sec_label.$w_time_type_label.'</div></div></div></div>';
|
2420 |
|
2421 |
-
if($required)
|
2422 |
-
|
2423 |
-
|
2424 |
-
{
|
2425 |
-
if(jQuery("#wdform_'.$id1.'_mm'.$form_id.'").val()=="" || jQuery("#wdform_'.$id1.'_hh'.$form_id.'").val()=="" || (jQuery("#wdform_'.$id1.'_ss'.$form_id.'").length != 0 ? jQuery("#wdform_'.$id1.'_ss'.$form_id.'").val()=="" : false))
|
2426 |
-
{
|
2427 |
-
alert("' .addslashes($label. ' ' . __('field is required.', 'form_maker')) . '");
|
2428 |
-
old_bg=x.find(jQuery("div[wdid='.$id1.']")).css("background-color");
|
2429 |
-
x.find(jQuery("div[wdid='.$id1.']")).effect( "shake", {}, 500 ).css("background-color","#FF8F8B").animate({backgroundColor: old_bg}, {duration: 500, queue: false });
|
2430 |
-
jQuery("#wdform_'.$id1.'_hh'.$form_id.'").focus();
|
2431 |
-
return false;
|
2432 |
-
}
|
2433 |
-
}
|
2434 |
-
';
|
2435 |
-
}
|
2436 |
break;
|
2437 |
}
|
2438 |
|
@@ -2560,23 +2329,9 @@ class FMViewForm_maker {
|
|
2560 |
$rep.='</div><div class="wdform-element-section '.$param['w_class'].'" style="width:'.$div_size.'px; ' .$param['w_field_label_pos2'].' "><input type="text" id="wdform_'.$id1.'_element'.$form_id.'" class="input_active" style="width:'.$input_size.'" name="wdform_'.$id1.'_element'.$form_id.'" '.$param['attributes'].'><img style="display:'.$show_image.'; vertical-align:sub" src="'.WD_FM_URL.'/images/date.png" id="button_calendar_'.$id1.'" /><input type="hidden" format="'.$param['w_format'].'" id="wdform_'.$id1.'_button'.$form_id.'" value="'.$default_date.'"/></div></div>';
|
2561 |
|
2562 |
|
2563 |
-
if($required)
|
2564 |
-
|
2565 |
-
|
2566 |
-
{
|
2567 |
-
if(jQuery("#wdform_'.$id1.'_element'.$form_id.'").val()=="")
|
2568 |
-
{
|
2569 |
-
alert("' .addslashes($label. ' ' . __('field is required.', 'form_maker')) . '");
|
2570 |
-
jQuery("#wdform_'.$id1.'_element'.$form_id.'").addClass( "form-error" );
|
2571 |
-
old_bg=x.find(jQuery("div[wdid='.$id1.']")).css("background-color");
|
2572 |
-
x.find(jQuery("div[wdid='.$id1.']")).effect( "shake", {}, 500 ).css("background-color","#FF8F8B").animate({backgroundColor: old_bg}, {duration: 500, queue: false });
|
2573 |
-
jQuery("#wdform_'.$id1.'_element'.$form_id.'").focus();
|
2574 |
-
jQuery("#wdform_'.$id1.'_element'.$form_id.'").change(function() { if( jQuery(this).val()!="" ) jQuery(this).removeClass("form-error"); else jQuery(this).addClass("form-error");});
|
2575 |
-
return false;
|
2576 |
-
}
|
2577 |
-
}
|
2578 |
-
';
|
2579 |
-
}
|
2580 |
|
2581 |
$onload_js .='
|
2582 |
jQuery("#button_calendar_'.$id1.'").click(function() {
|
@@ -2720,34 +2475,9 @@ class FMViewForm_maker {
|
|
2720 |
<input type="hidden" format="'.$param['w_format'].'" id="wdform_'.$id1.'_button'.$form_id.'" default_date_start="'.$param['w_default_date_start'].'" default_date_end="'.$param['w_default_date_end'].'"/>
|
2721 |
</div></div>';
|
2722 |
|
2723 |
-
if($required)
|
2724 |
-
|
2725 |
-
|
2726 |
-
{
|
2727 |
-
if(jQuery("#wdform_'.$id1.'_element'.$form_id.'0").val()=="" || jQuery("#wdform_'.$id1.'_element'.$form_id.'1").val()=="")
|
2728 |
-
{
|
2729 |
-
alert("' .addslashes($label. ' ' . __('field is required.', 'form_maker')) . '");
|
2730 |
-
old_bg=x.find(jQuery("div[wdid='.$id1.']")).css("background-color");
|
2731 |
-
x.find(jQuery("div[wdid='.$id1.']")).effect( "shake", {}, 500 ).css("background-color","#FF8F8B").animate({backgroundColor: old_bg}, {duration: 500, queue: false });
|
2732 |
-
}
|
2733 |
-
if(jQuery("#wdform_'.$id1.'_element'.$form_id.'0").val()==""){
|
2734 |
-
jQuery("#wdform_'.$id1.'_element'.$form_id.'0").addClass( "form-error" );
|
2735 |
-
jQuery("#wdform_'.$id1.'_element'.$form_id.'0").focus();
|
2736 |
-
jQuery("#wdform_'.$id1.'_element'.$form_id.'0").change(function() { if( jQuery(this).val()!="" ) jQuery(this).removeClass("form-error"); else jQuery(this).addClass("form-error");});
|
2737 |
-
|
2738 |
-
}
|
2739 |
-
if(jQuery("#wdform_'.$id1.'_element'.$form_id.'1").val()==""){
|
2740 |
-
jQuery("#wdform_'.$id1.'_element'.$form_id.'1").addClass( "form-error" );
|
2741 |
-
jQuery("#wdform_'.$id1.'_element'.$form_id.'1").focus();
|
2742 |
-
jQuery("#wdform_'.$id1.'_element'.$form_id.'1").change(function() { if( jQuery(this).val()!="" ) jQuery(this).removeClass("form-error"); else jQuery(this).addClass("form-error");});
|
2743 |
-
|
2744 |
-
}
|
2745 |
-
if(jQuery("#wdform_'.$id1.'_element'.$form_id.'0").val()=="" || jQuery("#wdform_'.$id1.'_element'.$form_id.'1").val()==""){
|
2746 |
-
return false;
|
2747 |
-
}
|
2748 |
-
}
|
2749 |
-
';
|
2750 |
-
}
|
2751 |
|
2752 |
$onload_js .='
|
2753 |
jQuery("#button_calendar_'.$id1.'0").click(function() {
|
@@ -2945,21 +2675,9 @@ class FMViewForm_maker {
|
|
2945 |
}
|
2946 |
$rep.='</div><div class="wdform-element-section '.$param['w_class'].'" style="'.$param['w_field_label_pos2'].';"><div style="display: table;"><div style="display: table-row;"><div style="display: table-cell;">'.$w_day_type.'</div><div style="display: table-cell;"><span class="wdform_separator">'.$param['w_divider'].'</span></div><div style="display: table-cell;">'.$w_month_type.'</div><div style="display: table-cell;"><span class="wdform_separator">'.$param['w_divider'].'</span></div><div style="display: table-cell;">'.$w_year_type.'</div></div><div style="display: table-row;"><div style="display: table-cell;"><label class="mini_label">'.$param['w_day_label'].'</label></div><div style="display: table-cell;"></div><div style="display: table-cell;"><label class="mini_label" >'.$param['w_month_label'].'</label></div><div style="display: table-cell;"></div><div style="display: table-cell;"><label class="mini_label">'.$param['w_year_label'].'</label></div></div></div></div></div>';
|
2947 |
|
2948 |
-
if($required)
|
2949 |
-
|
2950 |
-
|
2951 |
-
{
|
2952 |
-
if(jQuery("#wdform_'.$id1.'_day'.$form_id.'").val()=="" || jQuery("#wdform_'.$id1.'_month'.$form_id.'").val()=="" || jQuery("#wdform_'.$id1.'_year'.$form_id.'").val()=="")
|
2953 |
-
{
|
2954 |
-
alert("' .addslashes($label. ' ' . __('field is required.', 'form_maker')) . '");
|
2955 |
-
old_bg=x.find(jQuery("div[wdid='.$id1.']")).css("background-color");
|
2956 |
-
x.find(jQuery("div[wdid='.$id1.']")).effect( "shake", {}, 500 ).css("background-color","#FF8F8B").animate({backgroundColor: old_bg}, {duration: 500, queue: false });
|
2957 |
-
jQuery("#wdform_'.$id1.'_day'.$form_id.'").focus();
|
2958 |
-
return false;
|
2959 |
-
}
|
2960 |
-
}
|
2961 |
-
';
|
2962 |
-
}
|
2963 |
break;
|
2964 |
}
|
2965 |
|
@@ -2993,35 +2711,12 @@ class FMViewForm_maker {
|
|
2993 |
}
|
2994 |
$rep.='</div><div class="wdform-element-section '.$param['w_class'].'" style="'.$param['w_field_label_pos2'].';"><label class="file-upload"><div class="file-picker"></div><input type="file" id="wdform_'.$id1.'_element'.$form_id.'" name="wdform_'.$id1.'_file'.$form_id.'[]" '.$multiple.' '.$param['attributes'].'></label></div></div>';
|
2995 |
|
2996 |
-
if($required)
|
2997 |
-
|
2998 |
-
|
2999 |
-
|
3000 |
-
|
3001 |
-
|
3002 |
-
alert("' .addslashes($label. ' ' . __('field is required.', 'form_maker')) . '");
|
3003 |
-
old_bg=x.find(jQuery("div[wdid='.$id1.']")).css("background-color");
|
3004 |
-
x.find(jQuery("div[wdid='.$id1.']")).effect( "shake", {}, 500 ).css("background-color","#FF8F8B").animate({backgroundColor: old_bg}, {duration: 500, queue: false });
|
3005 |
-
jQuery("#wdform_'.$id1.'_element'.$form_id.'").focus();
|
3006 |
-
return false;
|
3007 |
-
}
|
3008 |
-
}
|
3009 |
-
';
|
3010 |
-
}
|
3011 |
-
$check_js.='
|
3012 |
-
if(x.find(jQuery("div[wdid='.$id1.']")).length != 0 && x.find(jQuery("div[wdid='.$id1.']")).css("display") != "none")
|
3013 |
-
{
|
3014 |
-
ext_available=getfileextension(jQuery("#wdform_'.$id1.'_element'.$form_id.'").val(),"'.$param['w_extension'].'");
|
3015 |
-
if(!ext_available)
|
3016 |
-
{
|
3017 |
-
alert("'.addslashes(__("Sorry, you are not allowed to upload this type of file.", 'form_maker')).'");
|
3018 |
-
old_bg=x.find(jQuery("div[wdid='.$id1.']")).css("background-color");
|
3019 |
-
x.find(jQuery("div[wdid='.$id1.']")).effect( "shake", {}, 500 ).css("background-color","#FF8F8B").animate({backgroundColor: old_bg}, {duration: 500, queue: false });
|
3020 |
-
jQuery("#wdform_'.$id1.'_element'.$form_id.'").focus();
|
3021 |
-
return false;
|
3022 |
-
}
|
3023 |
-
}
|
3024 |
-
';
|
3025 |
break;
|
3026 |
}
|
3027 |
|
@@ -3049,19 +2744,9 @@ class FMViewForm_maker {
|
|
3049 |
$onload_js .='jQuery("#wd_captcha'.$form_id.'").click(function() {captcha_refresh("wd_captcha","'.$form_id.'")});';
|
3050 |
$onload_js .='jQuery("#_element_refresh'.$form_id.'").click(function() {captcha_refresh("wd_captcha","'.$form_id.'")});';
|
3051 |
|
3052 |
-
|
3053 |
-
|
3054 |
-
|
3055 |
-
if(jQuery("#wd_captcha_input'.$form_id.'").val()=="")
|
3056 |
-
{
|
3057 |
-
alert("' .addslashes($label. ' ' . __('field is required.', 'form_maker')) . '");
|
3058 |
-
old_bg=x.find(jQuery("div[wdid='.$id1.']")).css("background-color");
|
3059 |
-
x.find(jQuery("div[wdid='.$id1.']")).effect( "shake", {}, 500 ).css("background-color","#FF8F8B").animate({backgroundColor: old_bg}, {duration: 500, queue: false });
|
3060 |
-
jQuery("#wd_captcha_input'.$form_id.'").focus();
|
3061 |
-
return false;
|
3062 |
-
}
|
3063 |
-
}
|
3064 |
-
';
|
3065 |
$onload_js.= 'captcha_refresh("wd_captcha", "'.$form_id.'");';
|
3066 |
break;
|
3067 |
}
|
@@ -3097,19 +2782,9 @@ class FMViewForm_maker {
|
|
3097 |
$onload_js .='jQuery("#wd_arithmetic_captcha'.$form_id.'").click(function() { captcha_refresh("wd_arithmetic_captcha","'.$form_id.'") });';
|
3098 |
$onload_js .='jQuery("#_element_refresh'.$form_id.'").click(function() {captcha_refresh("wd_arithmetic_captcha","'.$form_id.'")});';
|
3099 |
|
3100 |
-
|
3101 |
-
|
3102 |
-
|
3103 |
-
if(jQuery("#wd_arithmetic_captcha_input'.$form_id.'").val()=="")
|
3104 |
-
{
|
3105 |
-
alert("' .addslashes($label. ' ' . __('field is required.', 'form_maker')) . '");
|
3106 |
-
old_bg=x.find(jQuery("div[wdid='.$id1.']")).css("background-color");
|
3107 |
-
x.find(jQuery("div[wdid='.$id1.']")).effect( "shake", {}, 500 ).css("background-color","#FF8F8B").animate({backgroundColor: old_bg}, {duration: 500, queue: false });
|
3108 |
-
jQuery("#wd_arithmetic_captcha_input'.$form_id.'").focus();
|
3109 |
-
return false;
|
3110 |
-
}
|
3111 |
-
}
|
3112 |
-
';
|
3113 |
$onload_js.= 'captcha_refresh("wd_arithmetic_captcha", "'.$form_id.'");';
|
3114 |
break;
|
3115 |
}
|
@@ -4000,7 +3675,7 @@ class FMViewForm_maker {
|
|
4000 |
}
|
4001 |
}
|
4002 |
$param['w_act'] = ($param['w_act']=="false" ? 'style="display: none;"' : "");
|
4003 |
-
$rep='<div type="type_submit_reset" class="wdform-field"><div class="wdform-label-section" style="display: table-cell;"></div><div class="wdform-element-section '.$param['w_class'].'" style="display: table-cell;"><button type="button" class="button-submit" onclick="check_required'.$form_id.'(
|
4004 |
break;
|
4005 |
}
|
4006 |
|
@@ -4062,20 +3737,9 @@ class FMViewForm_maker {
|
|
4062 |
}
|
4063 |
$rep.='</div><div class="wdform-element-section '.$param['w_class'].'" style="'.$param['w_field_label_pos2'].'"><div id="wdform_'.$id1.'_element'.$form_id.'" '.$param['attributes'].'>'.$images.'</div><input type="hidden" value="" id="wdform_'.$id1.'_selected_star_amount'.$form_id.'" name="wdform_'.$id1.'_selected_star_amount'.$form_id.'"></div></div>';
|
4064 |
|
4065 |
-
if($required)
|
4066 |
-
|
4067 |
-
|
4068 |
-
{
|
4069 |
-
if(jQuery("#wdform_'.$id1.'_selected_star_amount'.$form_id.'").val()=="")
|
4070 |
-
{
|
4071 |
-
alert("' .addslashes($label. ' ' . __('field is required.', 'form_maker')) . '");
|
4072 |
-
old_bg=x.find(jQuery("div[wdid='.$id1.']")).css("background-color");
|
4073 |
-
x.find(jQuery("div[wdid='.$id1.']")).effect( "shake", {}, 500 ).css("background-color","#FF8F8B").animate({backgroundColor: old_bg}, {duration: 500, queue: false });
|
4074 |
-
return false;
|
4075 |
-
}
|
4076 |
-
}
|
4077 |
-
';
|
4078 |
-
}
|
4079 |
$post = isset($_POST['wdform_'.$id1.'_selected_star_amount'.$form_id]) ? esc_html(stripslashes($_POST['wdform_'.$id1.'_selected_star_amount'.$form_id])) : NULL;
|
4080 |
if(isset($post)) {
|
4081 |
$onload_js .=' select_star_rating('.($post-1).',"wdform_'.$id1.'", '.$form_id.',"'.$param['w_field_label_col'].'", "'.$param['w_star_amount'].'");';
|
@@ -4121,21 +3785,10 @@ class FMViewForm_maker {
|
|
4121 |
$rep.='<span class="wdform-required">'.$required_sym.'</span>';
|
4122 |
}
|
4123 |
$rep.='</div><div class="wdform-element-section '.$param['w_class'].'" style="'.$param['w_field_label_pos2'].'"><div id="wdform_'.$id1.'_element'.$form_id.'" style="float: left;" '.$param['attributes'].'><label class="mini_label">'.$w_mini_labels[0].'</label><div style="display: inline-table; vertical-align: middle;border-spacing: 7px;"><div style="display: table-row;">'.$numbers.'</div><div style="display: table-row;">'.$radio_buttons.'</div></div><label class="mini_label" >'.$w_mini_labels[1].'</label></div></div></div>';
|
4124 |
-
|
4125 |
-
|
4126 |
-
|
4127 |
-
|
4128 |
-
if(x.find(jQuery("div[wdid='.$id1.'] input:checked")).length == 0)
|
4129 |
-
{
|
4130 |
-
alert("' .addslashes($label. ' ' . __('field is required.', 'form_maker')) . '");
|
4131 |
-
old_bg=x.find(jQuery("div[wdid='.$id1.']")).css("background-color");
|
4132 |
-
x.find(jQuery("div[wdid='.$id1.']")).effect( "shake", {}, 500 ).css("background-color","#FF8F8B").animate({backgroundColor: old_bg}, {duration: 500, queue: false });
|
4133 |
-
|
4134 |
-
return false;
|
4135 |
-
}
|
4136 |
-
}
|
4137 |
-
';
|
4138 |
-
}
|
4139 |
$onsubmit_js.='
|
4140 |
jQuery("<input type=\"hidden\" name=\"wdform_'.$id1.'_scale_amount'.$form_id.'\" value = \"'.$param['w_scale_amount'].'\" />").appendTo("#form'.$form_id.'");
|
4141 |
';
|
@@ -4176,23 +3829,9 @@ class FMViewForm_maker {
|
|
4176 |
jQuery("#form'.$form_id.' #wdform_'.$id1.'_element'.$form_id.'").spinner({ step: "'.$param['w_field_step'].'"});
|
4177 |
';
|
4178 |
|
4179 |
-
if($required)
|
4180 |
-
|
4181 |
-
|
4182 |
-
{
|
4183 |
-
if(jQuery("#wdform_'.$id1.'_element'.$form_id.'").val()=="")
|
4184 |
-
{
|
4185 |
-
alert("' .addslashes($label. ' ' . __('field is required.', 'form_maker')) . '");
|
4186 |
-
jQuery("#wdform_'.$id1.'_element'.$form_id.'").addClass( "form-error" );
|
4187 |
-
old_bg=x.find(jQuery("div[wdid='.$id1.']")).css("background-color");
|
4188 |
-
x.find(jQuery("div[wdid='.$id1.']")).effect( "shake", {}, 500 ).css("background-color","#FF8F8B").animate({backgroundColor: old_bg}, {duration: 500, queue: false });
|
4189 |
-
jQuery("#wdform_'.$id1.'_element'.$form_id.'").focus();
|
4190 |
-
jQuery("#wdform_'.$id1.'_element'.$form_id.'").change(function() { if( jQuery(this).val()!="" ) jQuery(this).removeClass("form-error"); else jQuery(this).addClass("form-error");});
|
4191 |
-
return false;
|
4192 |
-
}
|
4193 |
-
}
|
4194 |
-
';
|
4195 |
-
}
|
4196 |
break;
|
4197 |
}
|
4198 |
|
@@ -4236,20 +3875,9 @@ class FMViewForm_maker {
|
|
4236 |
}
|
4237 |
});
|
4238 |
';
|
4239 |
-
if($required)
|
4240 |
-
|
4241 |
-
|
4242 |
-
{
|
4243 |
-
if(jQuery("#wdform_'.$id1.'_slider_value'.$form_id.'").val()=='.$param['w_field_min_value'].')
|
4244 |
-
{
|
4245 |
-
alert("' .addslashes($label. ' ' . __('field is required.', 'form_maker')) . '");
|
4246 |
-
old_bg=x.find(jQuery("div[wdid='.$id1.']")).css("background-color");
|
4247 |
-
x.find(jQuery("div[wdid='.$id1.']")).effect( "shake", {}, 500 ).css("background-color","#FF8F8B").animate({backgroundColor: old_bg}, {duration: 500, queue: false });
|
4248 |
-
return false;
|
4249 |
-
}
|
4250 |
-
}
|
4251 |
-
';
|
4252 |
-
}
|
4253 |
break;
|
4254 |
}
|
4255 |
|
@@ -4293,21 +3921,9 @@ class FMViewForm_maker {
|
|
4293 |
jQuery("#form'.$form_id.' #wdform_'.$id1.'_element'.$form_id.'").spinner({ step: '.$param['w_field_range_step'].'});
|
4294 |
';
|
4295 |
|
4296 |
-
if($required)
|
4297 |
-
|
4298 |
-
|
4299 |
-
{
|
4300 |
-
if(jQuery("#wdform_'.$id1.'_element'.$form_id.'0").val()=="" || jQuery("#wdform_'.$id1.'_element'.$form_id.'1").val()=="")
|
4301 |
-
{
|
4302 |
-
alert("' .addslashes($label. ' ' . __('field is required.', 'form_maker')) . '");
|
4303 |
-
old_bg=x.find(jQuery("div[wdid='.$id1.']")).css("background-color");
|
4304 |
-
x.find(jQuery("div[wdid='.$id1.']")).effect( "shake", {}, 500 ).css("background-color","#FF8F8B").animate({backgroundColor: old_bg}, {duration: 500, queue: false });
|
4305 |
-
jQuery("#wdform_'.$id1.'_element'.$form_id.'0").focus();
|
4306 |
-
return false;
|
4307 |
-
}
|
4308 |
-
}
|
4309 |
-
';
|
4310 |
-
}
|
4311 |
break;
|
4312 |
}
|
4313 |
|
@@ -4353,21 +3969,10 @@ class FMViewForm_maker {
|
|
4353 |
jQuery("#wdform_'.$id1.'_element'.$form_id.' input").keyup(function() {sum_grading_values("wdform_'.$id1.'",'.$form_id.');});';
|
4354 |
$onload_js.='
|
4355 |
sum_grading_values("wdform_'.$id1.'",'.$form_id.');';
|
4356 |
-
|
4357 |
-
|
4358 |
-
|
4359 |
-
|
4360 |
-
if('.$required_check.')
|
4361 |
-
{
|
4362 |
-
alert("' .addslashes($label. ' ' . __('field is required.', 'form_maker')) . '");
|
4363 |
-
old_bg=x.find(jQuery("div[wdid='.$id1.']")).css("background-color");
|
4364 |
-
x.find(jQuery("div[wdid='.$id1.']")).effect( "shake", {}, 500 ).css("background-color","#FF8F8B").animate({backgroundColor: old_bg}, {duration: 500, queue: false });
|
4365 |
-
jQuery("#wdform_'.$id1.'_element'.$form_id.'0").focus();
|
4366 |
-
return false;
|
4367 |
-
}
|
4368 |
-
}
|
4369 |
-
';
|
4370 |
-
}
|
4371 |
$check_js.='
|
4372 |
if(x.find(jQuery("div[wdid='.$id1.']")).length != 0 && x.find(jQuery("div[wdid='.$id1.']")).css("display") != "none")
|
4373 |
{
|
@@ -4456,77 +4061,9 @@ class FMViewForm_maker {
|
|
4456 |
$onsubmit_js.='
|
4457 |
jQuery("<input type=\"hidden\" name=\"wdform_'.$id1.'_input_type'.$form_id.'\" value = \"'.$param['w_field_input_type'].'\" /><input type=\"hidden\" name=\"wdform_'.$id1.'_hidden_row'.$form_id.'\" value = \"'.addslashes($param['w_rows']).'\" /><input type=\"hidden\" name=\"wdform_'.$id1.'_hidden_column'.$form_id.'\" value = \"'.addslashes($param['w_columns']).'\" />").appendTo("#form'.$form_id.'");
|
4458 |
';
|
4459 |
-
if($required)
|
4460 |
-
|
4461 |
-
|
4462 |
-
if(x.find(jQuery("div[wdid='.$id1.']")).length != 0 && x.find(jQuery("div[wdid='.$id1.']")).css("display") != "none")
|
4463 |
-
{
|
4464 |
-
var radio_checked=true;
|
4465 |
-
for(var k=1; k<'.count($w_rows).';k++)
|
4466 |
-
{
|
4467 |
-
if(x.find(jQuery("div[wdid='.$id1.']")).find(jQuery("div[row="+k+"]")).find(jQuery("input[type=\'radio\']:checked")).length == 0)
|
4468 |
-
{
|
4469 |
-
radio_checked=false;
|
4470 |
-
break;
|
4471 |
-
}
|
4472 |
-
}
|
4473 |
-
|
4474 |
-
if(radio_checked==false)
|
4475 |
-
{
|
4476 |
-
alert("' .addslashes($label. ' ' . __('field is required.', 'form_maker')) . '");
|
4477 |
-
old_bg=x.find(jQuery("div[wdid='.$id1.']")).css("background-color");
|
4478 |
-
x.find(jQuery("div[wdid='.$id1.']")).effect( "shake", {}, 500 ).css("background-color","#FF8F8B").animate({backgroundColor: old_bg}, {duration: 500, queue: false });
|
4479 |
-
return false;
|
4480 |
-
}
|
4481 |
-
}
|
4482 |
-
';
|
4483 |
-
}
|
4484 |
-
if($param['w_field_input_type']=='checkbox') {
|
4485 |
-
$check_js.='
|
4486 |
-
if(x.find(jQuery("div[wdid='.$id1.']")).length != 0 && x.find(jQuery("div[wdid='.$id1.']")).css("display") != "none")
|
4487 |
-
{
|
4488 |
-
if(x.find(jQuery("div[wdid='.$id1.']")).find(jQuery("input[type=\'checkbox\']:checked")).length == 0)
|
4489 |
-
{
|
4490 |
-
alert("' .addslashes($label. ' ' . __('field is required.', 'form_maker')) . '");
|
4491 |
-
old_bg=x.find(jQuery("div[wdid='.$id1.']")).css("background-color");
|
4492 |
-
x.find(jQuery("div[wdid='.$id1.']")).effect( "shake", {}, 500 ).css("background-color","#FF8F8B").animate({backgroundColor: old_bg}, {duration: 500, queue: false });
|
4493 |
-
return false;
|
4494 |
-
}
|
4495 |
-
}
|
4496 |
-
|
4497 |
-
';
|
4498 |
-
}
|
4499 |
-
if($param['w_field_input_type']=='text') {
|
4500 |
-
$check_js.='
|
4501 |
-
if(x.find(jQuery("div[wdid='.$id1.']")).length != 0 && x.find(jQuery("div[wdid='.$id1.']")).css("display") != "none")
|
4502 |
-
{
|
4503 |
-
if(x.find(jQuery("div[wdid='.$id1.']")).find(jQuery("input[type=\'text\']")).filter(function() {return this.value.length !== 0;}).length == 0)
|
4504 |
-
{
|
4505 |
-
alert("' .addslashes($label. ' ' . __('field is required.', 'form_maker')) . '");
|
4506 |
-
old_bg=x.find(jQuery("div[wdid='.$id1.']")).css("background-color");
|
4507 |
-
x.find(jQuery("div[wdid='.$id1.']")).effect( "shake", {}, 500 ).css("background-color","#FF8F8B").animate({backgroundColor: old_bg}, {duration: 500, queue: false });
|
4508 |
-
return false;
|
4509 |
-
}
|
4510 |
-
}
|
4511 |
-
';
|
4512 |
-
}
|
4513 |
-
|
4514 |
-
if($param['w_field_input_type']=='select') {
|
4515 |
-
$check_js.='
|
4516 |
-
if(x.find(jQuery("div[wdid='.$id1.']")).length != 0 && x.find(jQuery("div[wdid='.$id1.']")).css("display") != "none")
|
4517 |
-
{
|
4518 |
-
if(x.find(jQuery("div[wdid='.$id1.']")).find(jQuery("select")).filter(function() {return this.value.length !== 0;}).length == 0)
|
4519 |
-
{
|
4520 |
-
alert("' .addslashes($label. ' ' . __('field is required.', 'form_maker')) . '");
|
4521 |
-
old_bg=x.find(jQuery("div[wdid='.$id1.']")).css("background-color");
|
4522 |
-
x.find(jQuery("div[wdid='.$id1.']")).effect( "shake", {}, 500 ).css("background-color","#FF8F8B").animate({backgroundColor: old_bg}, {duration: 500, queue: false });
|
4523 |
-
return false;
|
4524 |
-
}
|
4525 |
-
}
|
4526 |
-
|
4527 |
-
';
|
4528 |
-
}
|
4529 |
-
}
|
4530 |
break;
|
4531 |
}
|
4532 |
|
@@ -4582,12 +4119,538 @@ class FMViewForm_maker {
|
|
4582 |
$form_maker_front_end .= '</form>';
|
4583 |
?>
|
4584 |
<script type="text/javascript">
|
4585 |
-
|
4586 |
WDF_GRADING_TEXT ='<?php echo addslashes(__("Your score should be less than", 'form_maker')); ?>';
|
4587 |
WDF_INVALID_GRADING_<?php echo $id; ?> = '<?php echo addslashes(sprintf(__("Your score should be less than", 'form_maker'), '`grading_label`', '`grading_total`')); ?>';
|
4588 |
FormCurrency_<?php echo $id; ?> = '<?php echo $form_currency ?>';
|
4589 |
FormPaypalTax_<?php echo $id; ?> = '<?php echo $form_paypal_tax ?>';
|
4590 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4591 |
function formOnload<?php echo $id; ?>() {
|
4592 |
if (navigator.userAgent.toLowerCase().indexOf('msie') != -1 && parseInt(navigator.userAgent.toLowerCase().split('msie')[1]) === 8) {
|
4593 |
jQuery("#form<?php echo $id; ?>").find(jQuery("input[type='radio']")).click(function() {jQuery("input[type='radio']+label").removeClass('if-ie-div-label'); jQuery("input[type='radio']:checked+label").addClass('if-ie-div-label')});
|
@@ -4595,8 +4658,15 @@ class FMViewForm_maker {
|
|
4595 |
jQuery("#form<?php echo $id; ?>").find(jQuery("input[type='checkbox']")).click(function() {jQuery("input[type='checkbox']+label").removeClass('if-ie-div-label'); jQuery("input[type='checkbox']:checked+label").addClass('if-ie-div-label')});
|
4596 |
jQuery("#form<?php echo $id; ?>").find(jQuery("input[type='checkbox']:checked+label")).addClass('if-ie-div-label');
|
4597 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
4598 |
|
4599 |
-
|
|
|
4600 |
jQuery("div[type='type_number'] input, div[type='type_phone'] input, div[type='type_spinner'] input, div[type='type_range'] input, .wdform-quantity").keypress(function(evt) {return check_isnum(evt)});
|
4601 |
|
4602 |
jQuery("div[type='type_grading'] input").keypress(function(evt) {return check_isnum_or_minus(evt)});
|
@@ -4693,137 +4763,138 @@ class FMViewForm_maker {
|
|
4693 |
generate_page_nav(first_form_view<?php echo $id ?>, '<?php echo $id ?>', form_view_count<?php echo $id ?>, form_view_max<?php echo $id ?>);
|
4694 |
}
|
4695 |
});
|
4696 |
-
function check_required<?php echo $form_id ?>(but_type) {
|
4697 |
if (but_type == 'reset') {
|
4698 |
if (window.before_reset) {
|
4699 |
before_reset();
|
4700 |
}
|
4701 |
-
|
4702 |
-
var label_ids = <?php echo json_encode($id1s) ?>;
|
4703 |
-
jQuery.each(types, function (index, elem) {
|
4704 |
switch(elem) {
|
4705 |
case "type_text":
|
4706 |
-
case "type_password":
|
4707 |
case "type_textarea":
|
4708 |
case "type_number":
|
4709 |
-
case "type_submitter_mail":
|
4710 |
case "type_spinner":
|
4711 |
case 'type_own_select':
|
4712 |
case 'type_country':
|
4713 |
case 'type_date':
|
|
|
4714 |
case 'type_hidden':
|
4715 |
-
jQuery("#wdform_"+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4716 |
break;
|
4717 |
|
4718 |
case 'type_send_copy':
|
4719 |
-
jQuery("#wdform_"+
|
4720 |
break;
|
4721 |
case 'type_phone':
|
4722 |
-
jQuery("#wdform_"+
|
4723 |
break;
|
4724 |
|
4725 |
case 'type_name':
|
4726 |
-
jQuery("#wdform_"+
|
4727 |
break;
|
4728 |
|
4729 |
case 'type_address':
|
4730 |
-
jQuery("#wdform_"+
|
4731 |
break;
|
4732 |
|
4733 |
case 'type_checkbox':
|
4734 |
-
jQuery("#form
|
4735 |
-
jQuery("#wdform_"+
|
4736 |
-
jQuery("#wdform_"+
|
4737 |
break;
|
4738 |
|
4739 |
case 'type_radio':
|
4740 |
-
jQuery("#form
|
4741 |
-
jQuery("#wdform_"+
|
4742 |
-
jQuery("#wdform_"+
|
4743 |
break;
|
4744 |
|
4745 |
case 'type_time':
|
4746 |
-
jQuery("#wdform_"+
|
4747 |
break;
|
4748 |
|
4749 |
case 'type_date_fields':
|
4750 |
-
jQuery("#wdform_"+
|
4751 |
break;
|
4752 |
|
4753 |
case 'type_file_upload':
|
4754 |
-
jQuery("#wdform_"+
|
4755 |
break;
|
4756 |
-
|
4757 |
-
case 'type_paypal_price':
|
4758 |
-
jQuery("#wdform_"+label_ids[index]+"_element_dollars<?php echo $id ?>, #wdform_"+label_ids[index]+"_element_cents<?php echo $id ?>").val('');
|
4759 |
-
break;
|
4760 |
-
|
4761 |
-
case 'type_paypal_select':
|
4762 |
-
jQuery("#wdform_"+label_ids[index]+"_element<?php echo $id ?>, #wdform_"+label_ids[index]+"_element_quantity<?php echo $id ?>, #form<?php echo $id ?> div[wdid='"+label_ids[index]+"'] .paypal-property select").val('');
|
4763 |
-
break;
|
4764 |
-
|
4765 |
-
case 'type_paypal_radio':
|
4766 |
-
jQuery("#wdform_"+label_ids[index]+"_element_quantity<?php echo $id ?>,#form<?php echo $id ?> div[wdid='"+label_ids[index]+"'] .paypal-property select").val('');
|
4767 |
-
jQuery("#form<?php echo $id ?> div[wdid='"+label_ids[index]+"'] .radio-div input").prop('checked', false);
|
4768 |
-
break;
|
4769 |
-
|
4770 |
-
case 'type_paypal_shipping':
|
4771 |
-
jQuery("#form<?php echo $id ?> div[wdid='"+label_ids[index]+"'] .radio-div input").prop('checked', false);
|
4772 |
-
break;
|
4773 |
-
|
4774 |
-
case 'type_paypal_checkbox':
|
4775 |
-
jQuery("#wdform_"+label_ids[index]+"_element_quantity<?php echo $id ?>,#form<?php echo $id ?> div[wdid='"+label_ids[index]+"'] .paypal-property select").val('');
|
4776 |
-
jQuery("#form<?php echo $id ?> div[wdid='"+label_ids[index]+"'] .checkbox-div input").prop('checked', false);
|
4777 |
-
break;
|
4778 |
-
|
4779 |
case 'type_star_rating':
|
4780 |
-
jQuery("#wdform_"+
|
4781 |
-
jQuery("#wdform_"+
|
4782 |
break;
|
4783 |
|
4784 |
case 'type_scale_rating':
|
4785 |
-
jQuery("#form
|
4786 |
break;
|
4787 |
|
4788 |
case 'type_slider':
|
4789 |
-
jQuery("#wdform_"+
|
4790 |
value: eval(0),
|
4791 |
});
|
4792 |
-
jQuery("#wdform_"+
|
4793 |
break;
|
4794 |
|
4795 |
case 'type_range':
|
4796 |
-
jQuery("#wdform_"+
|
4797 |
break;
|
4798 |
|
4799 |
case 'type_grading':
|
4800 |
-
jQuery("#wdform_"+
|
4801 |
break;
|
4802 |
|
4803 |
case 'type_matrix':
|
4804 |
-
jQuery("#wdform_"+
|
4805 |
-
jQuery("#wdform_"+
|
4806 |
-
jQuery("#wdform_"+
|
4807 |
-
jQuery("#wdform_"+
|
4808 |
break;
|
4809 |
|
4810 |
case 'type_paypal_total':
|
4811 |
-
jQuery("#wdform_"+
|
4812 |
-
jQuery("#wdform_"+
|
4813 |
break;
|
4814 |
default:
|
4815 |
break;
|
4816 |
}
|
4817 |
});
|
4818 |
-
|
4819 |
-
return;
|
4820 |
}
|
4821 |
if (window.before_submit) {
|
4822 |
if(before_submit())
|
4823 |
return false;
|
4824 |
}
|
4825 |
-
|
4826 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4827 |
var a = [];
|
4828 |
if (typeof a[<?php echo $form_id ?>] !== 'undefined' && a[<?php echo $form_id ?>] == 1) {
|
4829 |
return;
|
@@ -4832,11 +4903,23 @@ class FMViewForm_maker {
|
|
4832 |
a[<?php echo $form_id ?>] = 1;
|
4833 |
document.getElementById("form"+<?php echo $form_id ?>).submit();
|
4834 |
}
|
4835 |
-
|
4836 |
-
|
4837 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4838 |
return true;
|
4839 |
}
|
|
|
|
|
4840 |
</script>
|
4841 |
<?php
|
4842 |
}
|
137 |
$form_currency = $currency_sign[array_search($row->payment_currency, $currency_code)];
|
138 |
}
|
139 |
$form_paypal_tax = $row->tax;
|
140 |
+
$form_maker_front_end .= '<form name="form' . $id . '" action="' . $current_url . '" method="post" id="form' . $id . '" class="form' . $id . '" enctype="multipart/form-data" onsubmit="check_required'.$id.'(\'submit\', \'' . $id . '\'); return false;">
|
141 |
<div id="' . $id . 'pages" class="wdform_page_navigation" show_title="' . $row->show_title . '" show_numbers="' . $row->show_numbers . '" type="' . $row->pagination . '"></div>
|
142 |
<input type="hidden" id="counter' . $id . '" value="' . $row->counter . '" name="counter' . $id . '" />
|
143 |
<input type="hidden" id="Itemid' . $id . '" value="" name="Itemid' . $id . '" />';
|
159 |
array_push($labels, $temp[0]);
|
160 |
array_push($paramss, $temp[1]);
|
161 |
}
|
162 |
+
|
163 |
+
$labels_and_ids = array_combine( $id1s, $types );
|
164 |
$form_id = $id;
|
165 |
|
166 |
$show_hide = array();
|
1003 |
else {
|
1004 |
$form = $row->form_front;
|
1005 |
}
|
1006 |
+
$req_fields = array();
|
1007 |
+
$check_regExp_all = array();
|
1008 |
+
$file_upload_check = array();
|
1009 |
+
|
1010 |
$GLOBALS['map_include'] = false;
|
1011 |
|
1012 |
foreach($id1s as $id1s_key => $id1) {
|
1082 |
if(!jQuery("#wdform_'.$id1.'_element'.$form_id.'").is(":checked"))
|
1083 |
jQuery("<input type=\"hidden\" name=\"wdform_send_copy_'.$form_id.'\" value = \"1\" />").appendTo("#form'.$form_id.'");';
|
1084 |
if($required) {
|
1085 |
+
array_push($req_fields, $id1);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1086 |
}
|
1087 |
break;
|
1088 |
}
|
1121 |
$rep.='</div><div class="wdform-element-section" style="'.$param['w_field_label_pos2'].' width: '.$param['w_size'].'px;" ><input type="text" class="'.$input_active.'" id="wdform_'.$id1.'_element'.$form_id.'" name="wdform_'.$id1.'_element'.$form_id.'" value="'.$param['w_first_val'].'" title="'.$param['w_title'].'" style="width: 100%;" '.$param['attributes'].'></div></div>';
|
1122 |
|
1123 |
if($required) {
|
1124 |
+
array_push($req_fields, $id1);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1125 |
}
|
1126 |
+
|
1127 |
if($param['w_regExp_status'] == 'yes') {
|
1128 |
+
$check_regExp_all[$id1] = array($param["w_regExp_value"], $param["w_regExp_arg"], $param["w_regExp_alert"]);
|
1129 |
+
|
1130 |
+
}
|
1131 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1132 |
break;
|
1133 |
}
|
1134 |
|
1163 |
$rep.='</div><div class="wdform-element-section '.$param['w_class'].'" style="'.$param['w_field_label_pos2'].' width: '.$param['w_size'].'px;"><input type="text" class="'.$input_active.'" id="wdform_'.$id1.'_element'.$form_id.'" name="wdform_'.$id1.'_element'.$form_id.'" value="'.$param['w_first_val'].'" title="'.$param['w_title'].'" style="width: 100%;" '.$param['attributes'].'></div></div>';
|
1164 |
|
1165 |
if($required) {
|
1166 |
+
array_push($req_fields, $id1);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1167 |
}
|
1168 |
break;
|
1169 |
}
|
1196 |
if($required) {
|
1197 |
$rep.='<span class="wdform-required">'.$required_sym.'</span>';
|
1198 |
}
|
1199 |
+
|
1200 |
+
$message_confirm = addslashes(__("Password values don't match", "form_maker"));
|
1201 |
+
$onchange = (isset($param['w_verification']) && $param['w_verification'] == "yes") ? ' onchange="wd_check_confirmation_pass(\''.$id1.'\', \''.$form_id.'\', \''.$message_confirm.'\')"' : "";
|
1202 |
+
|
1203 |
+
|
1204 |
+
$rep.='</div><div class="wdform-element-section '.$param['w_class'].'" style="'.$param['w_field_label_pos2'].' width: '.$param['w_size'].'px;"><input type="password" id="wdform_'.$id1.'_element'.$form_id.'" name="wdform_'.$id1.'_element'.$form_id.'" style="width: 100%;" '.$param['attributes']. $onchange.'></div></div>';
|
1205 |
|
1206 |
if(isset($param['w_verification']) && $param['w_verification'] == "yes"){
|
1207 |
$rep .='<div><div type="type_password" class="wdform-field" style="width:'.$wdformfieldsize.'px"><div class="wdform-label-section" style="'.$param['w_field_label_pos1'].'; width: '.$param['w_field_label_size'].'px;"><span class="wdform-label">'.$param['w_verification_label'].'</span>';
|
1208 |
if($required) {
|
1209 |
$rep.='<span class="wdform-required">'.$required_sym.'</span>';
|
1210 |
}
|
1211 |
+
$rep.='</div><div class="wdform-element-section '.$param['w_class'].'" style="'.$param['w_field_label_pos2'].' width: '.$param['w_size'].'px;"><input type="password" id="wdform_'.$id1.'_1_element'.$form_id.'" name="wdform_'.$id1.'_1_element'.$form_id.'" style="width: 100%;" '.$param['attributes'].' onchange="wd_check_confirmation_pass(\''.$id1.'\', \''.$form_id.'\', \''.$message_confirm.'\')"></div></div></div>';
|
1212 |
}
|
1213 |
|
1214 |
|
1215 |
if($required) {
|
1216 |
+
array_push($req_fields, $id1);
|
1217 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1218 |
break;
|
1219 |
}
|
1220 |
|
1248 |
$rep.='</div><div class="wdform-element-section '.$param['w_class'].'" style="'.$param['w_field_label_pos2'].' width: '.$param['w_size_w'].'px"><textarea class="'.$input_active.'" id="wdform_'.$id1.'_element'.$form_id.'" name="wdform_'.$id1.'_element'.$form_id.'" title="'.$param['w_title'].'" style="width: 100%; height: '.$param['w_size_h'].'px;" '.$param['attributes'].'>'.$param['w_first_val'].'</textarea></div></div>';
|
1249 |
|
1250 |
if($required) {
|
1251 |
+
array_push($req_fields, $id1);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1252 |
}
|
1253 |
break;
|
1254 |
}
|
1361 |
</div>';
|
1362 |
|
1363 |
if($required) {
|
1364 |
+
array_push($req_fields, $id1);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1365 |
}
|
1366 |
break;
|
1367 |
}
|
1477 |
<div class="wdform-element-section '.$param['w_class'].'" style="'.$param['w_field_label_pos2'].' width: '.$w_size.'px;">'.$w_name_format.'</div></div>';
|
1478 |
|
1479 |
if($required) {
|
1480 |
+
array_push($req_fields, $id1);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1481 |
}
|
1482 |
break;
|
1483 |
}
|
1566 |
'.$address_fields.'</div></div></div>';
|
1567 |
|
1568 |
if ($required) {
|
1569 |
+
array_push($req_fields, $id1);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1570 |
}
|
1571 |
$post = isset($_POST['wdform_'.($id1+5).'_country'.$form_id]) ? esc_html(stripslashes($_POST['wdform_'.($id1+5).'_country'.$form_id])) : NULL;
|
1572 |
if(isset($post)) {
|
1643 |
if($required) {
|
1644 |
$rep.='<span class="wdform-required">'.$required_sym.'</span>';
|
1645 |
}
|
1646 |
+
$message_confirm = addslashes(__("The email addresses don't match", "form_maker"));
|
1647 |
+
$message_check_email = addslashes(__('This is not a valid email address.', 'form_maker'));
|
1648 |
+
|
1649 |
+
$onchange = (isset($param['w_verification']) && $param['w_verification'] == "yes") ? '; wd_check_confirmation_email(\''.$id1.'\', \''.$form_id.'\', \''.$message_confirm.'\')' : '';
|
1650 |
+
|
1651 |
+
$rep.='</div><div class="wdform-element-section '.$param['w_class'].'" style="'.$param['w_field_label_pos2'].' width: '.$param['w_size'].'px;"><input type="text" class="'.$input_active.'" id="wdform_'.$id1.'_element'.$form_id.'" name="wdform_'.$id1.'_element'.$form_id.'" value="'.$param['w_first_val'].'" title="'.$param['w_title'].'" style="width: 100%;" '.$param['attributes'].' onchange="wd_check_email(\''.$id1.'\', \''.$form_id.'\', \''.$message_check_email.'\', \''.$message_confirm.'\')' .$onchange. '"></div></div>';
|
1652 |
|
1653 |
if(isset($param['w_verification']) && $param['w_verification'] == "yes"){
|
1654 |
+
|
1655 |
+
$param['w_verification_placeholder']=(isset($_POST['wdform_'.$id1.'_1_element'.$form_id]) ? esc_html(stripslashes($_POST['wdform_'.$id1.'_1_element'.$form_id])) : $param['w_verification_placeholder']);
|
1656 |
+
|
1657 |
+
$rep .='<div><div type="type_submitter_mail_confirmation" class="wdform-field" style="width:'.$wdformfieldsize.'px"><div class="wdform-label-section" style="'.$param['w_field_label_pos1'].'; width: '.$param['w_field_label_size'].'px;"><span class="wdform-label">'.$param['w_verification_label'].'</span>';
|
1658 |
if($required) {
|
1659 |
$rep.='<span class="wdform-required">'.$required_sym.'</span>';
|
1660 |
}
|
1661 |
+
$rep.='</div><div class="wdform-element-section '.$param['w_class'].'" style="'.$param['w_field_label_pos2'].' width: '.$param['w_size'].'px;"><input type="text" class="'.$input_active.'" id="wdform_'.$id1.'_1_element'.$form_id.'" name="wdform_'.$id1.'_1_element'.$form_id.'" value="'.$param['w_verification_placeholder'].'" title="'.$param['w_verification_placeholder'].'" style="width: 100%;" '.$param['attributes'].'onchange="wd_check_confirmation_email(\''.$id1.'\', \''.$form_id.'\', \''.$message_confirm.'\')"></div></div></div>';
|
1662 |
}
|
1663 |
|
1664 |
if($required) {
|
1665 |
+
array_push($req_fields, $id1);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1666 |
}
|
|
|
1667 |
break;
|
1668 |
}
|
1669 |
|
1814 |
$rep.='</div></div>';
|
1815 |
|
1816 |
if($required) {
|
1817 |
+
array_push($req_fields, $id1);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1818 |
}
|
1819 |
if($is_other) {
|
1820 |
$onload_js .='show_other_input("wdform_'.$id1.'","'.$form_id.'"); jQuery("#wdform_'.$id1.'_other_input'.$form_id.'").val("'.(isset($_POST['wdform_'.$id1."_other_input".$form_id]) ? esc_html(stripslashes($_POST['wdform_'.$id1."_other_input".$form_id])) : '').'");';
|
1971 |
$rep.='</div></div>';
|
1972 |
|
1973 |
if($required) {
|
1974 |
+
array_push($req_fields, $id1);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1975 |
}
|
1976 |
if($is_other) {
|
1977 |
$onload_js .='show_other_input("wdform_'.$id1.'","'.$form_id.'"); jQuery("#wdform_'.$id1.'_other_input'.$form_id.'").val("'.(isset($_POST['wdform_'.$id1."_other_input".$form_id]) ? esc_html(stripslashes($_POST['wdform_'.$id1."_other_input".$form_id])) : '').'");';
|
2092 |
}
|
2093 |
$rep.='</select></div></div>';
|
2094 |
|
2095 |
+
if($required){
|
2096 |
+
array_push($req_fields, $id1);
|
2097 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2098 |
break;
|
2099 |
}
|
2100 |
|
2137 |
}
|
2138 |
$rep.='</select></div></div>';
|
2139 |
|
2140 |
+
if($required){
|
2141 |
+
array_push($req_fields, $id1);
|
2142 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2143 |
break;
|
2144 |
}
|
2145 |
|
2199 |
}
|
2200 |
$rep.='</div><div class="wdform-element-section '.$param['w_class'].'" style="'.$param['w_field_label_pos2'].';"><div style="display: table;"><div style="display: table-row;"><div style="display: table-cell;"><input type="text" value="'.(isset($_POST['wdform_'.$id1."_hh".$form_id]) ? esc_html(stripslashes($_POST['wdform_'.$id1."_hh".$form_id])) : $param['w_hh']).'" class="time_box" id="wdform_'.$id1.'_hh'.$form_id.'" name="wdform_'.$id1.'_hh'.$form_id.'" onkeypress="return check_hour(event, "wdform_'.$id1.'_hh'.$form_id.'", "23")" '.$param['attributes'].'></div><div align="center" style="display: table-cell;"><span class="wdform_colon" style="vertical-align: middle;"> : </span></div><div style="display: table-cell;"><input type="text" value="'.(isset($_POST['wdform_'.$id1."_mm".$form_id]) ? esc_html(stripslashes($_POST['wdform_'.$id1."_mm".$form_id])) : $param['w_mm']).'" class="time_box" id="wdform_'.$id1.'_mm'.$form_id.'" name="wdform_'.$id1.'_mm'.$form_id.'" onkeypress="return check_minute(event, "wdform_'.$id1.'_mm'.$form_id.'")" '.$param['attributes'].'></div>'.$w_sec.$w_time_type.'</div><div style="display: table-row;"><div style="display: table-cell;"><label class="mini_label">'.$w_mini_labels[0].'</label></div><div style="display: table-cell;"></div><div style="display: table-cell;"><label class="mini_label">'.$w_mini_labels[1].'</label></div>'.$w_sec_label.$w_time_type_label.'</div></div></div></div>';
|
2201 |
|
2202 |
+
if($required){
|
2203 |
+
array_push($req_fields, $id1);
|
2204 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2205 |
break;
|
2206 |
}
|
2207 |
|
2329 |
$rep.='</div><div class="wdform-element-section '.$param['w_class'].'" style="width:'.$div_size.'px; ' .$param['w_field_label_pos2'].' "><input type="text" id="wdform_'.$id1.'_element'.$form_id.'" class="input_active" style="width:'.$input_size.'" name="wdform_'.$id1.'_element'.$form_id.'" '.$param['attributes'].'><img style="display:'.$show_image.'; vertical-align:sub" src="'.WD_FM_URL.'/images/date.png" id="button_calendar_'.$id1.'" /><input type="hidden" format="'.$param['w_format'].'" id="wdform_'.$id1.'_button'.$form_id.'" value="'.$default_date.'"/></div></div>';
|
2330 |
|
2331 |
|
2332 |
+
if($required){
|
2333 |
+
array_push($req_fields, $id1);
|
2334 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2335 |
|
2336 |
$onload_js .='
|
2337 |
jQuery("#button_calendar_'.$id1.'").click(function() {
|
2475 |
<input type="hidden" format="'.$param['w_format'].'" id="wdform_'.$id1.'_button'.$form_id.'" default_date_start="'.$param['w_default_date_start'].'" default_date_end="'.$param['w_default_date_end'].'"/>
|
2476 |
</div></div>';
|
2477 |
|
2478 |
+
if($required){
|
2479 |
+
array_push($req_fields, $id1);
|
2480 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2481 |
|
2482 |
$onload_js .='
|
2483 |
jQuery("#button_calendar_'.$id1.'0").click(function() {
|
2675 |
}
|
2676 |
$rep.='</div><div class="wdform-element-section '.$param['w_class'].'" style="'.$param['w_field_label_pos2'].';"><div style="display: table;"><div style="display: table-row;"><div style="display: table-cell;">'.$w_day_type.'</div><div style="display: table-cell;"><span class="wdform_separator">'.$param['w_divider'].'</span></div><div style="display: table-cell;">'.$w_month_type.'</div><div style="display: table-cell;"><span class="wdform_separator">'.$param['w_divider'].'</span></div><div style="display: table-cell;">'.$w_year_type.'</div></div><div style="display: table-row;"><div style="display: table-cell;"><label class="mini_label">'.$param['w_day_label'].'</label></div><div style="display: table-cell;"></div><div style="display: table-cell;"><label class="mini_label" >'.$param['w_month_label'].'</label></div><div style="display: table-cell;"></div><div style="display: table-cell;"><label class="mini_label">'.$param['w_year_label'].'</label></div></div></div></div></div>';
|
2677 |
|
2678 |
+
if($required){
|
2679 |
+
array_push($req_fields, $id1);
|
2680 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2681 |
break;
|
2682 |
}
|
2683 |
|
2711 |
}
|
2712 |
$rep.='</div><div class="wdform-element-section '.$param['w_class'].'" style="'.$param['w_field_label_pos2'].';"><label class="file-upload"><div class="file-picker"></div><input type="file" id="wdform_'.$id1.'_element'.$form_id.'" name="wdform_'.$id1.'_file'.$form_id.'[]" '.$multiple.' '.$param['attributes'].'></label></div></div>';
|
2713 |
|
2714 |
+
if($required){
|
2715 |
+
array_push($req_fields, $id1);
|
2716 |
+
}
|
2717 |
+
|
2718 |
+
$file_upload_check[$id1] = $param['w_extension'];
|
2719 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2720 |
break;
|
2721 |
}
|
2722 |
|
2744 |
$onload_js .='jQuery("#wd_captcha'.$form_id.'").click(function() {captcha_refresh("wd_captcha","'.$form_id.'")});';
|
2745 |
$onload_js .='jQuery("#_element_refresh'.$form_id.'").click(function() {captcha_refresh("wd_captcha","'.$form_id.'")});';
|
2746 |
|
2747 |
+
|
2748 |
+
array_push($req_fields, $id1);
|
2749 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2750 |
$onload_js.= 'captcha_refresh("wd_captcha", "'.$form_id.'");';
|
2751 |
break;
|
2752 |
}
|
2782 |
$onload_js .='jQuery("#wd_arithmetic_captcha'.$form_id.'").click(function() { captcha_refresh("wd_arithmetic_captcha","'.$form_id.'") });';
|
2783 |
$onload_js .='jQuery("#_element_refresh'.$form_id.'").click(function() {captcha_refresh("wd_arithmetic_captcha","'.$form_id.'")});';
|
2784 |
|
2785 |
+
|
2786 |
+
array_push($req_fields, $id1);
|
2787 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2788 |
$onload_js.= 'captcha_refresh("wd_arithmetic_captcha", "'.$form_id.'");';
|
2789 |
break;
|
2790 |
}
|
3675 |
}
|
3676 |
}
|
3677 |
$param['w_act'] = ($param['w_act']=="false" ? 'style="display: none;"' : "");
|
3678 |
+
$rep='<div type="type_submit_reset" class="wdform-field"><div class="wdform-label-section" style="display: table-cell;"></div><div class="wdform-element-section '.$param['w_class'].'" style="display: table-cell;"><button type="button" class="button-submit" onclick="check_required'.$form_id.'(\'submit\', \''.$form_id.'\');" '.$param['attributes'].'>'.$param['w_submit_title'].'</button><button type="button" class="button-reset" onclick="check_required'.$form_id.'(\'reset\', '.$form_id.');" '.$param['w_act'].' '.$param['attributes'].'>'.$param['w_reset_title'].'</button></div></div>';
|
3679 |
break;
|
3680 |
}
|
3681 |
|
3737 |
}
|
3738 |
$rep.='</div><div class="wdform-element-section '.$param['w_class'].'" style="'.$param['w_field_label_pos2'].'"><div id="wdform_'.$id1.'_element'.$form_id.'" '.$param['attributes'].'>'.$images.'</div><input type="hidden" value="" id="wdform_'.$id1.'_selected_star_amount'.$form_id.'" name="wdform_'.$id1.'_selected_star_amount'.$form_id.'"></div></div>';
|
3739 |
|
3740 |
+
if($required){
|
3741 |
+
array_push($req_fields, $id1);
|
3742 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3743 |
$post = isset($_POST['wdform_'.$id1.'_selected_star_amount'.$form_id]) ? esc_html(stripslashes($_POST['wdform_'.$id1.'_selected_star_amount'.$form_id])) : NULL;
|
3744 |
if(isset($post)) {
|
3745 |
$onload_js .=' select_star_rating('.($post-1).',"wdform_'.$id1.'", '.$form_id.',"'.$param['w_field_label_col'].'", "'.$param['w_star_amount'].'");';
|
3785 |
$rep.='<span class="wdform-required">'.$required_sym.'</span>';
|
3786 |
}
|
3787 |
$rep.='</div><div class="wdform-element-section '.$param['w_class'].'" style="'.$param['w_field_label_pos2'].'"><div id="wdform_'.$id1.'_element'.$form_id.'" style="float: left;" '.$param['attributes'].'><label class="mini_label">'.$w_mini_labels[0].'</label><div style="display: inline-table; vertical-align: middle;border-spacing: 7px;"><div style="display: table-row;">'.$numbers.'</div><div style="display: table-row;">'.$radio_buttons.'</div></div><label class="mini_label" >'.$w_mini_labels[1].'</label></div></div></div>';
|
3788 |
+
|
3789 |
+
if($required){
|
3790 |
+
array_push($req_fields, $id1);
|
3791 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3792 |
$onsubmit_js.='
|
3793 |
jQuery("<input type=\"hidden\" name=\"wdform_'.$id1.'_scale_amount'.$form_id.'\" value = \"'.$param['w_scale_amount'].'\" />").appendTo("#form'.$form_id.'");
|
3794 |
';
|
3829 |
jQuery("#form'.$form_id.' #wdform_'.$id1.'_element'.$form_id.'").spinner({ step: "'.$param['w_field_step'].'"});
|
3830 |
';
|
3831 |
|
3832 |
+
if($required){
|
3833 |
+
array_push($req_fields, $id1);
|
3834 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3835 |
break;
|
3836 |
}
|
3837 |
|
3875 |
}
|
3876 |
});
|
3877 |
';
|
3878 |
+
if($required){
|
3879 |
+
array_push($req_fields, $id1);
|
3880 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3881 |
break;
|
3882 |
}
|
3883 |
|
3921 |
jQuery("#form'.$form_id.' #wdform_'.$id1.'_element'.$form_id.'").spinner({ step: '.$param['w_field_range_step'].'});
|
3922 |
';
|
3923 |
|
3924 |
+
if($required){
|
3925 |
+
array_push($req_fields, $id1);
|
3926 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3927 |
break;
|
3928 |
}
|
3929 |
|
3969 |
jQuery("#wdform_'.$id1.'_element'.$form_id.' input").keyup(function() {sum_grading_values("wdform_'.$id1.'",'.$form_id.');});';
|
3970 |
$onload_js.='
|
3971 |
sum_grading_values("wdform_'.$id1.'",'.$form_id.');';
|
3972 |
+
|
3973 |
+
if($required){
|
3974 |
+
array_push($req_fields, $id1);
|
3975 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3976 |
$check_js.='
|
3977 |
if(x.find(jQuery("div[wdid='.$id1.']")).length != 0 && x.find(jQuery("div[wdid='.$id1.']")).css("display") != "none")
|
3978 |
{
|
4061 |
$onsubmit_js.='
|
4062 |
jQuery("<input type=\"hidden\" name=\"wdform_'.$id1.'_input_type'.$form_id.'\" value = \"'.$param['w_field_input_type'].'\" /><input type=\"hidden\" name=\"wdform_'.$id1.'_hidden_row'.$form_id.'\" value = \"'.addslashes($param['w_rows']).'\" /><input type=\"hidden\" name=\"wdform_'.$id1.'_hidden_column'.$form_id.'\" value = \"'.addslashes($param['w_columns']).'\" />").appendTo("#form'.$form_id.'");
|
4063 |
';
|
4064 |
+
if($required){
|
4065 |
+
array_push($req_fields, $id1);
|
4066 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4067 |
break;
|
4068 |
}
|
4069 |
|
4119 |
$form_maker_front_end .= '</form>';
|
4120 |
?>
|
4121 |
<script type="text/javascript">
|
4122 |
+
var plugin_url = "<?php echo WD_FM_URL; ?>";
|
4123 |
WDF_GRADING_TEXT ='<?php echo addslashes(__("Your score should be less than", 'form_maker')); ?>';
|
4124 |
WDF_INVALID_GRADING_<?php echo $id; ?> = '<?php echo addslashes(sprintf(__("Your score should be less than", 'form_maker'), '`grading_label`', '`grading_total`')); ?>';
|
4125 |
FormCurrency_<?php echo $id; ?> = '<?php echo $form_currency ?>';
|
4126 |
FormPaypalTax_<?php echo $id; ?> = '<?php echo $form_paypal_tax ?>';
|
4127 |
|
4128 |
+
var check_submit<?php echo $id; ?> = 0;
|
4129 |
+
var check_before_submit<?php echo $id; ?> = {};
|
4130 |
+
var required_fields<?php echo $id; ?> = <?php echo json_encode($req_fields) ?>;
|
4131 |
+
var labels_and_ids<?php echo $id; ?> = <?php echo json_encode($labels_and_ids) ?>;
|
4132 |
+
var check_regExp_all<?php echo $id; ?> = <?php echo json_encode($check_regExp_all) ?>;
|
4133 |
+
var file_upload_check<?php echo $id; ?> = <?php echo json_encode($file_upload_check) ?>;
|
4134 |
+
|
4135 |
+
function wd_is_filled(form_id, field_id){
|
4136 |
+
var x = jQuery("#form" + form_id);
|
4137 |
+
var req_fields = field_id ? field_id.split() : window['required_fields'+form_id];
|
4138 |
+
var not_filled = {};
|
4139 |
+
req_fields.each(function(wdid){
|
4140 |
+
if(x.find(jQuery("div[wdid='"+wdid+"']")).length != 0 && x.find(jQuery("div[wdid='"+wdid+"']")).css("display") != "none" ) {
|
4141 |
+
switch(window['labels_and_ids'+form_id][wdid]){
|
4142 |
+
case 'type_text':
|
4143 |
+
case 'type_textarea':
|
4144 |
+
case 'type_spinner':
|
4145 |
+
case 'type_number':
|
4146 |
+
case 'type_submitter_mail':
|
4147 |
+
{
|
4148 |
+
var element = "#wdform_" + wdid + "_element" + form_id;
|
4149 |
+
if(x.find(jQuery("div[wdid='"+wdid+"']")).closest(".wdform-page-and-images").css('display') !="none") {
|
4150 |
+
if(jQuery(element).val() == jQuery(element).attr('title') || jQuery(element).val() == ""){
|
4151 |
+
not_filled[wdid] = element;
|
4152 |
+
}
|
4153 |
+
}
|
4154 |
+
|
4155 |
+
if(!field_id && !window['check_submit'+form_id]){
|
4156 |
+
jQuery(element).focus(function() {
|
4157 |
+
|
4158 |
+
jQuery("#form"+form_id+" #wd_required_"+wdid).remove();
|
4159 |
+
jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label");
|
4160 |
+
}).blur(function() {
|
4161 |
+
wd_is_filled(form_id, wdid);
|
4162 |
+
});
|
4163 |
+
}
|
4164 |
+
|
4165 |
+
break;
|
4166 |
+
}
|
4167 |
+
case 'type_own_select':
|
4168 |
+
case 'type_country':
|
4169 |
+
{
|
4170 |
+
var element = "#wdform_" + wdid + "_element" + form_id;
|
4171 |
+
if(x.find(jQuery("div[wdid='"+wdid+"']")).closest(".wdform-page-and-images").css('display') !="none"){
|
4172 |
+
if(jQuery(element).val() == ""){
|
4173 |
+
not_filled[wdid] = element;
|
4174 |
+
}
|
4175 |
+
}
|
4176 |
+
if(!field_id && !window['check_submit'+form_id]){
|
4177 |
+
jQuery(element).focus(function() {
|
4178 |
+
jQuery("#form"+form_id+" #wd_required_"+wdid).remove();
|
4179 |
+
jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label");
|
4180 |
+
}).blur(function() {
|
4181 |
+
wd_is_filled(form_id, wdid);
|
4182 |
+
}).change(function() {
|
4183 |
+
jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label");
|
4184 |
+
wd_is_filled(form_id, wdid);
|
4185 |
+
});
|
4186 |
+
}
|
4187 |
+
break;
|
4188 |
+
}
|
4189 |
+
case 'type_phone': {
|
4190 |
+
var element = ["#wdform_" + wdid + "_element_first" + form_id, "#wdform_" + wdid + "_element_last" + form_id];
|
4191 |
+
element.each(function(elem){
|
4192 |
+
if(x.find(jQuery("div[wdid='"+wdid+"']")).closest(".wdform-page-and-images").css('display') !="none") {
|
4193 |
+
if(jQuery(elem).val() == "" || jQuery(elem).val() == jQuery(elem).attr('title')){
|
4194 |
+
not_filled[wdid] = elem;
|
4195 |
+
}
|
4196 |
+
}
|
4197 |
+
if(!field_id && !window['check_submit'+form_id]){
|
4198 |
+
jQuery(elem).focus(function() {
|
4199 |
+
jQuery("#form"+form_id+" #wd_required_"+wdid).remove();
|
4200 |
+
jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label");
|
4201 |
+
}).blur(function() {
|
4202 |
+
wd_is_filled(form_id, wdid);
|
4203 |
+
});
|
4204 |
+
}
|
4205 |
+
});
|
4206 |
+
break;
|
4207 |
+
}
|
4208 |
+
case 'type_name': {
|
4209 |
+
var element = ["#wdform_" + wdid + "_element_title" + form_id, "#wdform_" + wdid + "_element_first" + form_id, "#wdform_" + wdid + "_element_last" + form_id, "#wdform_" + wdid + "_element_middle" + form_id];
|
4210 |
+
|
4211 |
+
element.each(function(elem){
|
4212 |
+
if(x.find(jQuery("div[wdid='"+wdid+"']")).closest(".wdform-page-and-images").css('display') !="none") {
|
4213 |
+
if((jQuery(elem).val() == "" || jQuery(elem).val() == jQuery(elem).attr('title')) && typeof jQuery(elem).val() != "undefined"){
|
4214 |
+
not_filled[wdid] = elem;
|
4215 |
+
}
|
4216 |
+
}
|
4217 |
+
if(!field_id && !window['check_submit'+form_id]){
|
4218 |
+
jQuery(elem).focus(function() {
|
4219 |
+
jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label");
|
4220 |
+
jQuery("#form"+form_id+" #wd_required_"+wdid).remove();
|
4221 |
+
}).blur(function() {
|
4222 |
+
wd_is_filled(form_id, wdid);
|
4223 |
+
});
|
4224 |
+
}
|
4225 |
+
});
|
4226 |
+
break;
|
4227 |
+
}
|
4228 |
+
|
4229 |
+
case 'type_address': {
|
4230 |
+
var element = ["#wdform_" + wdid + "_street1" + form_id, "#wdform_" + wdid + "_street2" + form_id, "#wdform_" + wdid + "_city" + form_id, "#wdform_" + wdid + "_state" + form_id, "#wdform_" + wdid + "_postal" + form_id, "#wdform_" + wdid + "_country" + form_id];
|
4231 |
+
|
4232 |
+
element.each(function(elem){
|
4233 |
+
if(x.find(jQuery("div[wdid='"+wdid+"']")).closest(".wdform-page-and-images").css('display') !="none") {
|
4234 |
+
if(jQuery(elem).val() == "" && typeof jQuery(elem).val() != "undefined"){
|
4235 |
+
not_filled[wdid] = elem;
|
4236 |
+
}
|
4237 |
+
}
|
4238 |
+
if(!field_id && !window['check_submit'+form_id]){
|
4239 |
+
jQuery(elem).focus(function() {
|
4240 |
+
jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label");
|
4241 |
+
jQuery("#form"+form_id+" #wd_required_"+wdid).remove();
|
4242 |
+
}).blur(function() {
|
4243 |
+
wd_is_filled(form_id, wdid);
|
4244 |
+
});
|
4245 |
+
}
|
4246 |
+
});
|
4247 |
+
break;
|
4248 |
+
}
|
4249 |
+
case 'type_checkbox':
|
4250 |
+
case 'type_radio':
|
4251 |
+
case 'type_scale_rating':
|
4252 |
+
{
|
4253 |
+
if(x.find(jQuery("div[wdid='"+wdid+"']")).closest(".wdform-page-and-images").css('display') !="none"){
|
4254 |
+
if(x.find(jQuery("div[wdid='"+ wdid +"'] input:checked")).length == 0 || jQuery("#wdform_"+ wdid +"_other_input" + form_id).val() == ""){
|
4255 |
+
not_filled[wdid] = true;
|
4256 |
+
}
|
4257 |
+
}
|
4258 |
+
if(!field_id && !window['check_submit'+form_id]){
|
4259 |
+
jQuery.each(jQuery("#form" + form_id + " div[wdid='"+ wdid +"'] input"), function( i, val ){
|
4260 |
+
jQuery(this).change(function() {
|
4261 |
+
if(x.find(jQuery("div[wdid='"+ wdid +"'] input:checked")).length == 0 || jQuery("#wdform_"+ wdid +"_other_input" + form_id).val() == ""){
|
4262 |
+
wd_is_filled(form_id, wdid);
|
4263 |
+
}
|
4264 |
+
else{
|
4265 |
+
jQuery("#form"+form_id+" #wd_required_"+wdid).remove();
|
4266 |
+
jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label");
|
4267 |
+
}
|
4268 |
+
});
|
4269 |
+
});
|
4270 |
+
}
|
4271 |
+
|
4272 |
+
break;
|
4273 |
+
|
4274 |
+
}
|
4275 |
+
case 'type_star_rating': {
|
4276 |
+
var element = "#wdform_" + wdid + "_selected_star_amount" + form_id;
|
4277 |
+
if(x.find(jQuery("div[wdid='"+wdid+"']")).closest(".wdform-page-and-images").css('display') !="none") {
|
4278 |
+
if(jQuery(element).val() == ""){
|
4279 |
+
not_filled[wdid] = true;
|
4280 |
+
}
|
4281 |
+
}
|
4282 |
+
if(!field_id && !window['check_submit'+form_id]){
|
4283 |
+
jQuery("#wdform_" + wdid + "_element" + form_id).click(function(){
|
4284 |
+
if(jQuery(element).val() != ""){
|
4285 |
+
jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label");
|
4286 |
+
jQuery("#form"+form_id+" #wd_required_"+wdid).remove();
|
4287 |
+
}
|
4288 |
+
});
|
4289 |
+
}
|
4290 |
+
break;
|
4291 |
+
}
|
4292 |
+
|
4293 |
+
case 'type_range': {
|
4294 |
+
var element = ["#wdform_" + wdid + "_element" + form_id + "0", "#wdform_" + wdid + "_element" + form_id + "1"];
|
4295 |
+
element.each(function(elem){
|
4296 |
+
if(x.find(jQuery("div[wdid='"+wdid+"']")).closest(".wdform-page-and-images").css('display') !="none") {
|
4297 |
+
if(jQuery(elem).val() == ""){
|
4298 |
+
not_filled[wdid] = elem;
|
4299 |
+
}
|
4300 |
+
}
|
4301 |
+
if(!field_id && !window['check_submit'+form_id]){
|
4302 |
+
jQuery(elem).focus(function() {
|
4303 |
+
jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label");
|
4304 |
+
jQuery("#form"+form_id+" #wd_required_"+wdid).remove();
|
4305 |
+
}).blur(function() {
|
4306 |
+
wd_is_filled(form_id, wdid);
|
4307 |
+
});
|
4308 |
+
}
|
4309 |
+
});
|
4310 |
+
break;
|
4311 |
+
}
|
4312 |
+
case 'type_grading': {
|
4313 |
+
if(x.find(jQuery("div[wdid='"+wdid+"']")).closest(".wdform-page-and-images").css('display') !="none") {
|
4314 |
+
var count_grading = 0;
|
4315 |
+
jQuery.each(jQuery("#wdform_" + wdid + "_element" + form_id + " input"), function( i, val ){
|
4316 |
+
if(jQuery(this).val() != "")
|
4317 |
+
count_grading ++;
|
4318 |
+
|
4319 |
+
});
|
4320 |
+
if(count_grading == 0)
|
4321 |
+
not_filled[wdid] = true;
|
4322 |
+
}
|
4323 |
+
if(!field_id && !window['check_submit'+form_id]){
|
4324 |
+
jQuery.each(jQuery("#wdform_" + wdid + "_element" + form_id + " input"), function( i, val ){
|
4325 |
+
jQuery(this).focus(function() {
|
4326 |
+
jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label");
|
4327 |
+
jQuery("#form"+form_id+" #wd_required_"+wdid).remove();
|
4328 |
+
}).blur(function() {
|
4329 |
+
wd_is_filled(form_id, wdid);
|
4330 |
+
});
|
4331 |
+
});
|
4332 |
+
}
|
4333 |
+
break;
|
4334 |
+
}
|
4335 |
+
case 'type_slider': {
|
4336 |
+
var slider_element = "#wdform_" + wdid + "_element" + form_id;
|
4337 |
+
var element = "#wdform_" + wdid + "_slider_value" + form_id;
|
4338 |
+
var min_value = "#wdform_" + wdid + "_element_min" + form_id;
|
4339 |
+
if(x.find(jQuery("div[wdid='"+wdid+"']")).closest(".wdform-page-and-images").css('display') !="none") {
|
4340 |
+
if(jQuery(element).val() == jQuery(min_value).html()){
|
4341 |
+
not_filled[wdid] = true;
|
4342 |
+
}
|
4343 |
+
}
|
4344 |
+
if(!field_id && !window['check_submit'+form_id]){
|
4345 |
+
jQuery(slider_element).slider({
|
4346 |
+
change: function( event, ui ) {
|
4347 |
+
jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label");
|
4348 |
+
jQuery("#form"+form_id+" #wd_required_"+wdid).remove();
|
4349 |
+
wd_is_filled(form_id, wdid);
|
4350 |
+
}
|
4351 |
+
});
|
4352 |
+
}
|
4353 |
+
break;
|
4354 |
+
}
|
4355 |
+
|
4356 |
+
|
4357 |
+
case 'type_date':
|
4358 |
+
case 'type_date_new': {
|
4359 |
+
var element = "#wdform_" + wdid + "_element" + form_id;
|
4360 |
+
if(x.find(jQuery("div[wdid='"+wdid+"']")).closest(".wdform-page-and-images").css('display') !="none") {
|
4361 |
+
if(jQuery(element).val() == ""){
|
4362 |
+
not_filled[wdid] = element;
|
4363 |
+
}
|
4364 |
+
}
|
4365 |
+
if(!field_id && !window['check_submit'+form_id]){
|
4366 |
+
jQuery(element).focus(function() {
|
4367 |
+
jQuery("#form"+form_id+" #wd_required_"+wdid).remove();
|
4368 |
+
}).change(function() {
|
4369 |
+
jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label");
|
4370 |
+
wd_is_filled(form_id, wdid);
|
4371 |
+
});
|
4372 |
+
}
|
4373 |
+
break;
|
4374 |
+
}
|
4375 |
+
case 'type_date_range': {
|
4376 |
+
var element = ["#wdform_" + wdid + "_element" + form_id + "0", "#wdform_" + wdid + "_element" + form_id + "1"];
|
4377 |
+
|
4378 |
+
element.each(function(elem){
|
4379 |
+
if(x.find(jQuery("div[wdid='"+wdid+"']")).closest(".wdform-page-and-images").css('display') !="none") {
|
4380 |
+
if(jQuery(elem).val() == ""){
|
4381 |
+
not_filled[wdid] = elem;
|
4382 |
+
}
|
4383 |
+
}
|
4384 |
+
if(!field_id && !window['check_submit'+form_id]){
|
4385 |
+
jQuery(elem).focus(function() {
|
4386 |
+
jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label");
|
4387 |
+
jQuery("#form"+form_id+" #wd_required_"+wdid).remove();
|
4388 |
+
}).change(function() {
|
4389 |
+
wd_is_filled(form_id, wdid);
|
4390 |
+
});
|
4391 |
+
|
4392 |
+
}
|
4393 |
+
});
|
4394 |
+
break;
|
4395 |
+
}
|
4396 |
+
case 'type_date_fields': {
|
4397 |
+
var element = ["#wdform_" + wdid + "_day" + form_id, "#wdform_" + wdid + "_month" + form_id, "#wdform_" + wdid + "_year" + form_id];
|
4398 |
+
element.each(function(elem){
|
4399 |
+
if(x.find(jQuery("div[wdid='"+wdid+"']")).closest(".wdform-page-and-images").css('display') !="none") {
|
4400 |
+
if(jQuery(elem).val() == ""){
|
4401 |
+
not_filled[wdid] = elem;
|
4402 |
+
}
|
4403 |
+
}
|
4404 |
+
if(!field_id && !window['check_submit'+form_id]){
|
4405 |
+
jQuery(elem).focus(function() {
|
4406 |
+
jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label");
|
4407 |
+
jQuery("#form"+form_id+" #wd_required_"+wdid).remove();
|
4408 |
+
}).blur(function() {
|
4409 |
+
wd_is_filled(form_id, wdid);
|
4410 |
+
}).change(function() {
|
4411 |
+
wd_is_filled(form_id, wdid);
|
4412 |
+
});
|
4413 |
+
}
|
4414 |
+
});
|
4415 |
+
break;
|
4416 |
+
}
|
4417 |
+
case 'type_time': {
|
4418 |
+
var element = ["#wdform_" + wdid + "_hh" + form_id, "#wdform_" + wdid + "_mm" + form_id, "#wdform_" + wdid + "_ss" + form_id];
|
4419 |
+
element.each(function(elem){
|
4420 |
+
if(x.find(jQuery("div[wdid='"+wdid+"']")).closest(".wdform-page-and-images").css('display') !="none") {
|
4421 |
+
if(jQuery(elem).val() == "" && typeof jQuery(elem).val() != "undefined"){
|
4422 |
+
not_filled[wdid] = elem;
|
4423 |
+
}
|
4424 |
+
}
|
4425 |
+
if(!field_id && !window['check_submit'+form_id]){
|
4426 |
+
jQuery(elem).focus(function() {
|
4427 |
+
jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label");
|
4428 |
+
jQuery("#form"+form_id+" #wd_required_"+wdid).remove();
|
4429 |
+
}).blur(function() {
|
4430 |
+
wd_is_filled(form_id, wdid);
|
4431 |
+
});
|
4432 |
+
}
|
4433 |
+
});
|
4434 |
+
break;
|
4435 |
+
}
|
4436 |
+
|
4437 |
+
case 'type_password': {
|
4438 |
+
var element = "#wdform_" + wdid + "_element" + form_id;
|
4439 |
+
if(x.find(jQuery("div[wdid='"+wdid+"']")).closest(".wdform-page-and-images").css('display') !="none") {
|
4440 |
+
if(jQuery(element).val() == ""){
|
4441 |
+
not_filled[wdid] = element;
|
4442 |
+
}
|
4443 |
+
}
|
4444 |
+
if(!field_id && !window['check_submit'+form_id]){
|
4445 |
+
jQuery(element).focus(function() {
|
4446 |
+
jQuery("#form"+form_id+" #wd_required_"+wdid).remove();
|
4447 |
+
jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label");
|
4448 |
+
}).blur(function() {
|
4449 |
+
wd_is_filled(form_id, wdid);
|
4450 |
+
});
|
4451 |
+
}
|
4452 |
+
break;
|
4453 |
+
}
|
4454 |
+
case 'type_matrix':
|
4455 |
+
{
|
4456 |
+
if(jQuery("#form" + form_id + " div[wdid='"+ wdid +"'] input").attr('type') =="radio" || jQuery("#form" + form_id + " div[wdid='"+ wdid +"'] input").attr('type') =="checkbox"){
|
4457 |
+
if(x.find(jQuery("div[wdid='"+wdid+"']")).closest(".wdform-page-and-images").css('display') !="none") {
|
4458 |
+
if(x.find(jQuery("div[wdid='"+ wdid +"'] input:checked")).length == 0){
|
4459 |
+
not_filled[wdid] = true;
|
4460 |
+
}
|
4461 |
+
}
|
4462 |
+
if(!field_id && !window['check_submit'+form_id]){
|
4463 |
+
jQuery.each(jQuery("#form" + form_id + " div[wdid='"+ wdid +"'] input"), function( i, val ){
|
4464 |
+
jQuery(this).change(function() {
|
4465 |
+
if(x.find(jQuery("div[wdid='"+ wdid +"'] input:checked")).length == 0){
|
4466 |
+
wd_is_filled(form_id, wdid);
|
4467 |
+
}
|
4468 |
+
else{
|
4469 |
+
jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label");
|
4470 |
+
jQuery("#form"+form_id+" #wd_required_"+wdid).remove();
|
4471 |
+
}
|
4472 |
+
});
|
4473 |
+
});
|
4474 |
+
}
|
4475 |
+
}
|
4476 |
+
else if(jQuery("#form" + form_id + " div[wdid='"+ wdid +"'] input").attr('type') =="text"){
|
4477 |
+
if(x.find(jQuery("div[wdid='"+wdid+"']")).closest(".wdform-page-and-images").css('display') !="none") {
|
4478 |
+
var count_input_matrix = 0;
|
4479 |
+
jQuery.each(jQuery("#form" + form_id + " div[wdid='"+ wdid +"'] input"), function( i, val ){
|
4480 |
+
if(jQuery(this).val() != "")
|
4481 |
+
count_input_matrix ++;
|
4482 |
+
});
|
4483 |
+
if(count_input_matrix == 0)
|
4484 |
+
not_filled[wdid] = true;
|
4485 |
+
}
|
4486 |
+
if(!field_id && !window['check_submit'+form_id]){
|
4487 |
+
jQuery.each(jQuery("#form" + form_id + " div[wdid='"+ wdid +"'] input"), function( i, val ){
|
4488 |
+
jQuery(this)
|
4489 |
+
.focus(function() {
|
4490 |
+
jQuery("#form"+form_id+" #wd_required_"+wdid).remove();
|
4491 |
+
jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label");
|
4492 |
+
})
|
4493 |
+
.blur(function() {
|
4494 |
+
wd_is_filled(form_id, wdid);
|
4495 |
+
});
|
4496 |
+
});
|
4497 |
+
}
|
4498 |
+
|
4499 |
+
}
|
4500 |
+
else{
|
4501 |
+
if(x.find(jQuery("div[wdid='"+wdid+"']")).closest(".wdform-page-and-images").css('display') !="none") {
|
4502 |
+
var count_select_matrix = 0;
|
4503 |
+
jQuery.each(jQuery("#form" + form_id + " div[wdid='"+ wdid +"'] select"), function( i, val ){
|
4504 |
+
if(jQuery(this).val() != "")
|
4505 |
+
count_select_matrix ++;
|
4506 |
+
});
|
4507 |
+
if(count_select_matrix == 0)
|
4508 |
+
not_filled[wdid] = true;
|
4509 |
+
}
|
4510 |
+
if(!field_id && !window['check_submit'+form_id]){
|
4511 |
+
jQuery.each(jQuery("#form" + form_id + " div[wdid='"+ wdid +"'] select"), function( i, val ){
|
4512 |
+
jQuery(this).focus(function() {
|
4513 |
+
if(jQuery(this).val() == ""){
|
4514 |
+
jQuery("#form"+form_id+" #wd_required_"+wdid).remove();
|
4515 |
+
jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label");
|
4516 |
+
}
|
4517 |
+
}).change(function() {
|
4518 |
+
wd_is_filled(form_id, wdid);
|
4519 |
+
}).blur(function() {
|
4520 |
+
wd_is_filled(form_id, wdid);
|
4521 |
+
});
|
4522 |
+
});
|
4523 |
+
}
|
4524 |
+
}
|
4525 |
+
break;
|
4526 |
+
}
|
4527 |
+
case 'type_send_copy': {
|
4528 |
+
if(x.find(jQuery("div[wdid='"+wdid+"']")).closest(".wdform-page-and-images").css('display') !="none") {
|
4529 |
+
if(jQuery("div[wdid='"+ wdid +"'] input:checked").length == 0){
|
4530 |
+
not_filled[wdid] = true;
|
4531 |
+
}
|
4532 |
+
}
|
4533 |
+
if(!field_id && !window['check_submit'+form_id]){
|
4534 |
+
jQuery("#form" + form_id + " div[wdid='"+ wdid +"'] input").change(function() {
|
4535 |
+
if(jQuery("div[wdid='"+ wdid +"'] input:checked").length == 0){
|
4536 |
+
wd_is_filled(form_id, wdid);
|
4537 |
+
}
|
4538 |
+
else{
|
4539 |
+
jQuery("#form"+form_id+" #wd_required_"+wdid).remove();
|
4540 |
+
jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label");
|
4541 |
+
}
|
4542 |
+
});
|
4543 |
+
|
4544 |
+
}
|
4545 |
+
break;
|
4546 |
+
}
|
4547 |
+
case 'type_captcha':
|
4548 |
+
case 'type_arithmetic_captcha':{
|
4549 |
+
var element = "";
|
4550 |
+
if(window['labels_and_ids'+form_id][wdid] == 'type_captcha')
|
4551 |
+
element = '#wd_captcha_input' + form_id;
|
4552 |
+
else
|
4553 |
+
element = '#wd_arithmetic_captcha_input' + form_id;
|
4554 |
+
|
4555 |
+
if(x.find(jQuery("div[wdid='"+wdid+"']")).closest(".wdform-page-and-images").css('display') !="none") {
|
4556 |
+
if(jQuery(element).val() == ""){
|
4557 |
+
not_filled[wdid] = element;
|
4558 |
+
}
|
4559 |
+
}
|
4560 |
+
if(!field_id && !window['check_submit'+form_id]){
|
4561 |
+
jQuery(element).focus(function() {
|
4562 |
+
jQuery("#form"+form_id+" #wd_required_"+wdid).remove();
|
4563 |
+
jQuery("#form"+form_id+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label").removeClass("error_label");
|
4564 |
+
}).blur(function() {
|
4565 |
+
wd_is_filled(form_id, wdid);
|
4566 |
+
});
|
4567 |
+
}
|
4568 |
+
break;
|
4569 |
+
}
|
4570 |
+
}
|
4571 |
+
}
|
4572 |
+
});
|
4573 |
+
|
4574 |
+
if(Object.keys(not_filled).length === 0 && Object.keys(window["check_before_submit" + form_id]).length === 0){
|
4575 |
+
return true;
|
4576 |
+
}
|
4577 |
+
else {
|
4578 |
+
if(Object.keys(not_filled).length !== 0){
|
4579 |
+
jQuery.each( not_filled, function( wdid, elem ) {
|
4580 |
+
jQuery("#form"+form_id+" #wd_required_"+wdid).remove();
|
4581 |
+
jQuery("#form"+form_id+ " div[wdid='"+wdid+"'] .wdform-element-section:first").append("<div id='wd_required_"+wdid+"' class='fm-not-filled'><?php echo addslashes(__('Field is required', 'form_maker')) ?></div>");
|
4582 |
+
jQuery("#form"+form_id+ " div[wdid='"+wdid+"'] .wdform-label-section:first .wdform-label").addClass("error_label");
|
4583 |
+
});
|
4584 |
+
}
|
4585 |
+
if(!field_id){
|
4586 |
+
scroll_on_element(form_id);
|
4587 |
+
}
|
4588 |
+
window['check_submit'+form_id] = 1;
|
4589 |
+
return false;
|
4590 |
+
}
|
4591 |
+
}
|
4592 |
+
|
4593 |
+
function scroll_on_element(form_id){
|
4594 |
+
var parent_div = jQuery("#form" + form_id + " .fm-not-filled:first").closest(".wdform_row");
|
4595 |
+
var body_hight = document.body.clientHeight;
|
4596 |
+
var element_offset = jQuery(jQuery("#form" + form_id + " .fm-not-filled:first")).offset().top;
|
4597 |
+
var scrollChecker = function() {
|
4598 |
+
if(document.body.clientHeight !== body_hight ){
|
4599 |
+
|
4600 |
+
body_hight = document.body.clientHeight;
|
4601 |
+
element_offset = jQuery(jQuery("#form" + form_id + " .fm-not-filled:first")).offset().top;
|
4602 |
+
console.log(element_offset);
|
4603 |
+
jQuery('html body').stop();
|
4604 |
+
animateBodyToError();
|
4605 |
+
}
|
4606 |
+
};
|
4607 |
+
jQuery(window).on("scroll",scrollChecker);
|
4608 |
+
function animateBodyToError(){
|
4609 |
+
jQuery('html body').animate({
|
4610 |
+
scrollTop: element_offset - 150
|
4611 |
+
}, 500, function(){
|
4612 |
+
jQuery(window).off("scroll", scrollChecker);
|
4613 |
+
old_bg=jQuery(parent_div).css("background-color");
|
4614 |
+
jQuery(parent_div).effect( "shake", {}, 500 ).css("background-color","#FF8F8B").animate({backgroundColor: old_bg}, {duration: 500, queue: false });
|
4615 |
+
});
|
4616 |
+
}
|
4617 |
+
animateBodyToError();
|
4618 |
+
}
|
4619 |
+
|
4620 |
+
function wd_check_regExp(form_id, regExpObj){
|
4621 |
+
var x = jQuery("#form" + form_id);
|
4622 |
+
var find_wrong_exp = false;
|
4623 |
+
var check_regExp = regExpObj ? regExpObj : window['check_regExp_all'+form_id];
|
4624 |
+
|
4625 |
+
jQuery.each( check_regExp, function( wdid, exp ) {
|
4626 |
+
var element = "#wdform_" + wdid + "_element" + form_id;
|
4627 |
+
var RegExpression = "";
|
4628 |
+
var rules = unescape(exp[0]);
|
4629 |
+
(exp[1].length <= 0) ? RegExpression = new RegExp(rules) : RegExpression = new RegExp(rules, exp[1]);
|
4630 |
+
if(x.find(jQuery("div[wdid='"+wdid+"']")).length != 0 && x.find(jQuery("div[wdid='"+wdid+"']")).css("display") != "none") {
|
4631 |
+
if(jQuery(element).val().length > 0 && jQuery(element).val() != jQuery(element).attr('title')){
|
4632 |
+
if (RegExpression.test(jQuery(element).val()) != true){
|
4633 |
+
jQuery("#form"+form_id+" #wd_exp_"+wdid).remove();
|
4634 |
+
x.find(jQuery("div[wdid='"+wdid+"'] .wdform-element-section")).append("<div id='wd_exp_"+wdid+"' class='fm-not-filled'>" + exp[2] + "</div>");
|
4635 |
+
jQuery("#form"+form_id+ " div[wdid='"+wdid+"'] .wdform-label-section:first .wdform-label").addClass("error_label_exp");
|
4636 |
+
find_wrong_exp = true;
|
4637 |
+
|
4638 |
+
if(!regExpObj){
|
4639 |
+
scroll_on_element(form_id);
|
4640 |
+
}
|
4641 |
+
}
|
4642 |
+
|
4643 |
+
}
|
4644 |
+
|
4645 |
+
}
|
4646 |
+
});
|
4647 |
+
if(find_wrong_exp === false)
|
4648 |
+
return true;
|
4649 |
+
|
4650 |
+
return false;
|
4651 |
+
}
|
4652 |
+
|
4653 |
+
|
4654 |
function formOnload<?php echo $id; ?>() {
|
4655 |
if (navigator.userAgent.toLowerCase().indexOf('msie') != -1 && parseInt(navigator.userAgent.toLowerCase().split('msie')[1]) === 8) {
|
4656 |
jQuery("#form<?php echo $id; ?>").find(jQuery("input[type='radio']")).click(function() {jQuery("input[type='radio']+label").removeClass('if-ie-div-label'); jQuery("input[type='radio']:checked+label").addClass('if-ie-div-label')});
|
4658 |
jQuery("#form<?php echo $id; ?>").find(jQuery("input[type='checkbox']")).click(function() {jQuery("input[type='checkbox']+label").removeClass('if-ie-div-label'); jQuery("input[type='checkbox']:checked+label").addClass('if-ie-div-label')});
|
4659 |
jQuery("#form<?php echo $id; ?>").find(jQuery("input[type='checkbox']:checked+label")).addClass('if-ie-div-label');
|
4660 |
}
|
4661 |
+
|
4662 |
+
jQuery.each( check_regExp_all<?php echo $id; ?>, function( wdid, exp ) {
|
4663 |
+
var exp_array = {};
|
4664 |
+
exp_array[wdid] = exp;
|
4665 |
+
jQuery("div[wdid='"+wdid+"'] input").blur(function() {wd_check_regExp(<?php echo $id; ?>, exp_array)}).focus(function() {jQuery("#form"+<?php echo $id; ?>+" #wd_exp_"+wdid).remove(); jQuery("#form"+<?php echo $id; ?>+" div[wdid='"+wdid+"'] .wdform-label-section:first .error_label_exp").removeClass("error_label_exp")});
|
4666 |
+
});
|
4667 |
|
4668 |
+
|
4669 |
+
jQuery("div[type='type_text'] input, div[type='type_number'] input, div[type='type_phone'] input, div[type='type_name'] input, div[type='type_submitter_mail'] input, div[type='type_submitter_mail_confirmation'] input, div[type='type_paypal_price'] input, div[type='type_textarea'] textarea").focus(function() {delete_value(this)}).blur(function() {return_value(this)});
|
4670 |
jQuery("div[type='type_number'] input, div[type='type_phone'] input, div[type='type_spinner'] input, div[type='type_range'] input, .wdform-quantity").keypress(function(evt) {return check_isnum(evt)});
|
4671 |
|
4672 |
jQuery("div[type='type_grading'] input").keypress(function(evt) {return check_isnum_or_minus(evt)});
|
4763 |
generate_page_nav(first_form_view<?php echo $id ?>, '<?php echo $id ?>', form_view_count<?php echo $id ?>, form_view_max<?php echo $id ?>);
|
4764 |
}
|
4765 |
});
|
4766 |
+
function check_required<?php echo $form_id ?>(but_type, form_id) {
|
4767 |
if (but_type == 'reset') {
|
4768 |
if (window.before_reset) {
|
4769 |
before_reset();
|
4770 |
}
|
4771 |
+
jQuery.each(window['labels_and_ids'+form_id], function (index, elem) {
|
|
|
|
|
4772 |
switch(elem) {
|
4773 |
case "type_text":
|
|
|
4774 |
case "type_textarea":
|
4775 |
case "type_number":
|
|
|
4776 |
case "type_spinner":
|
4777 |
case 'type_own_select':
|
4778 |
case 'type_country':
|
4779 |
case 'type_date':
|
4780 |
+
case 'type_date_new':
|
4781 |
case 'type_hidden':
|
4782 |
+
jQuery("#wdform_"+index+"_element"+form_id).val('');
|
4783 |
+
break;
|
4784 |
+
case 'type_submitter_mail':
|
4785 |
+
case 'type_password':
|
4786 |
+
jQuery("#wdform_"+index+"_element"+form_id).val('');
|
4787 |
+
if(jQuery("#wdform_"+index+"_1_element"+form_id)){
|
4788 |
+
jQuery("#wdform_"+index+"_1_element"+form_id).val('');
|
4789 |
+
|
4790 |
+
if(jQuery("#confirm_"+index+"_"+form_id))
|
4791 |
+
jQuery("#confirm_"+index+"_"+form_id).remove();
|
4792 |
+
|
4793 |
+
if(elem == 'type_submitter_mail' && jQuery("#check_email_"+index+"_"+form_id))
|
4794 |
+
jQuery("#check_email_"+index+"_"+form_id).remove();
|
4795 |
+
}
|
4796 |
+
break;
|
4797 |
+
case 'type_date_range':
|
4798 |
+
jQuery("#wdform_"+index+"_element"+form_id+"0").val('');
|
4799 |
+
jQuery("#wdform_"+index+"_element"+form_id+"1").val('');
|
4800 |
break;
|
4801 |
|
4802 |
case 'type_send_copy':
|
4803 |
+
jQuery("#wdform_"+index+"_element"+form_id).prop('checked', false);
|
4804 |
break;
|
4805 |
case 'type_phone':
|
4806 |
+
jQuery("#wdform_"+index+"_element_first"+form_id+", #wdform_"+index+"_element_last"+form_id).val('');
|
4807 |
break;
|
4808 |
|
4809 |
case 'type_name':
|
4810 |
+
jQuery("#wdform_"+index+"_element_first"+form_id+", #wdform_"+index+"_element_last"+form_id+", #wdform_"+index+"_element_title"+form_id+", #wdform_"+index+"_element_middle"+form_id).val('');
|
4811 |
break;
|
4812 |
|
4813 |
case 'type_address':
|
4814 |
+
jQuery("#wdform_"+index+"_street1"+form_id+", #wdform_"+index+"_street2"+form_id+", #wdform_"+index+"_city"+form_id+", #wdform_"+index+"_state"+form_id+", #wdform_"+index+"_postal"+form_id+", #wdform_"+index+"_country"+form_id).val('');
|
4815 |
break;
|
4816 |
|
4817 |
case 'type_checkbox':
|
4818 |
+
jQuery("#form"+form_id+" div[wdid='"+index+"'] .checkbox-div input").prop('checked', false);
|
4819 |
+
jQuery("#wdform_"+index+"_other_br"+form_id).remove();
|
4820 |
+
jQuery("#wdform_"+index+"_other_input"+form_id).remove();
|
4821 |
break;
|
4822 |
|
4823 |
case 'type_radio':
|
4824 |
+
jQuery("#form"+form_id+" div[wdid='"+index+"'] .radio-div input").prop('checked', false);
|
4825 |
+
jQuery("#wdform_"+index+"_other_br"+form_id).remove();
|
4826 |
+
jQuery("#wdform_"+index+"_other_input"+form_id).remove();
|
4827 |
break;
|
4828 |
|
4829 |
case 'type_time':
|
4830 |
+
jQuery("#wdform_"+index+"_hh"+form_id+", #wdform_"+index+"_mm"+form_id+", #wdform_"+index+"_ss"+form_id+", #wdform_"+index+"_am_pm"+form_id).val('');
|
4831 |
break;
|
4832 |
|
4833 |
case 'type_date_fields':
|
4834 |
+
jQuery("#wdform_"+index+"_day"+form_id+", #wdform_"+index+"_month"+form_id+", #wdform_"+index+"_year"+form_id).val('');
|
4835 |
break;
|
4836 |
|
4837 |
case 'type_file_upload':
|
4838 |
+
jQuery("#wdform_"+index+"_element"+form_id+"_save").remove();
|
4839 |
break;
|
4840 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4841 |
case 'type_star_rating':
|
4842 |
+
jQuery("#wdform_"+index+"_selected_star_amount"+form_id).val('');
|
4843 |
+
jQuery("#wdform_"+index+"_element"+form_id+" img").attr('src', plugin_url+'/images/star.png');
|
4844 |
break;
|
4845 |
|
4846 |
case 'type_scale_rating':
|
4847 |
+
jQuery("#form"+form_id+" div[wdid='"+index+"'] .radio-div input").prop('checked', false);
|
4848 |
break;
|
4849 |
|
4850 |
case 'type_slider':
|
4851 |
+
jQuery("#wdform_"+index+"_element"+form_id).slider({
|
4852 |
value: eval(0),
|
4853 |
});
|
4854 |
+
jQuery("#wdform_"+index+"_element_value"+form_id).html('0');
|
4855 |
break;
|
4856 |
|
4857 |
case 'type_range':
|
4858 |
+
jQuery("#wdform_"+index+"_element"+form_id+"0, #wdform_"+index+"_element"+form_id+"1").val('');
|
4859 |
break;
|
4860 |
|
4861 |
case 'type_grading':
|
4862 |
+
jQuery("#wdform_"+index+"_element"+form_id+" input").val('');
|
4863 |
break;
|
4864 |
|
4865 |
case 'type_matrix':
|
4866 |
+
jQuery("#wdform_"+index+"_element"+form_id+" .radio-div input").prop('checked', false);
|
4867 |
+
jQuery("#wdform_"+index+"_element"+form_id+" .checkbox-div input").prop('checked', false);
|
4868 |
+
jQuery("#wdform_"+index+"_element"+form_id+" input[type='text']").val('');
|
4869 |
+
jQuery("#wdform_"+index+"_element"+form_id+" select").val('');
|
4870 |
break;
|
4871 |
|
4872 |
case 'type_paypal_total':
|
4873 |
+
jQuery("#wdform_"+index+"div_total"+form_id).html('$0');
|
4874 |
+
jQuery("#wdform_"+index+"paypal_products"+form_id).empty();
|
4875 |
break;
|
4876 |
default:
|
4877 |
break;
|
4878 |
}
|
4879 |
});
|
4880 |
+
return;
|
|
|
4881 |
}
|
4882 |
if (window.before_submit) {
|
4883 |
if(before_submit())
|
4884 |
return false;
|
4885 |
}
|
4886 |
+
|
4887 |
+
|
4888 |
+
if(!wd_is_filled(form_id))
|
4889 |
+
return false;
|
4890 |
+
|
4891 |
+
if(!wd_check_regExp(form_id))
|
4892 |
+
return false;
|
4893 |
+
|
4894 |
+
|
4895 |
+
x = jQuery("#form<?php echo $form_id; ?>");
|
4896 |
+
<?php echo $check_js; ?>
|
4897 |
+
|
4898 |
var a = [];
|
4899 |
if (typeof a[<?php echo $form_id ?>] !== 'undefined' && a[<?php echo $form_id ?>] == 1) {
|
4900 |
return;
|
4903 |
a[<?php echo $form_id ?>] = 1;
|
4904 |
document.getElementById("form"+<?php echo $form_id ?>).submit();
|
4905 |
}
|
4906 |
+
|
4907 |
+
|
4908 |
+
function check<?php echo $form_id ?>(id, form_id) {
|
4909 |
+
|
4910 |
+
if(!wd_is_filled(form_id))
|
4911 |
+
return false;
|
4912 |
+
|
4913 |
+
if(!wd_check_regExp(form_id))
|
4914 |
+
return false;
|
4915 |
+
|
4916 |
+
x = jQuery("#<?php echo $form_id ?>form_view"+id);
|
4917 |
+
<?php echo $check_js; ?>
|
4918 |
+
|
4919 |
return true;
|
4920 |
}
|
4921 |
+
|
4922 |
+
|
4923 |
</script>
|
4924 |
<?php
|
4925 |
}
|
js/main_div_front_end.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
F=2;
|
2 |
var chCode1 = e.which || e.keyCode;
|
3 |
if (chCode1 > 31 && (chCode1 < 48 || chCode1 > 57))
|
4 |
return false;
|
5 |
if(document.getElementById(num+'_total_element'+form_id)){
|
6 |
var chCode1 = e.which || e.keyCode;
|
7 |
if ( jQuery.inArray(chCode1,[46,8,9,27,13,190]) != -1 || e.ctrlKey === true || (chCode1 >= 35 && chCode1 < 39))
|
8 |
return true;
|
9 |
return false;
|
10 |
var chCode1 = e.which || e.keyCode;
|
11 |
if (chCode1 > 31 && (chCode1 < 48 || chCode1 > 57))
|
12 |
return false;
|
13 |
return false;
|
14 |
var chCode1 = e.which || e.keyCode;
|
15 |
if (chCode1 > 31 && (chCode1 < 48 || chCode1 > 57))
|
16 |
return false;
|
17 |
return false;
|
18 |
var chCode1 = e.which || e.keyCode;
|
19 |
if (chCode1 > 31 && (chCode1 < 48 || chCode1 > 57))
|
20 |
return false;
|
21 |
return false;
|
22 |
var chCode1 = e.which || e.keyCode;
|
23 |
if (jQuery.inArray(chCode1,[46,8,9,27,13,190]) != -1 || e.ctrlKey === true || (chCode1 >= 35 && chCode1 < 39)) {
|
24 |
return true;
|
25 |
}
|
26 |
if (chCode1 > 31 && (chCode1 < 48 || chCode1 > 57)) {
|
27 |
return false;
|
28 |
}
|
29 |
return false;
|
30 |
return false;
|
31 |
return false;
|
32 |
var chCode1 = e.which || e.keyCode;
|
33 |
if (chCode1 > 31 && (chCode1 < 48 || chCode1 > 57))
|
34 |
return false;
|
35 |
return false;
|
36 |
return false;
|
37 |
return false;
|
38 |
var chCode1 = e.which || e.keyCode;
|
39 |
if (chCode1 > 31 && (chCode1 < 48 || chCode1 > 57))
|
40 |
return false;
|
41 |
return false;
|
42 |
return false;
|
43 |
return false;
|
44 |
var chCode1 = e.which || e.keyCode;
|
45 |
if (chCode1 > 31 && (chCode1 < 48 || chCode1 > 57))
|
46 |
return false;
|
47 |
return false;
|
48 |
while (node.firstChild)
|
49 |
node.removeChild(node.firstChild);
|
50 |
|
51 |
}
|
52 |
|
53 |
}
|
54 |
jQuery('.wdform-element-section').each(function() {
|
55 |
var div_parent = document.createElement('div');
|
56 |
div_parent.setAttribute("class", "page_percentage_deactive");
|
57 |
var div = document.createElement('div');
|
58 |
div.setAttribute("id", "div_percentage");
|
59 |
div.setAttribute("class", "page_percentage_active");
|
60 |
div.setAttribute("align", "right");
|
61 |
var div_arrow = document.createElement('div');
|
62 |
div_arrow.setAttribute("class", "wdform_percentage_arrow");
|
63 |
b.setAttribute("class", "wdform_percentage_text");
|
64 |
var curtop = 0;
|
65 |
if (obj.offsetParent) {
|
66 |
do {
|
67 |
curtop += obj.offsetTop;
|
68 |
} while (obj = obj.offsetParent);
|
69 |
return [curtop];
|
70 |
}
|
71 |
if( node.childNodes[ttt] && node.childNodes[ttt].nodeType == '3' && !/\S/.test( node.childNodes[ttt].nodeValue ))
|
|
|
72 |
var chCode1 = e.which || e.keyCode;
|
73 |
if (chCode1 > 31 && (chCode1 < 48 || chCode1 > 57))
|
74 |
return false;
|
75 |
if(document.getElementById(num+'_total_element'+form_id)){
|
76 |
var chCode1 = e.which || e.keyCode;
|
77 |
if ( jQuery.inArray(chCode1,[46,8,9,27,13,190]) != -1 || e.ctrlKey === true || (chCode1 >= 35 && chCode1 < 39))
|
78 |
return true;
|
79 |
return false;
|
80 |
var chCode1 = e.which || e.keyCode;
|
81 |
if (chCode1 > 31 && (chCode1 < 48 || chCode1 > 57))
|
82 |
return false;
|
83 |
return false;
|
84 |
var chCode1 = e.which || e.keyCode;
|
85 |
if (chCode1 > 31 && (chCode1 < 48 || chCode1 > 57))
|
86 |
return false;
|
87 |
return false;
|
88 |
var chCode1 = e.which || e.keyCode;
|
89 |
if (chCode1 > 31 && (chCode1 < 48 || chCode1 > 57))
|
90 |
return false;
|
91 |
return false;
|
92 |
var chCode1 = e.which || e.keyCode;
|
93 |
if (jQuery.inArray(chCode1,[46,8,9,27,13,190]) != -1 || e.ctrlKey === true || (chCode1 >= 35 && chCode1 < 39)) {
|
94 |
return true;
|
95 |
}
|
96 |
if (chCode1 > 31 && (chCode1 < 48 || chCode1 > 57)) {
|
97 |
return false;
|
98 |
}
|
99 |
return false;
|
100 |
return false;
|
101 |
return false;
|
102 |
var chCode1 = e.which || e.keyCode;
|
103 |
if (chCode1 > 31 && (chCode1 < 48 || chCode1 > 57))
|
104 |
return false;
|
105 |
return false;
|
106 |
return false;
|
107 |
return false;
|
108 |
var chCode1 = e.which || e.keyCode;
|
109 |
if (chCode1 > 31 && (chCode1 < 48 || chCode1 > 57))
|
110 |
return false;
|
111 |
return false;
|
112 |
return false;
|
113 |
return false;
|
114 |
var chCode1 = e.which || e.keyCode;
|
115 |
if (chCode1 > 31 && (chCode1 < 48 || chCode1 > 57))
|
116 |
return false;
|
117 |
return false;
|
118 |
while (node.firstChild)
|
119 |
node.removeChild(node.firstChild);
|
120 |
|
121 |
}
|
122 |
|
123 |
}
|
124 |
jQuery('.wdform-element-section').each(function() {
|
125 |
var div_parent = document.createElement('div');
|
126 |
div_parent.setAttribute("class", "page_percentage_deactive");
|
127 |
var div = document.createElement('div');
|
128 |
div.setAttribute("id", "div_percentage");
|
129 |
div.setAttribute("class", "page_percentage_active");
|
130 |
div.setAttribute("align", "right");
|
131 |
var div_arrow = document.createElement('div');
|
132 |
div_arrow.setAttribute("class", "wdform_percentage_arrow");
|
133 |
b.setAttribute("class", "wdform_percentage_text");
|
134 |
var curtop = 0;
|
135 |
if (obj.offsetParent) {
|
136 |
do {
|
137 |
curtop += obj.offsetTop;
|
138 |
} while (obj = obj.offsetParent);
|
139 |
return [curtop];
|
140 |
}
|
141 |
if( node.childNodes[ttt] && node.childNodes[ttt].nodeType == '3' && !/\S/.test( node.childNodes[ttt].nodeValue ))
|
|
|
1 |
var chCode1 = e.which || e.keyCode;
|
2 |
if (chCode1 > 31 && (chCode1 < 48 || chCode1 > 57))
|
3 |
return false;
|
4 |
if(document.getElementById(num+'_total_element'+form_id)){
|
5 |
var chCode1 = e.which || e.keyCode;
|
6 |
if ( jQuery.inArray(chCode1,[46,8,9,27,13,190]) != -1 || e.ctrlKey === true || (chCode1 >= 35 && chCode1 < 39))
|
7 |
return true;
|
8 |
return false;
|
9 |
var chCode1 = e.which || e.keyCode;
|
10 |
if (chCode1 > 31 && (chCode1 < 48 || chCode1 > 57))
|
11 |
return false;
|
12 |
return false;
|
13 |
var chCode1 = e.which || e.keyCode;
|
14 |
if (chCode1 > 31 && (chCode1 < 48 || chCode1 > 57))
|
15 |
return false;
|
16 |
return false;
|
17 |
var chCode1 = e.which || e.keyCode;
|
18 |
if (chCode1 > 31 && (chCode1 < 48 || chCode1 > 57))
|
19 |
return false;
|
20 |
return false;
|
21 |
var chCode1 = e.which || e.keyCode;
|
22 |
if (jQuery.inArray(chCode1,[46,8,9,27,13,190]) != -1 || e.ctrlKey === true || (chCode1 >= 35 && chCode1 < 39)) {
|
23 |
return true;
|
24 |
}
|
25 |
if (chCode1 > 31 && (chCode1 < 48 || chCode1 > 57)) {
|
26 |
return false;
|
27 |
}
|
28 |
return false;
|
29 |
return false;
|
30 |
return false;
|
31 |
var chCode1 = e.which || e.keyCode;
|
32 |
if (chCode1 > 31 && (chCode1 < 48 || chCode1 > 57))
|
33 |
return false;
|
34 |
return false;
|
35 |
return false;
|
36 |
return false;
|
37 |
var chCode1 = e.which || e.keyCode;
|
38 |
if (chCode1 > 31 && (chCode1 < 48 || chCode1 > 57))
|
39 |
return false;
|
40 |
return false;
|
41 |
return false;
|
42 |
return false;
|
43 |
var chCode1 = e.which || e.keyCode;
|
44 |
if (chCode1 > 31 && (chCode1 < 48 || chCode1 > 57))
|
45 |
return false;
|
46 |
return false;
|
47 |
while (node.firstChild)
|
48 |
node.removeChild(node.firstChild);
|
49 |
|
50 |
}
|
51 |
|
52 |
}
|
53 |
jQuery('.wdform-element-section').each(function() {
|
54 |
var div_parent = document.createElement('div');
|
55 |
div_parent.setAttribute("class", "page_percentage_deactive");
|
56 |
var div = document.createElement('div');
|
57 |
div.setAttribute("id", "div_percentage");
|
58 |
div.setAttribute("class", "page_percentage_active");
|
59 |
div.setAttribute("align", "right");
|
60 |
var div_arrow = document.createElement('div');
|
61 |
div_arrow.setAttribute("class", "wdform_percentage_arrow");
|
62 |
b.setAttribute("class", "wdform_percentage_text");
|
63 |
var curtop = 0;
|
64 |
if (obj.offsetParent) {
|
65 |
do {
|
66 |
curtop += obj.offsetTop;
|
67 |
} while (obj = obj.offsetParent);
|
68 |
return [curtop];
|
69 |
}
|
70 |
if( node.childNodes[ttt] && node.childNodes[ttt].nodeType == '3' && !/\S/.test( node.childNodes[ttt].nodeValue ))
|
71 |
+
F=2;
|
72 |
var chCode1 = e.which || e.keyCode;
|
73 |
if (chCode1 > 31 && (chCode1 < 48 || chCode1 > 57))
|
74 |
return false;
|
75 |
if(document.getElementById(num+'_total_element'+form_id)){
|
76 |
var chCode1 = e.which || e.keyCode;
|
77 |
if ( jQuery.inArray(chCode1,[46,8,9,27,13,190]) != -1 || e.ctrlKey === true || (chCode1 >= 35 && chCode1 < 39))
|
78 |
return true;
|
79 |
return false;
|
80 |
var chCode1 = e.which || e.keyCode;
|
81 |
if (chCode1 > 31 && (chCode1 < 48 || chCode1 > 57))
|
82 |
return false;
|
83 |
return false;
|
84 |
var chCode1 = e.which || e.keyCode;
|
85 |
if (chCode1 > 31 && (chCode1 < 48 || chCode1 > 57))
|
86 |
return false;
|
87 |
return false;
|
88 |
var chCode1 = e.which || e.keyCode;
|
89 |
if (chCode1 > 31 && (chCode1 < 48 || chCode1 > 57))
|
90 |
return false;
|
91 |
return false;
|
92 |
var chCode1 = e.which || e.keyCode;
|
93 |
if (jQuery.inArray(chCode1,[46,8,9,27,13,190]) != -1 || e.ctrlKey === true || (chCode1 >= 35 && chCode1 < 39)) {
|
94 |
return true;
|
95 |
}
|
96 |
if (chCode1 > 31 && (chCode1 < 48 || chCode1 > 57)) {
|
97 |
return false;
|
98 |
}
|
99 |
return false;
|
100 |
return false;
|
101 |
return false;
|
102 |
var chCode1 = e.which || e.keyCode;
|
103 |
if (chCode1 > 31 && (chCode1 < 48 || chCode1 > 57))
|
104 |
return false;
|
105 |
return false;
|
106 |
return false;
|
107 |
return false;
|
108 |
var chCode1 = e.which || e.keyCode;
|
109 |
if (chCode1 > 31 && (chCode1 < 48 || chCode1 > 57))
|
110 |
return false;
|
111 |
return false;
|
112 |
return false;
|
113 |
return false;
|
114 |
var chCode1 = e.which || e.keyCode;
|
115 |
if (chCode1 > 31 && (chCode1 < 48 || chCode1 > 57))
|
116 |
return false;
|
117 |
return false;
|
118 |
while (node.firstChild)
|
119 |
node.removeChild(node.firstChild);
|
120 |
|
121 |
}
|
122 |
|
123 |
}
|
124 |
jQuery('.wdform-element-section').each(function() {
|
125 |
var div_parent = document.createElement('div');
|
126 |
div_parent.setAttribute("class", "page_percentage_deactive");
|
127 |
var div = document.createElement('div');
|
128 |
div.setAttribute("id", "div_percentage");
|
129 |
div.setAttribute("class", "page_percentage_active");
|
130 |
div.setAttribute("align", "right");
|
131 |
var div_arrow = document.createElement('div');
|
132 |
div_arrow.setAttribute("class", "wdform_percentage_arrow");
|
133 |
b.setAttribute("class", "wdform_percentage_text");
|
134 |
var curtop = 0;
|
135 |
if (obj.offsetParent) {
|
136 |
do {
|
137 |
curtop += obj.offsetTop;
|
138 |
} while (obj = obj.offsetParent);
|
139 |
return [curtop];
|
140 |
}
|
141 |
if( node.childNodes[ttt] && node.childNodes[ttt].nodeType == '3' && !/\S/.test( node.childNodes[ttt].nodeValue ))
|
languages/form_maker-nl_NL.mo
CHANGED
Binary file
|
languages/form_maker-nl_NL.po
CHANGED
@@ -1,506 +1,507 @@
|
|
1 |
-
msgid ""
|
2 |
-
msgstr ""
|
3 |
-
"Project-Id-Version: form_maker\n"
|
4 |
-
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date: 2015-05-22 17:02+0400\n"
|
6 |
-
"PO-Revision-Date:
|
7 |
-
"Last-Translator: \n"
|
8 |
-
"Language-Team: \n"
|
9 |
-
"Language: nl\n"
|
10 |
-
"MIME-Version: 1.0\n"
|
11 |
-
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
-
"Content-Transfer-Encoding: 8bit\n"
|
13 |
-
"X-Poedit-KeywordsList: _;gettext;gettext_noop;__\n"
|
14 |
-
"X-Poedit-Basepath: .\n"
|
15 |
-
"X-Generator: Poedit 1.
|
16 |
-
"X-Poedit-SearchPath-0: C
|
17 |
-
|
18 |
-
|
19 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/
|
58 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/
|
64 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/
|
70 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/
|
76 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/
|
82 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/
|
88 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/
|
94 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/
|
100 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/
|
106 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/
|
112 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/
|
118 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/
|
124 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/models/FMModelForm_maker.php:
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/models/FMModelForm_maker.php:325
|
139 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/models/FMModelForm_maker.php:854
|
140 |
-
msgid "The file exceeds the allowed size of"
|
141 |
-
msgstr "Het bestand overschrijdt de toegestane grootte van"
|
142 |
-
|
143 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/models/FMModelForm_maker.php:344
|
144 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/models/FMModelForm_maker.php:869
|
145 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:2520
|
146 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:4233
|
147 |
-
msgid "Sorry, you are not allowed to upload this type of file."
|
148 |
-
msgstr "Sorry, je hebt geen toestemming om dit type bestand te uploaden."
|
149 |
-
|
150 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/models/FMModelForm_maker.php:365
|
151 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/models/FMModelForm_maker.php:890
|
152 |
-
msgid "Error, file cannot be moved."
|
153 |
-
msgstr "Fout
|
154 |
-
|
155 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/models/FMModelForm_maker.php:743
|
156 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/models/FMModelForm_maker.php:1207
|
157 |
-
#, php-format
|
158 |
-
msgid ""
|
159 |
-
"This field %s requires a unique entry and this value was already submitted."
|
160 |
-
msgstr "Dit veld %s verwacht een unieke invoer en deze waarde is al gebruikt."
|
161 |
-
|
162 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/models/FMModelForm_maker.php:895
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/models/FMModelForm_maker.php:
|
172 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/models/FMModelForm_maker.php:
|
173 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/models/FMModelForm_maker.php:
|
174 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/models/FMModelForm_maker.php:
|
180 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/models/FMModelVerify_email.php:
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:
|
203 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:
|
204 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:
|
205 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:
|
206 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:
|
207 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:
|
208 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:
|
209 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:
|
210 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:
|
211 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:
|
212 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:
|
213 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:
|
214 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:
|
215 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:
|
216 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:
|
217 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:
|
218 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:
|
219 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:
|
220 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:
|
221 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:
|
222 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:
|
223 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:
|
224 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:
|
225 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:
|
226 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:
|
227 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:
|
228 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:
|
229 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:
|
230 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:
|
231 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:
|
232 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:
|
233 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:
|
234 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:
|
235 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:
|
236 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:
|
263 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:
|
264 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:
|
265 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:
|
266 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:
|
267 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:
|
273 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:
|
274 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:
|
275 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
|
289 |
-
|
290 |
-
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/
|
313 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_submissions.php:
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
|
318 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/
|
319 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_submissions.php:
|
320 |
-
|
321 |
-
|
322 |
-
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
-
|
327 |
-
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
-
|
334 |
-
|
335 |
-
|
336 |
-
|
337 |
-
|
338 |
-
|
339 |
-
|
340 |
-
|
341 |
-
|
342 |
-
|
343 |
-
|
344 |
-
|
345 |
-
|
346 |
-
|
347 |
-
|
348 |
-
|
349 |
-
|
350 |
-
|
351 |
-
|
352 |
-
|
353 |
-
|
354 |
-
|
355 |
-
|
356 |
-
|
357 |
-
|
358 |
-
"submissions
|
359 |
-
"
|
360 |
-
|
361 |
-
|
362 |
-
|
363 |
-
|
364 |
-
|
365 |
-
|
366 |
-
|
367 |
-
|
368 |
-
|
369 |
-
|
370 |
-
|
371 |
-
|
372 |
-
|
373 |
-
|
374 |
-
|
375 |
-
|
376 |
-
|
377 |
-
|
378 |
-
|
379 |
-
|
380 |
-
|
381 |
-
|
382 |
-
|
383 |
-
|
384 |
-
|
385 |
-
|
386 |
-
|
387 |
-
|
388 |
-
|
389 |
-
|
390 |
-
|
391 |
-
|
392 |
-
|
393 |
-
|
394 |
-
|
395 |
-
|
396 |
-
|
397 |
-
|
398 |
-
|
399 |
-
|
400 |
-
|
401 |
-
|
402 |
-
|
403 |
-
|
404 |
-
|
405 |
-
|
406 |
-
|
407 |
-
|
408 |
-
|
409 |
-
|
410 |
-
|
411 |
-
|
412 |
-
|
413 |
-
|
414 |
-
|
415 |
-
|
416 |
-
|
417 |
-
|
418 |
-
|
419 |
-
|
420 |
-
|
421 |
-
|
422 |
-
|
423 |
-
|
424 |
-
|
425 |
-
|
426 |
-
|
427 |
-
|
428 |
-
|
429 |
-
|
430 |
-
|
431 |
-
|
432 |
-
|
433 |
-
|
434 |
-
|
435 |
-
|
436 |
-
|
437 |
-
|
438 |
-
|
439 |
-
|
440 |
-
|
441 |
-
|
442 |
-
|
443 |
-
|
444 |
-
|
445 |
-
|
446 |
-
|
447 |
-
|
448 |
-
|
449 |
-
|
450 |
-
|
451 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_submissions.php:
|
452 |
-
|
453 |
-
|
454 |
-
|
455 |
-
|
456 |
-
|
457 |
-
|
458 |
-
|
459 |
-
|
460 |
-
|
461 |
-
|
462 |
-
|
463 |
-
|
464 |
-
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_submissions.php:
|
465 |
-
|
466 |
-
|
467 |
-
|
468 |
-
|
469 |
-
|
470 |
-
|
471 |
-
|
472 |
-
|
473 |
-
|
474 |
-
|
475 |
-
|
476 |
-
|
477 |
-
|
478 |
-
|
479 |
-
|
480 |
-
|
481 |
-
|
482 |
-
|
483 |
-
|
484 |
-
|
485 |
-
|
486 |
-
|
487 |
-
|
488 |
-
|
489 |
-
|
490 |
-
|
491 |
-
|
492 |
-
|
493 |
-
|
494 |
-
|
495 |
-
|
496 |
-
|
497 |
-
|
498 |
-
|
499 |
-
|
500 |
-
|
501 |
-
|
502 |
-
|
503 |
-
|
504 |
-
|
505 |
-
|
506 |
-
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: form_maker\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2015-05-22 17:02+0400\n"
|
6 |
+
"PO-Revision-Date: 2016-11-15 16:35+0100\n"
|
7 |
+
"Last-Translator: \n"
|
8 |
+
"Language-Team: \n"
|
9 |
+
"Language: nl\n"
|
10 |
+
"MIME-Version: 1.0\n"
|
11 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
+
"Content-Transfer-Encoding: 8bit\n"
|
13 |
+
"X-Poedit-KeywordsList: _;gettext;gettext_noop;__\n"
|
14 |
+
"X-Poedit-Basepath: .\n"
|
15 |
+
"X-Generator: Poedit 1.8.11\n"
|
16 |
+
"X-Poedit-SearchPath-0: C:/wamp/www/wordpress/wp-content/plugins/form-maker\n"
|
17 |
+
|
18 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/admin/models/FMModelSubmissions_fm.php:240
|
19 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:4201
|
20 |
+
msgid "Street Address"
|
21 |
+
msgstr "Adres"
|
22 |
+
|
23 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/admin/models/FMModelSubmissions_fm.php:243
|
24 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:4202
|
25 |
+
msgid "Street Address Line 2"
|
26 |
+
msgstr "Adresregel 2"
|
27 |
+
|
28 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/admin/models/FMModelSubmissions_fm.php:246
|
29 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:4203
|
30 |
+
msgid "City"
|
31 |
+
msgstr "Plaats"
|
32 |
+
|
33 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/admin/models/FMModelSubmissions_fm.php:249
|
34 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:4204
|
35 |
+
msgid "State / Province / Region"
|
36 |
+
msgstr "Staat / Provincie / Regio"
|
37 |
+
|
38 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/admin/models/FMModelSubmissions_fm.php:252
|
39 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:4205
|
40 |
+
msgid "Postal / Zip Code"
|
41 |
+
msgstr "Postcode"
|
42 |
+
|
43 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/admin/models/FMModelSubmissions_fm.php:255
|
44 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:4206
|
45 |
+
msgid "Country"
|
46 |
+
msgstr "Land"
|
47 |
+
|
48 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/admin/views/FMViewSelect_data_from_db.php:104
|
49 |
+
msgid "Connection type"
|
50 |
+
msgstr "Soort verbinding"
|
51 |
+
|
52 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/admin/views/FMViewSelect_data_from_db.php:140
|
53 |
+
msgid "Type"
|
54 |
+
msgstr "Soort"
|
55 |
+
|
56 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/admin/views/FMViewSubmissions_fm.php:2530
|
57 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:2419
|
58 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:4189
|
59 |
+
msgid "January"
|
60 |
+
msgstr "januari"
|
61 |
+
|
62 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/admin/views/FMViewSubmissions_fm.php:2530
|
63 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:2419
|
64 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:4190
|
65 |
+
msgid "February"
|
66 |
+
msgstr "februari"
|
67 |
+
|
68 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/admin/views/FMViewSubmissions_fm.php:2530
|
69 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:2419
|
70 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:4191
|
71 |
+
msgid "March"
|
72 |
+
msgstr "maart"
|
73 |
+
|
74 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/admin/views/FMViewSubmissions_fm.php:2530
|
75 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:2419
|
76 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:4192
|
77 |
+
msgid "April"
|
78 |
+
msgstr "april"
|
79 |
+
|
80 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/admin/views/FMViewSubmissions_fm.php:2530
|
81 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:2419
|
82 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:4193
|
83 |
+
msgid "May"
|
84 |
+
msgstr "mei"
|
85 |
+
|
86 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/admin/views/FMViewSubmissions_fm.php:2530
|
87 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:2419
|
88 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:4194
|
89 |
+
msgid "June"
|
90 |
+
msgstr "juni"
|
91 |
+
|
92 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/admin/views/FMViewSubmissions_fm.php:2530
|
93 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:2419
|
94 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:4195
|
95 |
+
msgid "July"
|
96 |
+
msgstr "juli"
|
97 |
+
|
98 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/admin/views/FMViewSubmissions_fm.php:2530
|
99 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:2419
|
100 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:4196
|
101 |
+
msgid "August"
|
102 |
+
msgstr "augustus"
|
103 |
+
|
104 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/admin/views/FMViewSubmissions_fm.php:2530
|
105 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:2419
|
106 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:4197
|
107 |
+
msgid "September"
|
108 |
+
msgstr "september"
|
109 |
+
|
110 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/admin/views/FMViewSubmissions_fm.php:2530
|
111 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:2419
|
112 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:4198
|
113 |
+
msgid "October"
|
114 |
+
msgstr "oktober"
|
115 |
+
|
116 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/admin/views/FMViewSubmissions_fm.php:2530
|
117 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:2419
|
118 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:4199
|
119 |
+
msgid "November"
|
120 |
+
msgstr "november"
|
121 |
+
|
122 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/admin/views/FMViewSubmissions_fm.php:2530
|
123 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:2419
|
124 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:4200
|
125 |
+
msgid "December"
|
126 |
+
msgstr "december"
|
127 |
+
|
128 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/models/FMModelForm_maker.php:77
|
129 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/models/FMModelForm_maker.php:92
|
130 |
+
msgid "Error, incorrect Security code."
|
131 |
+
msgstr "Fout, onjuiste beveiligingscode."
|
132 |
+
|
133 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/models/FMModelForm_maker.php:106
|
134 |
+
msgid "Your ip is blacklisted. Please contact the website administrator."
|
135 |
+
msgstr ""
|
136 |
+
"Uw IP staat op de zwarte lijst. Neem contact op met de websitebeheerder."
|
137 |
+
|
138 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/models/FMModelForm_maker.php:325
|
139 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/models/FMModelForm_maker.php:854
|
140 |
+
msgid "The file exceeds the allowed size of"
|
141 |
+
msgstr "Het bestand overschrijdt de toegestane grootte van"
|
142 |
+
|
143 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/models/FMModelForm_maker.php:344
|
144 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/models/FMModelForm_maker.php:869
|
145 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:2520
|
146 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:4233
|
147 |
+
msgid "Sorry, you are not allowed to upload this type of file."
|
148 |
+
msgstr "Sorry, je hebt geen toestemming om dit type bestand te uploaden."
|
149 |
+
|
150 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/models/FMModelForm_maker.php:365
|
151 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/models/FMModelForm_maker.php:890
|
152 |
+
msgid "Error, file cannot be moved."
|
153 |
+
msgstr "Fout: het bestand kan niet worden verplaatst."
|
154 |
+
|
155 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/models/FMModelForm_maker.php:743
|
156 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/models/FMModelForm_maker.php:1207
|
157 |
+
#, php-format
|
158 |
+
msgid ""
|
159 |
+
"This field %s requires a unique entry and this value was already submitted."
|
160 |
+
msgstr "Dit veld %s verwacht een unieke invoer en deze waarde is al gebruikt."
|
161 |
+
|
162 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/models/FMModelForm_maker.php:895
|
163 |
+
msgid "Error, file destination does not exist."
|
164 |
+
msgstr "Fout: de bestemming bestaat niet."
|
165 |
+
|
166 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/models/FMModelForm_maker.php:1434
|
167 |
+
msgid "Nothing was submitted."
|
168 |
+
msgstr "Er is niets verzonden."
|
169 |
+
|
170 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/models/FMModelForm_maker.php:2343
|
171 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/models/FMModelForm_maker.php:2356
|
172 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/models/FMModelForm_maker.php:4047
|
173 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/models/FMModelForm_maker.php:4052
|
174 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:64
|
175 |
+
msgid "Your form was successfully submitted."
|
176 |
+
msgstr "Uw formulier is verzonden."
|
177 |
+
|
178 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/models/FMModelForm_maker.php:2351
|
179 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/models/FMModelForm_maker.php:4043
|
180 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:61
|
181 |
+
msgid "Error, email was not sent."
|
182 |
+
msgstr "Fout: e-mail is niet verzonden."
|
183 |
+
|
184 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/models/FMModelVerify_email.php:27
|
185 |
+
msgid "Your email address is already verified."
|
186 |
+
msgstr "Uw e-mailadres is al geverifieerd."
|
187 |
+
|
188 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/models/FMModelVerify_email.php:68
|
189 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/models/FMModelVerify_email.php:94
|
190 |
+
msgid "Your email has been successfully verified."
|
191 |
+
msgstr "Uw e-mail is met succes geverifieerd."
|
192 |
+
|
193 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/models/FMModelVerify_email.php:71
|
194 |
+
msgid "Your email verification has timed out."
|
195 |
+
msgstr "Uw e-verificatie is verlopen."
|
196 |
+
|
197 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/models/FMModelVerify_email.php:99
|
198 |
+
msgid "Verification link is invalid."
|
199 |
+
msgstr "Verificatielink is ongeldig."
|
200 |
+
|
201 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:1034
|
202 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:1085
|
203 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:1156
|
204 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:1203
|
205 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:1252
|
206 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:1307
|
207 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:1379
|
208 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:1484
|
209 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:1499
|
210 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:1601
|
211 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:1673
|
212 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:1855
|
213 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:2022
|
214 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:2155
|
215 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:2214
|
216 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:2290
|
217 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:2340
|
218 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:2457
|
219 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:2505
|
220 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:2560
|
221 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:2728
|
222 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:2918
|
223 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:3088
|
224 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:3245
|
225 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:3386
|
226 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:3487
|
227 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:3546
|
228 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:3601
|
229 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:3661
|
230 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:3718
|
231 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:3778
|
232 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:3892
|
233 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:3906
|
234 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:3921
|
235 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:3936
|
236 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:4238
|
237 |
+
msgid "field is required."
|
238 |
+
msgstr "veld is verplicht."
|
239 |
+
|
240 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:1690
|
241 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:4236
|
242 |
+
msgid "This is not a valid email address."
|
243 |
+
msgstr "Dit is geen geldig e-mailadres."
|
244 |
+
|
245 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:2356
|
246 |
+
msgid ""
|
247 |
+
"You cannot select former dates. Choose a date starting from the current one."
|
248 |
+
msgstr ""
|
249 |
+
"Je kunt geen vroegere data selecteren. Kies een datum vanaf de huidige."
|
250 |
+
|
251 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:2767
|
252 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:4239
|
253 |
+
msgid "The"
|
254 |
+
msgstr "De"
|
255 |
+
|
256 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:2767
|
257 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:4239
|
258 |
+
msgid "value must be between"
|
259 |
+
msgstr "waarde moet zijn tussen"
|
260 |
+
|
261 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:2893
|
262 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:2933
|
263 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:3064
|
264 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:3101
|
265 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:3220
|
266 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:3261
|
267 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:4212
|
268 |
+
msgid "Quantity"
|
269 |
+
msgstr "Hoeveelheid"
|
270 |
+
|
271 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:3792
|
272 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:4001
|
273 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:4002
|
274 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:4234
|
275 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:4235
|
276 |
+
msgid "Your score should be less than"
|
277 |
+
msgstr "Je score moet kleiner zijn dan"
|
278 |
+
|
279 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:4185
|
280 |
+
msgid "Title"
|
281 |
+
msgstr "Titel"
|
282 |
+
|
283 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:4186
|
284 |
+
msgid "First"
|
285 |
+
msgstr "Eerste"
|
286 |
+
|
287 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:4187
|
288 |
+
msgid "Last"
|
289 |
+
msgstr "Laatste"
|
290 |
+
|
291 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:4188
|
292 |
+
msgid "Middle"
|
293 |
+
msgstr "Middelste"
|
294 |
+
|
295 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:4207
|
296 |
+
msgid "Area Code"
|
297 |
+
msgstr "Netnummer"
|
298 |
+
|
299 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:4208
|
300 |
+
msgid "Phone Number"
|
301 |
+
msgstr "Telefoonnummer"
|
302 |
+
|
303 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:4209
|
304 |
+
msgid "Dollars"
|
305 |
+
msgstr "Dollars"
|
306 |
+
|
307 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:4210
|
308 |
+
msgid "Cents"
|
309 |
+
msgstr "Centen"
|
310 |
+
|
311 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:4213
|
312 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_submissions.php:300
|
313 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_submissions.php:586
|
314 |
+
msgid "From"
|
315 |
+
msgstr "Van"
|
316 |
+
|
317 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_maker.php:4214
|
318 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_submissions.php:305
|
319 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_submissions.php:588
|
320 |
+
msgid "To"
|
321 |
+
msgstr "Aan"
|
322 |
+
|
323 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_submissions.php:29
|
324 |
+
msgid "You have no permission to view submissions."
|
325 |
+
msgstr "Je hebt geen toestemming om aanmeldingen te bekijken"
|
326 |
+
|
327 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_submissions.php:143
|
328 |
+
msgid "Entries"
|
329 |
+
msgstr "Invoer"
|
330 |
+
|
331 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_submissions.php:145
|
332 |
+
msgid "Views"
|
333 |
+
msgstr "Weergaven"
|
334 |
+
|
335 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_submissions.php:147
|
336 |
+
msgid "Conversion Rate"
|
337 |
+
msgstr "Conversie rate"
|
338 |
+
|
339 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_submissions.php:150
|
340 |
+
msgid "Export to"
|
341 |
+
msgstr "Exporteren naar"
|
342 |
+
|
343 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_submissions.php:166
|
344 |
+
msgid "GO"
|
345 |
+
msgstr "GA"
|
346 |
+
|
347 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_submissions.php:167
|
348 |
+
msgid "Reset"
|
349 |
+
msgstr "Reset "
|
350 |
+
|
351 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_submissions.php:170
|
352 |
+
msgid "of"
|
353 |
+
msgstr "van"
|
354 |
+
|
355 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_submissions.php:170
|
356 |
+
msgid ""
|
357 |
+
"submissions are not shown, as the field you sorted by is missing in those "
|
358 |
+
"submissions."
|
359 |
+
msgstr ""
|
360 |
+
"aanmeldingen worden niet getoond, omdat het veld die je sorteerde ontbreekt "
|
361 |
+
"in die aanmeldingen."
|
362 |
+
|
363 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_submissions.php:357
|
364 |
+
msgid "Canceled"
|
365 |
+
msgstr "Ongedaan gemaakt"
|
366 |
+
|
367 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_submissions.php:358
|
368 |
+
msgid "Cleared"
|
369 |
+
msgstr "Verwijderd"
|
370 |
+
|
371 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_submissions.php:359
|
372 |
+
msgid "Cleared by payment review"
|
373 |
+
msgstr "Uitgeschakeld door betalingsoverzicht"
|
374 |
+
|
375 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_submissions.php:360
|
376 |
+
msgid "Completed"
|
377 |
+
msgstr "Beëindigd"
|
378 |
+
|
379 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_submissions.php:361
|
380 |
+
msgid "Denied"
|
381 |
+
msgstr "Geweigerd"
|
382 |
+
|
383 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_submissions.php:362
|
384 |
+
msgid "Failed"
|
385 |
+
msgstr "Niet geslaagd"
|
386 |
+
|
387 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_submissions.php:363
|
388 |
+
msgid "Held"
|
389 |
+
msgstr "Aangehouden"
|
390 |
+
|
391 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_submissions.php:364
|
392 |
+
msgid "In progress"
|
393 |
+
msgstr "In bewerking"
|
394 |
+
|
395 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_submissions.php:365
|
396 |
+
msgid "On hold"
|
397 |
+
msgstr "Tijdelijk aangehouden"
|
398 |
+
|
399 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_submissions.php:366
|
400 |
+
msgid "Paid"
|
401 |
+
msgstr "Betaald"
|
402 |
+
|
403 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_submissions.php:367
|
404 |
+
msgid "Partially refunded"
|
405 |
+
msgstr "Gedeeltelijk teruggestort"
|
406 |
+
|
407 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_submissions.php:368
|
408 |
+
msgid "Pending verification"
|
409 |
+
msgstr "Bezig met verificatie"
|
410 |
+
|
411 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_submissions.php:369
|
412 |
+
msgid "Placed"
|
413 |
+
msgstr "Geplaatst"
|
414 |
+
|
415 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_submissions.php:370
|
416 |
+
msgid "Processing"
|
417 |
+
msgstr "An het verwerken"
|
418 |
+
|
419 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_submissions.php:371
|
420 |
+
msgid "Refunded"
|
421 |
+
msgstr "Terug gestort"
|
422 |
+
|
423 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_submissions.php:372
|
424 |
+
msgid "Refused"
|
425 |
+
msgstr "Geweigerd"
|
426 |
+
|
427 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_submissions.php:373
|
428 |
+
msgid "Removed"
|
429 |
+
msgstr "Verplaatst"
|
430 |
+
|
431 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_submissions.php:374
|
432 |
+
msgid "Returned"
|
433 |
+
msgstr "Geretourneerd"
|
434 |
+
|
435 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_submissions.php:375
|
436 |
+
msgid "Reversed"
|
437 |
+
msgstr "Omgekeerd"
|
438 |
+
|
439 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_submissions.php:376
|
440 |
+
msgid "Temporary hold"
|
441 |
+
msgstr "Tijdelijk aangehouden"
|
442 |
+
|
443 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_submissions.php:377
|
444 |
+
msgid "Unclaimed"
|
445 |
+
msgstr "Niet geclaimd"
|
446 |
+
|
447 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_submissions.php:472
|
448 |
+
msgid "Show on Map"
|
449 |
+
msgstr "Toon op kaart"
|
450 |
+
|
451 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_submissions.php:505
|
452 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_submissions.php:754
|
453 |
+
msgid "Total"
|
454 |
+
msgstr "Totaal"
|
455 |
+
|
456 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_submissions.php:510
|
457 |
+
msgid "Show Matrix"
|
458 |
+
msgstr "Toon matrix"
|
459 |
+
|
460 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_submissions.php:560
|
461 |
+
msgid "Statistics"
|
462 |
+
msgstr "Statistieken"
|
463 |
+
|
464 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_submissions.php:564
|
465 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_submissions.php:568
|
466 |
+
msgid "Select a Field"
|
467 |
+
msgstr "Selecteer een veld "
|
468 |
+
|
469 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_submissions.php:583
|
470 |
+
msgid "Select a Date"
|
471 |
+
msgstr "Selecteer een datum"
|
472 |
+
|
473 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_submissions.php:594
|
474 |
+
msgid "Show"
|
475 |
+
msgstr "Toon"
|
476 |
+
|
477 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_submissions.php:626
|
478 |
+
msgid "Please select the field!"
|
479 |
+
msgstr "Selecteer het veld aub"
|
480 |
+
|
481 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_submissions.php:723
|
482 |
+
msgid "Choices"
|
483 |
+
msgstr "Keuzes"
|
484 |
+
|
485 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_submissions.php:724
|
486 |
+
msgid "Percentage"
|
487 |
+
msgstr "Percentage"
|
488 |
+
|
489 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_submissions.php:725
|
490 |
+
msgid "Count"
|
491 |
+
msgstr "Telling"
|
492 |
+
|
493 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_submissions.php:747
|
494 |
+
msgid "Unanswered"
|
495 |
+
msgstr "Onbeantwoord"
|
496 |
+
|
497 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_submissions.php:771
|
498 |
+
msgid "Address"
|
499 |
+
msgstr "Adres"
|
500 |
+
|
501 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_submissions.php:779
|
502 |
+
msgid "Longitude"
|
503 |
+
msgstr "Lengte"
|
504 |
+
|
505 |
+
#: C:\wamp\www\wordpress\wp-content\plugins\form-maker/frontend/views/FMViewForm_submissions.php:787
|
506 |
+
msgid "Latitude"
|
507 |
+
msgstr "Breedte"
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://web-dorado.com/products/wordpress-form.html
|
|
4 |
Tags: captcha, contact, contact form, contact forms, custom form, email, feedback, form, form builder, form manager, forms, survey
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 4.7
|
7 |
-
Stable tag: 1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -14,6 +14,8 @@ WordPress Form Maker is a fresh and innovative form builder. This form builder i
|
|
14 |
|
15 |
Form Maker is a FREE and user-friendly plugin to create highly customizable and responsive forms in a few minutes with simple drag and drop interface.
|
16 |
|
|
|
|
|
17 |
[WordPress Form Maker](https://web-dorado.com/products/wordpress-form.html)
|
18 |
[Demo](http://wpdemo.web-dorado.com/)
|
19 |
[Demo Admin](http://wpdemo.web-dorado.com/wp-admin/admin.php?page=Form_maker)
|
@@ -312,6 +314,13 @@ Form Maker uses phone and number field types, which are verified and do not acce
|
|
312 |
Email field should be used since it verifies that an entry format fulfills example@example.com format.
|
313 |
|
314 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
315 |
= 1.9.18 =
|
316 |
Added: Filter verified emails and Export submissions with verified emails
|
317 |
|
4 |
Tags: captcha, contact, contact form, contact forms, custom form, email, feedback, form, form builder, form manager, forms, survey
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 4.7
|
7 |
+
Stable tag: 1.10
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
14 |
|
15 |
Form Maker is a FREE and user-friendly plugin to create highly customizable and responsive forms in a few minutes with simple drag and drop interface.
|
16 |
|
17 |
+
|
18 |
+
|
19 |
[WordPress Form Maker](https://web-dorado.com/products/wordpress-form.html)
|
20 |
[Demo](http://wpdemo.web-dorado.com/)
|
21 |
[Demo Admin](http://wpdemo.web-dorado.com/wp-admin/admin.php?page=Form_maker)
|
314 |
Email field should be used since it verifies that an entry format fulfills example@example.com format.
|
315 |
|
316 |
== Changelog ==
|
317 |
+
|
318 |
+
= 1.10 =
|
319 |
+
Changed: Field validation errors and notifications
|
320 |
+
Added: Realtime field validation
|
321 |
+
Changed: Improved NL translation
|
322 |
+
Fixed: Bug on verified emails
|
323 |
+
|
324 |
= 1.9.18 =
|
325 |
Added: Filter verified emails and Export submissions with verified emails
|
326 |
|