I have a form with several fields. If I enter data into a field and then push a button I have a script on, the value of the field I changed is not updated until AFTER the script runs.
So if I have a Text Field(text1) with a value of 99 and I change it to 100 then push my button. Even though I see 100 on the screen, the value returned from this.getField("text1").value in the button javascript is still returns the old value of 99. The second time I push the button, I will get a result of 100.
How do I force that all the fields values are updated to what is visible on the screen BEFORE the script runs or at the beginning of the script running so it is correct by the time it hits the this.getField("text1").value?
Please help.
Thanks,
Marcus
George Kaiser