cancel
Showing results for 
Search instead for 
Did you mean: 
Workflow Hero

Invalid postback or callback argument. Event validation is enabled using

Hello,

I've tried to add options to dropdown list with choice controller in nintex form using jquery, but when I tried to submit the form I've got this exception:

Invalid postback or callback argument.  Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page.  For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them.  If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.

I understand what the problem is, but I couldn't find how to solve this, I mean how to disable Event validation, or how to register the new added options in the dropdown.

Any help will be appreciated.

Thanks

Reply
14 Replies
Workflow Hero

Re: Invalid postback or callback argument. Event validation is enabled using

I tried to do it with list lookup, but the problem was that the values added by jquery was lost when I submitted the form, any ideas??

0 Kudos
Accept as Solution Reply
Workflow Hero

Re: Invalid postback or callback argument. Event validation is enabled using

Omar Taha
Remove the white spaces for all the drop down lists within Nintex form. I had exactly same issue and found that Drop down fields has white spaces. I removed all drop down lists within Nintex form and it worked. 

Try if it works ..

Accept as Solution Reply
Workflow Hero

Re: Invalid postback or callback argument. Event validation is enabled using

In my case, I was manipulating list lookup controller options using javascript, and that was making my problem. I figured this after one week of searching for my problem  

Thanks ‌ for your reply.

Accept as Solution Reply
Workflow Hero

Re: Invalid postback or callback argument. Event validation is enabled using

Hello,

i have the same issue, did you find a solution?

Thanks

Accept as Solution Reply
Workflow Hero

Re: Invalid postback or callback argument.  Event validation is enabled using

Amine Charraqua‌ 

At times there could a couple a white spaces in Drop Down spaces in your unbound fields within the form.
Remove the white spaces for all the drop down lists within Nintex form and it should work. 

Accept as Solution Reply
Workflow Hero

Re: Invalid postback or callback argument. Event validation is enabled using

Could you please elaborate your suggestion, removing white spaces in where? 

Accept as Solution Reply
Workflow Hero

Re: Invalid postback or callback argument. Event validation is enabled using

Hi All, 

I found the same issue.. I am dynamically preparing the dropdown values and while appending the final text to the dropdown there was a space. After removing the space i did not observe any error.

0 Kudos
Accept as Solution Reply
Workflow Hero

Re: Invalid postback or callback argument. Event validation is enabled using

I second ‌'s comment: what white space are you talking about? From the option text? That would make my options hard for the user to read. Please elaborate.

Accept as Solution Reply
Workflow Hero

Re: Invalid postback or callback argument. Event validation is enabled using

Was this ever solved?

I'm having the exact same issue, but I'm not sure what it's meant by 'remove the white space'.

Where do I remove the space?




SharePoint 2013 On-Prem | Nintex Forms & Workflow Enterprise
0 Kudos
Accept as Solution Reply