You need to sign in to do that
Don't have an account?

validate
i need the validation for the name field.it should not contain numbers and special characters.
<apex:page controoller=""s>
<apex:pageBlockSectionItem >Name:</apex:pageBlockSectionItem>
<apex:pageBlockSectionItem ><apex:inputText value="{!name}" id="name"/></apex:pageBlockSectionItem>
<apex:pageblockButtons >
<apex:commandButton value="save" action="{!find}"/>
</apex:pageblockButtons>
</apex:page>
public class S
{
public string name{get;set;}
Hey, try this code..
Hi,
Use REGEX to validate for numbers and special characters in the name field.
Regards,
Sridhar Bonagiri
If this post is your solution, kindly mark this as the solution and give Kudos.