[Seaside] onKeyUp: -> do check and enable button

Gerhard Obermann obi068 at gmail.com
Wed Jul 10 09:10:34 UTC 2013


If you need only simple validation I would try the HTML5 input.

<input type="email" name="email">

should work in most browsers

br
Gerhard


On Wed, Jul 10, 2013 at 10:35 AM, Sabine Knöfel <sabine.knoefel at gmail.com>wrote:

> Hi,
>
> in a "register new user" page, I have a textInput where I want to check the
> validity of an email address each time the user types in one character. If
> the email adress is valid, the "register" button should enable.
>
> How would you do this? Does anybody have a text snippet for me?
>
> html textInput
>         ....
>         onKeyUp: ????
>
> Sabine
>
>
>
> --
> View this message in context:
> http://forum.world.st/onKeyUp-do-check-and-enable-button-tp4698098.html
> Sent from the Seaside General mailing list archive at Nabble.com.
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20130710/db6465b4/attachment.htm


More information about the seaside mailing list