PluginProbe
Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder / 3.3.1
Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder v3.3.1
3.3.1 V-3.3.0 3.2.2 3.2.1 3.2.0 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 V3.0.3 V3.0.2 -3.0.1 V_3.0.0 1.1.1 1.1.8 1.2 1.3 1.4 1.4.18 1.5.2 1.9 2.0 2.10.0 2.10.1 All 138 releases
← All changes | includes/Admin/Form/ScriptFilePriorityManager.php +6 -1 3.1.23.3.1 View file →
@@ -207,8 +207,9 @@
207 207 'multipleSelect' => ['path' => 'config->multipleSelect', 'val' => false],
208 208 'showChip' => ['path' => 'config->showChip', 'val' => false],
209 209 'selectedOptClearable' => ['path' => 'config->selectedOptClearable', 'val' => true],
210 210 'searchClearable' => ['path' => 'config->searchClearable', 'val' => true],
211 + 'showSearch' => ['path' => 'config->showSearch', 'val' => true],
211 212 'searchPlaceholder' => ['path' => 'config->searchPlaceholder', 'val' => ''],
212 213 'activeList' => ['path' => 'config->activeList', 'val' => 0],
213 214 ],
214 215 'address' => [
@@ -267,9 +268,9 @@
267 268 'formID' => ['var' => 'formId'],
268 269 'maxSizeErrMsg' => ['path' => ['err->maxSize->msg', 'err->maxSize->dflt']],
269 270 'minFileErrMsg' => ['path' => ['err->minFile->msg', 'err->minFile->dflt']],
270 271 'maxFileErrMsg' => ['path' => ['err->maxFile->msg', 'err->maxFile->dflt']],
271 - 'assetsURL' => ['val' => BITFORMS_ROOT_URI . '/static/file-upload/'],
272 + 'assetsURL' => ['val' => BITFORMS_ROOT_URI . '/static/file-upload'],
272 273 'classNames' => ['path' => 'customClasses'],
273 274 'attributes' => ['path' => 'customAttributes'],
274 275 'fieldName' => ['path' => 'fieldName'],
275 276 'contentId' => ['var' => 'contentId'],
@@ -282,8 +283,10 @@
282 283 'minFile' => ['path' => 'config->minFile', 'val' => 0],
283 284 'maxFile' => ['path' => 'config->maxFile', 'val' => 0],
284 285 'showSelectStatus' => ['path' => 'config->showSelectStatus', 'val' => false],
285 286 'fileSelectStatus' => ['path' => 'config->fileSelectStatus', 'val' => 'No File Selected'],
287 + 'oldFiles' => ['path' => 'config->oldFiles', 'val' => []],
288 + 'baseDLURL' => ['path' => 'config->baseDLURL', 'val' => ''],
286 289 'fileExistMsg' => ['val' => 'A file already exist'],
287 290 'showFileList' => ['path' => 'config->showFileList', 'val' => false],
288 291 'showFilePreview' => ['path' => 'config->showFilePreview', 'val' => false],
289 292 'showFileSize' => ['path' => 'config->showFileSize', 'val' => false],
@@ -382,8 +385,10 @@
382 385 }
383 386
384 387 public static function validationScriptFileMapping($fieldType)
385 388 {
389 + // Pro filter callbacks type-hint string; never let null/non-string through.
390 + $fieldType = is_string($fieldType) ? $fieldType : '';
386 391 $textTypeField = ['text', 'password', 'username', 'color'];
387 392 if (in_array($fieldType, $textTypeField)) {
388 393 $fieldType = 'text';
389 394 }