Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Need email, Phone number range, Pin code range, DOB, Validation Code

Former Member
0 Likes
685

Guys , I am doing simple project,

I have a CUSTOMER CREATION PAGE.

In the page I have fields like ,

1. Email

2. Phone number

3. Postal Pin code number

4. Date of Birth ( DOB )

Email :-

If we consider a email ID as string then the validation should be such that the String should contain " @" value and followed by "." ( dot ) like in .com or .co.in which a tipical Email ID will contain.

I need the necessary Coding .

Phone number :-

I have only one field I.e " cell phone number " no " land line number " .

so when the customer is entering his or her " cell phone number" the following validation should take place.

1 . The number should start with number " 9 ".

2. The lenght of the number should be " 10 digit " only . It should not exceed or decrease the number range .

Please give necessary coding .

Pin code :-

Very much same as phone number . So i will use the same coding used for the phone number .

DATE OF BIRTH :-

Now the Account Creation date is assigned to system date, i.e SY-DATUM .

There is F4 Provision for the date text box where a calender is generated so that the DOB can be selected by clicking the date from the Calender .

The Date Of Birth that is selected should be less that " 18 years " to the System date which is also '' ACCOUNT CREATION DATE".

I need the necessary coding .

regards.

5 REPLIES 5
Read only

Former Member
0 Likes
617

D O B validation to make sure that the account created for any body should be of minimun 18 years old . I hope you understand.

Read only

Former Member
0 Likes
617

Please reply

Read only

matt
Active Contributor
0 Likes
617

Sure - got a purchase order?

You see, what you're doing is asking people who get paid to write programs to write a program for you for free. I suggest your read the Rules of Engagement for these forums.

matt

Edited by: Matt on Sep 4, 2009 1:08 PM

Read only

Former Member
0 Likes
617

>

> I need the necessary Coding . .

I can give the code, but i need the necessary payment, what you say ?

Regards

Karthik D

Read only

Clemenss
Active Contributor
0 Likes
617

Hi stevesteevy ,

what steps did you take so far and what is the problem you have to overcome now?

If you really have a question except "who will do my work for free", then please ask. Otherwise, please stay away.

Thank you for your co-operation.

Regards,

Clemens