Skip to main content
Nintex Community Menu Bar

Clear form data on submit validation failure

  • July 15, 2020
  • 1 reply
  • 23 views

supratick
Forum|alt.badge.img

Hi All,

Need an urgent help.

I am new to Nintex. I am combining 2 fields inside a calculated value control, and then connecting the text to a unique field in a Sharepoint 2013 list. The idea is that if the combination exists already in the list, new entry is not allowed. The problem is, after the validation error message, when user changes the entry in one of the fields, the calculated value control doesn't change the value. It just takes the first input and that's it.

I tried to copy the dynamic change post here (https://community.nintex.com/t5/Nintex-for-SharePoint/Calculated-field-does-not-recalculate-when-value-s-change/td-p/26968), but couldn't make it work. Is there a way to completely erase all form data whenever there is such a validation failure, so that the user can select fresh values again? Or is my approach totally wrong?

Thanks a ton for your help.

1 reply

MegaJerk
Forum|alt.badge.img+14
  • Scholar
  • July 21, 2020

So, looking at that post, it would seem that the answer was to use the Named Reference value instead of the List Item values. If you did that, and it's still not working, that's incredibly odd. 

Do you have a screenshot of the form, controls, and the code that you're using (which can just be text, but a screenshot is also useful). 

The more information we have about the situation, the easier it will be to come up with a fix.