faqts : Computers : Programming : Languages : JavaScript : Forms

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

29 of 59 people (49%) answered Yes
Recently 4 of 10 people (40%) answered Yes

Entry

Can I retain form values when submitting to its self?

Apr 26th, 2002 06:40
Neil Hardie, John Uhler,


One solution is to submit to a hidden frame or iframe by setting the 
form's TARGET
e.g
<form action="submit.htm" target="myframe">
In this way your partially-filled form will remain intact, because it 
is not being replaced by the "action" page.