I have a datapage that is a submission form. There is a calculated field called "balance". I am trying to come up with a solution that will hide the "submit" button when the value in the "balance" field is a negative number. My goal is to keep a user from submitting the form if the balance is below zero. Any help would be greatly appreciated. Thanks
Can you point me to the forum post where I've provided this code, please?
And you can also provide us the direct URL of the DataPage that you are currently working so that we can make the necessary adjustment to make the code work.
I'm guessing that we just need to update the this line 'var amount = document.getElementsByName('Virtual2')[Invalid].value;'