0

Server side validation

asked 2011-04-05 06:51:53 +0800

zedkey gravatar image zedkey
138 1 1 3

Hi,

Could someone point me to a good example for the following problem:

1) user asked for a user name.
2) user enters a name and as the focus changes (or maybe after a pause in typing) the value is passed over to server side where a check is done to see for example if it is free to take
3) the result is shown on screen

Thanks
Z

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2011-04-05 08:20:56 +0800

mjablonski gravatar image mjablonski
1284 3 5
http://www.jease.org/

Hi,

you could listen to a combination of onChanging- and/or onBlur-Event:

<grid width="100%">
	<rows>
		<row>onChanging textbox: <textbox id="t1" onBlur="alert(t1.value)" onChanging="copy.value = event.value"/></row>
		<row>instant copy: <textbox id="copy" readonly="true"/></row>
	</rows>
</grid>

Cheers, Maik

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2011-04-05 06:51:53 +0800

Seen: 355 times

Last updated: Apr 05 '11

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More