Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #18578
| From | "Jukka K. Korpela" <jkorpela@cs.tut.fi> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: form.ssubmit() nor submitting all the elements |
| Date | 2013-02-20 09:31 +0200 |
| Organization | A noiseless patient Spider |
| Message-ID | <kg1u2d$c3m$1@dont-email.me> (permalink) |
| References | <b3164766-a485-4079-ab3d-07bdc566cdc4@googlegroups.com> |
2013-02-20 8:51, cerr wrote: > I havwe a form at http://www.quaaoutlodge.com/mobile/book.html but > upon hitting "Check nowww" for some reason not all the forms esp > 'name' and 'contact_num' are not submitted, why not I'm wondering.../ Those input elements lack the name="..." attribute. By HTML specs, only controls that have the name attribute can be "successful", i.e. contribute to the form data set. So change e.g. <input id="name" size="10"> to <input id="name" name="name" size="10"> Many people have misunderstood statements about the name attribute being deprecated. In HTML 4, it is deprecated for img and form elements. But not for controls like input, where it constitutes an essential part of functionality. -- Yucca, http://www.cs.tut.fi/~jkorpela/
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
form.ssubmit() nor submitting all the elements cerr <ron.eggler@gmail.com> - 2013-02-19 22:51 -0800
Re: form.ssubmit() nor submitting all the elements "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2013-02-20 09:31 +0200
Re: form.ssubmit() nor submitting all the elements cerr <ron.eggler@gmail.com> - 2013-02-20 06:54 -0800
csiph-web