473,320 Members | 1,926 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

PHP formMail Phone input

I am creating a formmail page and on the input for the phone number I want the form to be slit in three sections for area code, first three digits and last four digits. The catch is, I wan the cursor to jump from the first input area to the second input area when the user is inputting the number without clicking tab. Hope that makes sense.
Oct 10 '08 #1
6 1719
Markus
6,050 Expert 4TB
This can't be done with PHP. Javascript, however, will do this beautifully.

Moving you there.
Oct 10 '08 #2
could you possibly direct me to the java or php possibilities?
Oct 10 '08 #3
pbmods
5,821 Expert 4TB
Heya, Rico.

I'd strongly recommend against that, as this makes it harder for Users to enter data (see #9 in that list).
Oct 10 '08 #4
I found some Javascript to complete it thanks to everyone who helped. THanks pbMods for the info. I'll try to convince my client not to use it.
Oct 10 '08 #5
pbmods
5,821 Expert 4TB
I'll try to convince my client not to use it.
I wish you luck with that. If your client is willing to listen to reason, guard him jealously; he is one of a rare breed :P
Oct 10 '08 #6
acoder
16,027 Expert Mod 8TB
In case someone comes across this thread and has a legitimate reason for this, use the onkeyup event to check the length of the string input is equal to the maxLength property of the text box. If it is, focus on the next text box.
Oct 11 '08 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: mcp6453 | last post by:
I am trying to use Jack's FormMail script (http://www.dtheatre.com/scripts/formmail). Since I'm brand new at PHP and not very good at HTML, I have an easy question, which I will narrow down. When...
4
by: Maggie Blue | last post by:
Hi! Total "newbie to programming" here. I'm using Jack's Formmail.php, code at: http://www.dtheatre.com/scripts/source_view.php?path=formmail_code/formmail.phps and I'm trying to figure out...
0
by: Craig | last post by:
I keep getting the error "Error: Bad/No Recipient" when submitting a form using formmail.pl Here is the part of the formmail.pl that you are supposed to alter to suit your needs using fake url...
5
by: John Oliver | last post by:
I'd like the email produced by FormMail to show a specific From: address rather than postmaster@server.host.name Googling isn't helping me... not sure what to look for :-( -- * John Oliver ...
4
by: laredotornado | last post by:
Hi, I'm using PHP 4.4.4 and have downloaded the free script formmail.php (version 4.1b). Wondered if anyone had experienced the same problem I'm having. I'm submitting a form to formmail.php, but...
4
dreamcatcher
by: dreamcatcher | last post by:
Hi everyone, I'm a frontend designer starting to learn about getting forms to work. What I'm after is a script that I can learn from and get working on a site relatively quickly. Something that...
1
by: cottcody | last post by:
Hello. I'm attempting to write a form for a web page which is using the formmail.pl script. The form works fine and all but it its the script in which i am having troubles. What I would like it to do...
1
by: ekburrow | last post by:
I've been using Form mailer for a couple years but now have a huge issue with SPAMMERS... Here is my Formmail code it is located at the top of the PHP file <form method="post"...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.