I am starting a new thread (from thread329-868542) in the hopes that someone may be able to help me.
I am using a vbscript to make the user enter a number in an input box when the page loads. i then need that number in a hidden field to be processed by another program when the user hits submit. i cannot but another button in there as the user will not press it. i would rather automate it. The code sits in the window_onload event, and it gives me the object required error. when i try it isolated and as a test, it works, but will not with the rest of the code (so therefore i know it isn't because the rest of the page has not processed).
But i am guessing a way to fix it is to run two actions from the submit button. right now it calls the "form action post". is there a way to make it process vbscript then call the "form action post" from a sub in vbscript?? or does anyone know a better solution???
I am using a vbscript to make the user enter a number in an input box when the page loads. i then need that number in a hidden field to be processed by another program when the user hits submit. i cannot but another button in there as the user will not press it. i would rather automate it. The code sits in the window_onload event, and it gives me the object required error. when i try it isolated and as a test, it works, but will not with the rest of the code (so therefore i know it isn't because the rest of the page has not processed).
But i am guessing a way to fix it is to run two actions from the submit button. right now it calls the "form action post". is there a way to make it process vbscript then call the "form action post" from a sub in vbscript?? or does anyone know a better solution???