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:

    
  1. Re: Autoreturn Submit? (Pat McCormick 1997)
  2. Re: Autoreturn Submit? (Kenneth Grome 1997)
  3. Re: Autoreturn Submit? (Grant Hulbert 1997)
  4. Autoreturn Submit? (Kevin Furuta 1997)
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:

Re:Running 2 two WebCatalog.acgi's (1996) [WebDNA] Tcpconnect to UPS - Error: couldn't connect to host (2010) WebCatalog.acgi quitting with error Type 2 (1998) Re2: frames & carts (1997) Wanted: More Math Functions (or, Can You Solve This?) (1997) calculating tax rates, mail order solutions and version 2 (1997) [accountNum] and [math] (1997) Plugin or CGI or both (1997) WebMerchant Error (1998) Autonumber (2003) How to set suffix mapping on IIS 5.1 ... (2004) WC Database Format (1997) [quantity] within formulas (1997) Simple form with picture upload (2005) BBEdit WedDNA Codeless Language Module (2004) WebSTAR 2.1 freezes my Mac (1997) OT: Google (2002) Confusing [protect] (long) (1999) problems with 2 tags shakur (1997) [WebDNA] Quick sort/results grouping Q (2008)