Path: csiph.com!feeder.erje.net!1.eu.feeder.erje.net!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Thomas 'PointedEars' Lahn Newsgroups: comp.lang.javascript Subject: Re: How fetch data from form for javascript screening Date: Thu, 14 Jul 2016 01:07:16 +0200 Organization: PointedEars Software (PES) Lines: 86 Message-ID: <3058916.iIbC2pHGDl@PointedEars.de> References: <7944450.CDJkKcVGEf@PointedEars.de> <1692390.PYKUYFuaPT@PointedEars.de> Reply-To: Thomas 'PointedEars' Lahn Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8Bit X-Trace: solani.org 1468451237 30955 eJwFwQEBwDAIAzBNjNKBHMqHfwlPwmmcCwYRG/vYuWtwm9FkJXI/01GXGiW0PWeIt1Xc8wMydRHH (13 Jul 2016 23:07:17 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Wed, 13 Jul 2016 23:07:17 +0000 (UTC) User-Agent: KNode/4.14.2 X-User-ID: eJwFwYEBwDAEBMCV0HgxDh/2H6F3/kHBOHAcX98+tTPa0VMv4/GmcRS6yy4YMA3RlJdWtQFxmhftfpeZ8gOPpBZU Cancel-Lock: sha1:ujNSzokMagw5Ld2O78+zBjaBOfI= X-NNTP-Posting-Host: eJwFwYERgDAIA8CV6BkCGYcq2X8E//Ph4VtgEun04KrRCxbTXSVEaexZmYQ+ndCNXgI9+QMOjxB6 Xref: csiph.com comp.lang.javascript:30857 Robert Baer wrote: > Thomas 'PointedEars' Lahn wrote: >> Robert Baer wrote: >>> Thomas 'PointedEars' Lahn wrote: >>>> Robert Baer wrote: >>>>> tstE= EBody[subjptr]; >>>> 1. Assignment to undeclared identifier. >>>> […] >>> * Well,the assignment does that. >> >> Does what? > * The assignment declares the identifier. No, it does not. How did you get that idea? >>> Note: input type="email"; the browser must be doing the checking for >>> an "@" sign - input must be like x@x and not xxx. >> >> The rules are considerably more complex than that, and you may want to >> use your own validator instead since the built-in rules are too >> restrictive (and work only in HTML5 user agents anyway). > * 1) The code i am building on is all HTML5. That does not mean that HTML5 features are supported by the used Web browser. I remember vividly that someone in this thread wanted to support IE down to version 6… > 2) i plan to add more restrictive rules as checking for an "@" only > is rather lame. If you use the built-in validation, you will have more than a check for “@” (in HTML5-capable user agents). But AISB, it might be too restrictive for your use case. RTFSpec. > 3) if that has more rules, nobody is talking. What do you mean by that? > * I tried SIX other schemes from "references" as read in "free" > documentation, and NONE work. Only because you have used them in the wrong way. > None of those said anything about "basics". You must be kidding. >>> that reading from a multi-line field/block is done by a set (array) of >>> elements. >> >> This has nothing to do with whether the field is multi-line (i.e. is a >> textarea). What “block” are you talking about? > * The box i see; a block of character space. That *is* a _textarea_, generated by the “textarea” element in your markup. (Again, *HTML* basics. You *really* need to *learn* HTML before you can use client-side scripting on HTML documents. We all had to do that and have done it. Trust me, there is no viable shortcut.) >>> but the change will not fix the rest of the >>> problems. >> >> The main problem is that you do not have the slightest clue what you are >> doing or talking about, and you appear to be unwilling to make an effort >> changing that. > > * Effort? Spending many hours,working with "examples" of code said to > work? > Even tho the result is zilch, the effort is a lot. > Got frustrated and asked for help. Well, you have copypasted something and ran that, but you are just reporting the problems with what you copypasted; you are still not making a *sincere* effort in *understanding* what you are doing, and so you are not assisting us in helping you. You appear to be waiting for a complete solution falling out of the sky instead, and that is not going to happen – not least because all our crystal balls are currently on vacation. Your postings are hard to read. Please read the FAQ on posting, too. -- PointedEars FAQ: | SVN: Twitter: @PointedEars2 | ES Matrix: Please do not cc me. / Bitte keine Kopien per E-Mail.