Skip to main content
Inspiring
February 25, 2019
Question

Values Not Immediately Updating When Function is Called From Custom Validation Script

  • February 25, 2019
  • 1 reply
  • 502 views

I have an extensive script, DoSummary(), which when called from a Mouse Down event works fine - all fields are updated as expected. However, when the function is called from the custom validation script from any of my form's text fields and drop-downs, the fields to be updated by DoSummary() are not changed - instead, they change AFTER another change is made to one of the fields. I have checked and enabled all of the 'Commit Selected Value Immediately' for the drop-downs, but no help. Basically, the Summary Page of this document is constructed by DoSummary() using a loop (for six identical records). All non-empty or non-blank fields are counted, with some being summed and averaged. Again, if DoSummary() is called from a mouse up event of a button, all is fine. But, when calling the same function from the validate's custom script, the behavior delayed.

I hope this is explicit and detailed enough. If there is other information needed, please post.

Thank you,

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
February 25, 2019

Could you share the file with us, or at least the full code of this function?