Er gibt mir immer 2x mal den Dump aus, da wird glaube auch der Fehler liegen oder? Bei FormData wird z.B. zuerst eine Form aufgeführt ohne Werte, deshalb die Fehlermeldungen? und danach das eigentliche FormData Element mit meinen Inputs.
$formId:
PHP-Code:
string(23) "auto_tl_registration_21"
string(23) "auto_tl_registration_21"
$widget:
PHP-Code:
object(Contao\FormTextField)#584 (25) {
["blnSubmitInput":protected]=>
bool(true)
["blnForAttribute":protected]=>
bool(true)
["strTemplate":protected]=>
string(14) "form_textfield"
["strPrefix":protected]=>
string(18) "widget widget-text"
["strId":protected]=>
string(2) "61"
["strName":protected]=>
string(5) "item4"
["strLabel":protected]=>
string(67) "Bitte geben Sie die ersten beiden Buchstaben Ihres Geburtsortes ein"
["varValue":protected]=>
string(2) "ss"
["inputCallback":protected]=>
NULL
["strClass":protected]=>
string(9) "mandatory"
["strWizard":protected]=>
NULL
["arrErrors":protected]=>
array(0) {
}
["arrAttributes":protected]=>
array(4) {
["required"]=>
string(8) "required"
["placeholder"]=>
string(35) "Bitte geben Sie Ihre Antwort ein..."
["maxlength"]=>
string(1) "3"
["accesskey"]=>
string(0) ""
}
["arrConfiguration":protected]=>
array(37) {
["pid"]=>
string(2) "14"
["sorting"]=>
string(3) "512"
["tstamp"]=>
string(10) "1617875805"
["type"]=>
string(4) "text"
["text"]=>
NULL
["html"]=>
NULL
["options"]=>
NULL
["mandatory"]=>
bool(true)
["rgxp"]=>
string(5) "alpha"
["minlength"]=>
string(1) "2"
["size"]=>
string(23) "a:2:{i:0;i:4;i:1;i:40;}"
["multiple"]=>
string(0) ""
["mSize"]=>
string(1) "0"
["extensions"]=>
string(47) "jpg,jpeg,gif,png,pdf,doc,docx,xls,xlsx,ppt,pptx"
["storeFile"]=>
bool(false)
["uploadFolder"]=>
NULL
["useHomeDir"]=>
bool(false)
["doNotOverwrite"]=>
string(0) ""
["fsType"]=>
string(7) "fsStart"
["fSize"]=>
string(1) "0"
["customTpl"]=>
string(25) "form_textfield_reg_custom"
["slabel"]=>
string(0) ""
["imageSubmit"]=>
string(0) ""
["singleSRC"]=>
NULL
["invisible"]=>
string(0) ""
["bs_grid_parent"]=>
string(1) "0"
["bs_grid_name"]=>
string(0) ""
["bs_grid"]=>
string(1) "0"
["bs_inputGroup"]=>
string(67) "a:1:{i:0;a:2:{s:8:"position";s:6:"before";s:5:"addon";s:4:"Test";}}"
["bs_addInputGroup"]=>
string(0) ""
["controlClass"]=>
string(0) ""
["helpMessage"]=>
string(67) "| Beispiel: Wenn Sie in Köln geboren sind, dann geben Sie KÖ ein."
["mp_forms_nextFragment"]=>
string(0) ""
["mp_forms_backFragment"]=>
string(0) ""
["mp_forms_backButton"]=>
string(0) ""
["required"]=>
bool(true)
["decodeEntities"]=>
bool(true)
}
["arrOptions":protected]=>
array(0) {
}
["objDca":protected]=>
NULL
["arrCache":protected]=>
array(0) {
}
["arrObjects":protected]=>
array(1) {
["Config"]=>
object(Contao\Config)#188 (6) {
["Files":protected]=>
NULL
["strTop":protected]=>
string(0) ""
["strBottom":protected]=>
string(0) ""
["blnIsModified":protected]=>
bool(false)
["arrData":protected]=>
array(0) {
}
["arrCache":protected]=>
array(0) {
}
}
}
["strParent":protected]=>
NULL
["strDefault":protected]=>
NULL
["strFormat":protected]=>
string(5) "html5"
["strTagEnding":protected]=>
string(1) ">"
["arrBlocks":protected]=>
array(0) {
}
["arrBlockNames":protected]=>
array(0) {
}
["intBufferLevel":protected]=>
int(0)
}
$formData:
PHP-Code:
array(22) {
["id"]=>
string(2) "14"
["tstamp"]=>
string(10) "1618223409"
["title"]=>
string(22) "Form Registration [DE]"
["alias"]=>
string(17) "form-registration"
["jumpTo"]=>
string(2) "39"
["sendViaEmail"]=>
string(0) ""
["recipient"]=>
string(42) "..."
["subject"]=>
string(23) "Contact Form"
["format"]=>
string(3) "raw"
["skipEmpty"]=>
string(0) ""
["storeValues"]=>
string(1) "1"
["targetTable"]=>
string(9) "tl_member"
["customTpl"]=>
string(19) "form_wrapper_custom"
["method"]=>
string(4) "POST"
["novalidate"]=>
string(1) "1"
["attributes"]=>
string(47) "a:2:{i:0;s:18:"tl_registration_21";i:1;s:0:"";}"
["formID"]=>
string(18) "tl_registration_21"
["allowTags"]=>
string(0) ""
["formLayout"]=>
string(1) "6"
["mp_forms_nextFragment"]=>
string(0) ""
["mp_forms_backFragment"]=>
string(0) ""
["mp_forms_getParam"]=>
string(7) "schritt"
}
array(27) {
["id"]=>
string(2) "14"
["tstamp"]=>
string(10) "1618223409"
["title"]=>
string(22) "Form Registration [DE]"
["alias"]=>
string(17) "form-registration"
["jumpTo"]=>
string(2) "39"
["sendViaEmail"]=>
string(0) ""
["recipient"]=>
string(42) "..."
["subject"]=>
string(23) "Contact Form"
["format"]=>
string(3) "raw"
["skipEmpty"]=>
string(0) ""
["storeValues"]=>
string(1) "1"
["targetTable"]=>
string(9) "tl_member"
["customTpl"]=>
string(19) "form_wrapper_custom"
["method"]=>
string(4) "POST"
["novalidate"]=>
string(1) "1"
["attributes"]=>
string(47) "a:2:{i:0;s:18:"tl_registration_21";i:1;s:0:"";}"
["formID"]=>
string(18) "tl_registration_21"
["allowTags"]=>
string(0) ""
["formLayout"]=>
string(1) "6"
["mp_forms_nextFragment"]=>
string(0) ""
["mp_forms_backFragment"]=>
string(0) ""
["mp_forms_getParam"]=>
string(7) "schritt"
["cssID"]=>
array(1) {
[1]=>
string(17) "registration-form"
}
["typePrefix"]=>
string(3) "ce_"
["headline"]=>
string(0) ""
["hl"]=>
string(2) "h1"
["Template"]=>
object(Contao\FrontendTemplate)#577 (14) {
["blnCheckRequest":protected]=>
bool(false)
["strBuffer":protected]=>
NULL
["strContentType":protected]=>
string(9) "text/html"
["arrData":protected]=>
array(30) {
["id"]=>
string(2) "14"
["tstamp"]=>
string(10) "1618223409"
["title"]=>
string(22) "Form Registration [DE]"
["alias"]=>
string(17) "form-registration"
["jumpTo"]=>
string(2) "39"
["sendViaEmail"]=>
string(0) ""
["recipient"]=>
string(42) "..."
["subject"]=>
string(23) "Contact Form"
["format"]=>
string(3) "raw"
["skipEmpty"]=>
string(0) ""
["storeValues"]=>
string(1) "1"
["targetTable"]=>
string(9) "tl_member"
["customTpl"]=>
string(19) "form_wrapper_custom"
["method"]=>
string(4) "post"
["novalidate"]=>
string(1) "1"
["attributes"]=>
string(47) "a:2:{i:0;s:18:"tl_registration_21";i:1;s:0:"";}"
["formID"]=>
string(18) "tl_registration_21"
["allowTags"]=>
string(0) ""
["formLayout"]=>
string(1) "6"
["mp_forms_nextFragment"]=>
string(0) ""
["mp_forms_backFragment"]=>
string(0) ""
["mp_forms_getParam"]=>
string(7) "schritt"
["cssID"]=>
array(1) {
[1]=>
string(17) "registration-form"
}
["typePrefix"]=>
string(3) "ce_"
["headline"]=>
string(0) ""
["hl"]=>
string(2) "h1"
["Template"]=>
*RECURSION*
["fields"]=>
string(2806) "
{{file::j_tooltip.html5}}
Pflichtfeld
Bitte geben Sie die ersten drei Buchstaben des offiziellen Vornamens Ihrer Mutter an:
ss
nicht ihr Spitzname
Pflichtfeld
Bitte geben Sie den Tag Ihrer Geburt an:
11
Pflichtfeld
Bitte geben Sie die Anzahl Ihrer biologischen Geschwister an:
11
einschließlich Halbgeschwister und verstorbener Geschwister
"
["hidden"]=>
string(0) ""
["formSubmit"]=>
string(23) "auto_tl_registration_21"
}
["arrCache":protected]=>
array(0) {
}
["arrObjects":protected]=>
array(1) {
["Config"]=>
object(Contao\Config)#188 (6) {
["Files":protected]=>
NULL
["strTop":protected]=>
string(0) ""
["strBottom":protected]=>
string(0) ""
["blnIsModified":protected]=>
bool(false)
["arrData":protected]=>
array(0) {
}
["arrCache":protected]=>
array(0) {
}
}
}
["strTemplate":protected]=>
string(19) "form_wrapper_custom"
["strParent":protected]=>
NULL
["strDefault":protected]=>
NULL
["strFormat":protected]=>
string(5) "html5"
["strTagEnding":protected]=>
string(1) ">"
["arrBlocks":protected]=>
array(0) {
}
["arrBlockNames":protected]=>
array(0) {
}
["intBufferLevel":protected]=>
int(0)
}
}
Lesezeichen