I have a submit button to submit PDF to email and a script to lock fields. But I need it to validate fields first then run the Lock Fields script before submitting it to email.
The problem I'm having is I can't get it to fire in that order. It will validate then it will submit email and not lock fields or it will lock fields and not validate fields. I have place the Lock Field script in the pre, post, mouseup, mousedown, etc. I'm at a lost with this one.
Any ideas on whats wrong would be of great help.