Re: Autoreturn Submit?

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 14436
interpreted = N
texte = Kevin Furuta wrote:> There are cgis outthere that automatically submit a form when pressing > return after the last field is entered.I've got a frame with a single form on it. In Netscape Communicator on MacOS the return key defaults to the submit button. I've got different text on the button than 'submit' so that doesn't matter.It seems to me that the only thing preventing the return key from submitting would be improper closure of the form, of the form is improperly nested in a table and the table is not properly closed, or possibly if there are multiple forms on the page.I'm not sure about other browsers and I haven't had time to test this without frames. But at least there's hope.I've had funky experiences with JavaScript such as script failing after the browser window is resized really bug me, so hopefully the default already exists.Pat McCormick Associated Messages, from the most recent to the oldest:

    
Kevin Furuta wrote:> There are cgis outthere that automatically submit a form when pressing > return after the last field is entered.I've got a frame with a single form on it. In Netscape Communicator on MacOS the return key defaults to the submit button. I've got different text on the button than 'submit' so that doesn't matter.It seems to me that the only thing preventing the return key from submitting would be improper closure of the form, of the form is improperly nested in a table and the table is not properly closed, or possibly if there are multiple forms on the page.I'm not sure about other browsers and I haven't had time to test this without frames. But at least there's hope.I've had funky experiences with JavaScript such as script failing after the browser window is resized really bug me, so hopefully the default already exists.Pat McCormick Pat McCormick

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

WebMerchant Error (1998) MySQL and Decimals (2004) WebCatalog for Postcards ? (1997) WebCatalog Technical Reference (1997) ErrorMessages.db (2004) RE: creating writefile data from a nested search (1997) Am on the list? (1997) Grouping search fields, etc. (1997) RE:It just Does't add up!!! (1997) WebCat2 - Getting to the browser's username/password data (1997) Question about searching combination of fields (2003) WebCat editing, SiteGuard WAS:SiteAssociative lookup style? (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) Unix Guide (2004) Random sort is not random at all..... (2000) Formulas.db + Users.db (1997) WebCat2b15MacPlugin - [protect] (1997) oops private message leaked into talk list (1997) Field name-subcategory (1997) Security for malls with different webmasters (1998)