hi vinod
rAre
uyou doing this job in asp.net or c#.net .......
i hope that in asp.net
By using requiredfield validator we will achive this problem
<asp:TextBox ID="txtDate" runat="server"></asp:TextBox>
<asp:RegularExpressionValidator ID="revDTTest" runat="server" ControlToValidate="txtDate" ForeColor="Red"
ErrorMessage="Enter Valid Date in dd/mm/yyyy format." SetFocusOnError="True" Display="Dynamic"
ValidationExpression="(^((((0[1-9])|([1-2][0-9])|(3[0-1]))|([1-9]))\x2F(((0[1-9])|(1[0-2]))|([1-9]))\x2F(([0-9]{2})|(((19)|([2]([0]{1})))([0-9]{2}))))$)"></asp:RegularExpressionValidator>
check this solution.......
thanks & regards,
nareshrajuu(hyd)
isoft, acsc company,
chennai