0

form validation problem

asked 2009-02-16 06:13:27 +0800

usatyait gravatar image usatyait
81 1 2

Hi friends
I have a problem with the form validataion.i just want to validate all the text fields at the time of form submit but it doesn't works please any body help me...

from:-
Satya

delete flag offensive retag edit

4 Replies

Sort by ยป oldest newest

answered 2009-02-16 07:58:58 +0800

usatyait gravatar image usatyait
81 1 2

form validation problem
help me .......

link publish delete flag offensive edit

answered 2009-02-16 10:17:02 +0800

henrichen gravatar image henrichen
3869 2
ZK Team

Please provide example code...

link publish delete flag offensive edit

answered 2009-02-16 11:26:32 +0800

usatyait gravatar image usatyait
81 1 2

This is a example code :

I want that when i click the check button then the validation should be checked .


But here it show the error message before clicking the button .
how can i do ?

<window>
<textbox id="txt1" constraint="/+/"/>
<textbox id="txt2" constraint="/+/"/>
<button label="check" onClick="check();"/>

<zscript>
check()
{
txt1.getValue();
txt2.getValue();

}

</zscript>

</window>

link publish delete flag offensive edit

answered 2011-07-14 23:58:20 +0800

ajaidka gravatar image ajaidka
196 4

@usatyait Thanks. This works like charm in case u are giving out or the range values.

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: 2009-02-16 06:13:27 +0800

Seen: 514 times

Last updated: Jul 14 '11

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