Jump to content
  • 0

Keep the value in the fields after submitting form with validation errors


Question

Hi All,  

We have a form that uses both external parameters [@cid] and also has a required field [@field:Bravo]. When the form loads it receives the external parameter and loads it into [@field:Alpha] successfully, but if the user doesn't fill out the required [@field:Bravo] before hitting the submit button, then the page refreshes and [@field:Alpha] loses the value.   

I've tried configuring both the "on load" and "on exit" of [@field:Alpha] to be the same External Parameter [@cid] thinking that after a user submits and the page refreshes due to the validation error, it would throw and catch back the [@cid]  but this doesn't work.  

Any suggestions?

Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hello @Elderberg,

I created a simple submission form on my end. I enabled the Onload parameter for one field and make the other field required. Upon loading, the field successfully received the parameter. After I hit the submit button without filling up the required field, the parameter still remains. I wasn't able to replicate the said issue on my end. 

image.png.14185cc74bd54eadfaf02dd2310d9538.png

For troubleshooting, you can:

1) Clear the cache of your browser or use other browser instead.

2) Check if the AJAX loading is disabled. 

3) Check of you have custom script in that DataPage.

 

Hope this helps! :)

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...