Skip to content

Instantly share code, notes, and snippets.

@phil-lgr
Created August 24, 2021 20:00
Show Gist options
  • Save phil-lgr/26e4c37c144a73cd2517774e69646770 to your computer and use it in GitHub Desktop.
Save phil-lgr/26e4c37c144a73cd2517774e69646770 to your computer and use it in GitHub Desktop.
error-response-jnj-sign-up
{
"action": "Account-SubmitRegistration",
"queryString": "rurl=1",
"locale": "en_CA",
"list": null,
"firstName": "Philippe",
"lastName": "Leger",
"phone": null,
"email": "pleger2@gmail.com",
"emailConfirm": "pleger2@gmail.com",
"validForm": false,
"form": {
"valid": true,
"htmlName": "dwfrm_profile",
"dynamicHtmlName": "dwfrm_profile_d0aerdkokneh",
"error": null,
"attributes": "name = \"dwfrm_profile\" id = \"dwfrm_profile\"",
"formType": "formGroup",
"customer": {
"valid": true,
"htmlName": "dwfrm_profile_customer",
"dynamicHtmlName": "dwfrm_profile_customer_d0drbxbrqdip",
"error": null,
"attributes": "name = \"dwfrm_profile_customer\" id = \"dwfrm_profile_customer\"",
"formType": "formGroup",
"firstname": {
"mandatory": true,
"dynamicHtmlName": "dwfrm_profile_customer_firstname_d0qxplzccboe",
"htmlName": "dwfrm_profile_customer_firstname",
"valid": true,
"label": "First Name",
"maxLength": 50,
"minLength": 0,
"regEx": null,
"formType": "formField"
},
"lastname": {
"mandatory": true,
"dynamicHtmlName": "dwfrm_profile_customer_lastname_d0qfazphnznx",
"htmlName": "dwfrm_profile_customer_lastname",
"valid": true,
"label": "Last Name",
"maxLength": 50,
"minLength": 0,
"regEx": null,
"formType": "formField"
},
"email": {
"mandatory": true,
"dynamicHtmlName": "dwfrm_profile_customer_email_d0pqabuoosng",
"htmlName": "dwfrm_profile_customer_email",
"valid": false,
"label": "Email",
"maxLength": 50,
"minLength": 0,
"regEx": "^[\\w.%+-]+@[\\w.-]+\\.[\\w]{2,6}$",
"formType": "formField",
"error": "Username is invalid."
},
"emailconfirm": {
"mandatory": true,
"dynamicHtmlName": "dwfrm_profile_customer_emailconfirm_d0lshtjashsx",
"htmlName": "dwfrm_profile_customer_emailconfirm",
"valid": false,
"label": "Confirm Email",
"maxLength": 50,
"minLength": 0,
"regEx": "^[\\w.%+-]+@[\\w.-]+\\.[\\w]{2,6}$",
"formType": "formField"
},
"phone": {
"mandatory": true,
"dynamicHtmlName": "dwfrm_profile_customer_phone_d0hpoqbonpga",
"htmlName": "dwfrm_profile_customer_phone",
"valid": true,
"label": "Phone",
"maxLength": 2147483647,
"minLength": 0,
"regEx": "^\\(?([2-9][0-8][0-9])\\)?[\\-\\. ]?([2-9][0-9]{2})[\\-\\. ]?([0-9]{4})(\\s*x[0-9]+)?$",
"formType": "formField"
},
"addtoemaillist": {
"mandatory": "",
"dynamicHtmlName": "dwfrm_profile_customer_addtoemaillist_d0nlekyzuvpy",
"htmlName": "dwfrm_profile_customer_addtoemaillist",
"valid": true,
"label": "Please add me to Commerce Cloud email list.",
"checked": false,
"selected": false,
"formType": "formField"
}
},
"login": {
"valid": true,
"htmlName": "dwfrm_profile_login",
"dynamicHtmlName": "dwfrm_profile_login_d0kwgqhlnusb",
"error": null,
"attributes": "name = \"dwfrm_profile_login\" id = \"dwfrm_profile_login\"",
"formType": "formGroup",
"password": {
"mandatory": true,
"dynamicHtmlName": "dwfrm_profile_login_password_d0srszfdxqwz",
"htmlName": "dwfrm_profile_login_password",
"valid": true,
"label": "Password",
"maxLength": 255,
"minLength": 8,
"regEx": null,
"formType": "formField"
},
"passwordconfirm": {
"mandatory": true,
"dynamicHtmlName": "dwfrm_profile_login_passwordconfirm_d0wbygfnyuud",
"htmlName": "dwfrm_profile_login_passwordconfirm",
"valid": true,
"label": "Confirm Password",
"maxLength": 255,
"minLength": 8,
"regEx": null,
"formType": "formField"
},
"currentpassword": {
"mandatory": true,
"dynamicHtmlName": "dwfrm_profile_login_currentpassword_d0nmboiuvgom",
"htmlName": "dwfrm_profile_login_currentpassword",
"valid": true,
"label": "Current Password",
"maxLength": 255,
"minLength": 8,
"regEx": null,
"formType": "formField"
},
"newpasswords": {
"valid": true,
"htmlName": "dwfrm_profile_login_newpasswords",
"dynamicHtmlName": "dwfrm_profile_login_newpasswords_d0hyfgknhdli",
"error": null,
"attributes": "name = \"dwfrm_profile_login_newpasswords\" id = \"dwfrm_profile_login_newpasswords\"",
"formType": "formGroup",
"newpassword": {
"mandatory": true,
"dynamicHtmlName": "dwfrm_profile_login_newpasswords_newpassword_d0nidqqgnswm",
"htmlName": "dwfrm_profile_login_newpasswords_newpassword",
"valid": true,
"label": "New Password",
"maxLength": 255,
"minLength": 8,
"regEx": null,
"formType": "formField"
},
"newpasswordconfirm": {
"mandatory": true,
"dynamicHtmlName": "dwfrm_profile_login_newpasswords_newpasswordconfirm_d0kqstxbewje",
"htmlName": "dwfrm_profile_login_newpasswords_newpasswordconfirm",
"valid": true,
"label": "Confirm New Password",
"maxLength": 255,
"minLength": 8,
"regEx": null,
"formType": "formField"
}
}
},
"base": {}
},
"fields": {
"dwfrm_profile_customer_email": "Username is invalid."
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment