function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
vicky2489vicky2489 

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;}

}