Jump to content

Prevent form submission until all calculated values load


Recommended Posts

I have a submission form with three virtual fields. Two of those three virtual fields are calculated values. I'm having an issue where if someone hits 'enter' or 'submit' before those virtual fields calculate, nothing happens. I need to ensure the two calculated value fields load before the form can be submitted. 

Can anyone help provide javascript to help? Thanks in advance.

Link to comment
Share on other sites

Can I have a better look at your workflow? Sample Page, or screenshots?

 

Are these fields calculating as soon as the DataPage load, or after you input some values on other fields? 

What values are you expecting for these fields to have, do they have a CONSTANT condition, like, they always have greater than 5 value, so you may use that for the condition on the JavaScript?

Lastly, what are you using these virtual fields for? These do not get saved in the table, are you passing this as an On Exit parameter?

Link to comment
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
Reply to this topic...

×   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...