Re: Disable Validation of a field

2011-03-17 Thread based2
http://jumpstart.doublenegative.com.au/jumpstart/examples/input/novalidationbubbles1
http://www.packtpub.com/article/user-input-validation-in-tapestry-5
http://tapestry.1045711.n5.nabble.com/Disabling-onBlur-field-validation-td2416314.html
http://tapestry.apache.org/input-validation.html
http://code.google.com/p/tapestry-validator/

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Disable-Validation-of-a-field-tp3779681p3839414.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Disable Validation of a field

2011-03-17 Thread LLTYK
Do you still use the textfield even when the checkbox is checked? If not, you
can make some js for the click event of the checkbox and simply disable the
textfield in your js. I suspect this disables validation.

--
View this message in context: 
http://tapestry-users.832.n2.nabble.com/Disable-Validation-of-a-field-tp6176353p6180363.html
Sent from the Tapestry Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Disable Validation of a field

2011-03-17 Thread gauravchopra
Yes I am using the JS to disable the field, but the tapestry validation
remains there. When i click on submit, it says that the field is required.

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Disable-Validation-of-a-field-tp3779681p3869746.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Disable Validation of a field

2011-03-17 Thread LLTYK
You can use a FormFragment to hide and disable the field. Or you can remove
the builtin required validation and manually decide whether it's required in
onValidateForm.

--
View this message in context: 
http://tapestry-users.832.n2.nabble.com/Disable-Validation-of-a-field-tp6176353p6180826.html
Sent from the Tapestry Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Disable Validation of a field

2011-03-16 Thread gauravchopra
textbox code in tml is : 

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Disable-Validation-of-a-field-tp3779681p3779790.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org