PDA

View Full Version : can a form submit itself without user click?


smanning
04-14-2004, 10:11 PM
Is there any way to make a form submit itself without requiring the user to take any action?

Thanks for any advice.

:confused:

ecnarongi
04-14-2004, 10:36 PM
yes, you can submit a form onload.

miranda
04-15-2004, 07:44 AM
using a client side javascript you can also have a form submittal onChange (like in a dropdown list), as well as onBlur or even onFocus on another form item.

raf
04-15-2004, 09:44 AM
I fail to see the point to send a form to the user and then submit it back to the server without the user doing any action.
You can just as well use a server.transfer and skip the clientside part.

miranda
04-15-2004, 06:04 PM
Raf makes a good point. If the user is not filling out a field or making a selection from a drop down list why would you want to submit the form?

smanning
04-15-2004, 10:47 PM
I looked up server.transfer and it appears to do exactly what I need! Thanks.

raf
04-15-2004, 11:08 PM
You'e welcome! Glad it helped.