[Seaside] onKeyUp: -> do check and enable button
maxleske at gmail.com
Wed Jul 10 09:03:32 UTC 2013
We use some similar code. I simply copied it from our productive environment, so you'll have to figure out the details for yourself :)
#customOrderCountChangedOn: basicly answers the script I pasted second.
onKeyUp: (self customOrderCountChangedOn: html).
callback: [ :script | self updateSideContainerOn: script ];
value: (html formElement id: id) value;
HTH (ask again if you're having troubles),
On 10.07.2013, at 10:35, Sabine Knöfel <sabine.knoefel at gmail.com> wrote:
> 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: ????
> 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
More information about the seaside