| Author |
What is the difference between required and requiredstring validator classes
|
MaheshS Kumbhar
Ranch Hand
Joined: Sep 24, 2009
Posts: 188
|
|
|
What is the difference between required and requiredstring validator classes while using them for validating form fields?
|
I am slow but sure
|
 |
Ankit Garg
Saloon Keeper
Joined: Aug 03, 2008
Posts: 9191
|
|
|
required validator only checks that the request parameter exists i.e. its not null. It will allow empty value but the required string validator checks that the parameter is not only present, but its value should not be blank...
|
SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
|
 |
 |
|
|
subject: What is the difference between required and requiredstring validator classes
|
|
|