-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3729548
By: nobody
I have a custom constraint set on an input field which raises an error if the value of the field is 0.00
This is working fine when I call setValue as this function internally calls the validation
But I also want to be able to set a value directly without invoking the validation.
The method setRawValue is protected which means i will need to derive the component class. Can we not make this public? Otherwise I will need to derive all the input fields just for using one function !!
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3730299
By: henrichen
Please post to Feature-Request, we can discuss it there? Why do you need this?
/henri
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3730406
By: nobody
Two reasons for this
1. I want to be able to set some initial values for fields so for e.g. if its a decimalbox I want to set it to 0.00 but when the user enters the field I want the user to enter a value > 0.00
2. Also some of the fields are active fields such that in the onBlur event other fields get updated and if those fields are set to 0.00 I don't want the validation message popping up because the user has not entered the field yet
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3730434
By: henrichen
It looks the two good reasons. Basicly, we want to give the developer a freedom to avoid field validation in some cases.
Then, please post to Feature-Request. (Remember to copy those two reasons there, too :))
/henri
Asked: 2006-05-14 11:49:47 +0800
Seen: 168 times
Last updated: May 15 '06