Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #30857

Re: How fetch data from form for javascript screening

From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Newsgroups comp.lang.javascript
Subject Re: How fetch data from form for javascript screening
Date 2016-07-14 01:07 +0200
Organization PointedEars Software (PES)
Message-ID <3058916.iIbC2pHGDl@PointedEars.de> (permalink)
References <ti0hz.37337$Z95.7322@fx29.iad> <7944450.CDJkKcVGEf@PointedEars.de> <Itdhz.1$uD.0@fx17.iad> <1692390.PYKUYFuaPT@PointedEars.de> <P8hhz.310$WL3.241@fx33.iad>

Show all headers | View raw


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: <http://PointedEars.de/faq> | SVN: <http://PointedEars.de/wsvn/>
Twitter: @PointedEars2 | ES Matrix: <http://PointedEars.de/es-matrix>
Please do not cc me. / Bitte keine Kopien per E-Mail.

Back to comp.lang.javascript | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

How fetch data from form for javascript screening Robert Baer <robertbaer@localnet.com> - 2016-07-11 22:41 -0800
  Re: How fetch data from form for javascript screening Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-07-12 11:38 +0200
    Re: How fetch data from form for javascript screening "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-07-12 11:50 +0200
      Re: How fetch data from form for javascript screening Robert Baer <robertbaer@localnet.com> - 2016-07-12 13:50 -0800
        Re: How fetch data from form for javascript screening "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-07-13 00:09 +0200
          Re: How fetch data from form for javascript screening Robert Baer <robertbaer@localnet.com> - 2016-07-12 17:27 -0800
        Re: How fetch data from form for javascript screening Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-07-13 01:15 +0200
          Re: How fetch data from form for javascript screening Robert Baer <robertbaer@localnet.com> - 2016-07-12 18:53 -0800
            Re: How fetch data from form for javascript screening Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-07-13 18:03 +0200
              Re: How fetch data from form for javascript screening Robert Baer <robertbaer@localnet.com> - 2016-07-14 00:16 -0800
                Re: How fetch data from form for javascript screening Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-07-14 23:40 +0200
    Re: How fetch data from form for javascript screening Robert Baer <robertbaer@localnet.com> - 2016-07-12 13:40 -0800
      Re: How fetch data from form for javascript screening Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-07-13 01:09 +0200
        Re: How fetch data from form for javascript screening Robert Baer <robertbaer@localnet.com> - 2016-07-12 17:51 -0800
          Re: How fetch data from form for javascript screening Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-07-14 01:07 +0200
  Re: How fetch data from form for javascript screening "Christoph M. Becker" <cmbecker69@arcor.de> - 2016-07-13 14:30 +0200
    Re: How fetch data from form for javascript screening Robert Baer <robertbaer@localnet.com> - 2016-07-13 23:56 -0800
      Re: How fetch data from form for javascript screening Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-07-15 11:32 +0200

csiph-web