validations in XML

Posted by charan on Stack Overflow See other posts from Stack Overflow or by charan
Published on 2010-06-17T03:32:52Z Indexed on 2010/06/17 3:43 UTC
Read the original article Hit count: 228

Filed under:

hi all.. i have a address.java file with a textField as PostCode. in that only number should accepted. if i try to enter characters in that it sould popup a message. these validation must be done in address.xml file only i tried by giving the validation as

           <testcase>  
                <messageType>error</messageType>
                <validationType>isDigit</validationType>      
                <validationRule>5</validationRule>     
            </testcase>

but its not working. plz anybody can help me in solving this

© Stack Overflow or respective owner

Related posts about Xml