I am new to Java, please can someone confirm that the following would work:
//Start of Java
/*
* Checks for invalid characters
* in email addresses
*/
public class EmailValidation {
public static boolean isEmailValid(String email){
boolean retval=false...
The xml that I'd like to change to to check for numbers only... no other type of characters allowed.
If date is a required field I added this field rules snippet.... but I want to change this so that I check & allow numbers only:
<FieldRules>
<PSXFieldValidationRules maxErrorsToStop="10"...
Can anyone tell help me...
We have a cms that is xsl/xml based.
We have a form that has a text area that should only allow numbers.
What do I have to add to the xml to allow 'only' numbers and not any other characters?
We have some nodes in our xml called <FieldRules> where we can prompt if...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.