You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

AAQ page shows error on submit even though data is passed correctly

Accepted answer
edited Oct 3, 2018 12:51PM in Customer Portal 1 comment


When I submit my AAQ page, I get the following error message as response:

"Not Allowed: Cannot be set to Nil/NULL; Contact.Emails[0].Address"

I checked the form data parameters being sent to "ci/AjaxRequest/sendForm" endpoint and I found that email address was being passed as expected but not sure why it's coming out as empty on the server side even though the email address field on the form is using the standard "input/FormInput" widget with name attribute as "Contact.Emails.PRIMARY.Address" (screenshot attached)

Any idea what could be going wrong here?

For the record, there are a couple of custom widgets that extend from the standard input/TextInput field, but the email address is using the out-of-the-box widget. So I don't think the custom widgets (which are not overriding the controller and view) are the cause of the problem.

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!