Discuss website design for ecommerce sites, useability, navigation and other development considerations. To get feedback on your t-shirt design(s) or website, please post a request in our Site Reviews and Design Reviews section here.
Before I spend hours figuring this out, maybe someone here can help?
In a contact form where you ask the user to type in their Email address (), I would like the user to type in *example* only then the user would select the @site.xxx from a drop down menu to send the complete email address.
So after the user sends the form information, I would receive the email field complete as
in other words, how can i break apart the email address on the form for the user and receive it complete?
There are way too many server extensions to do that efficiently. You would have to include all the major email servers (google), cable companies (roadrunner), phone companies (bellsouth), etc, and you still wouldn't cover folks with a business email like "ken @abctrucks.com". Even if you could know all of the server extensions that are in use, the drop-down list would be tens of thousands of choices.
For a contact form, the user should be able to enter their entire email, or you'll be excluding many people from contacting you.
__________________ 350tees.com Talk Is Cheap, Especially On Our Shirts
There are way too many server extensions to do that efficiently. You would have to include all the major email servers (google), cable companies (roadrunner), phone companies (bellsouth), etc, and you still wouldn't cover folks with a business email like "ken @abctrucks.com".
Ken, I understand your point.
But the project Im working ON the @company.xxx are specific cell phone service providers with gateways that deliver Emails as SMS.
I understand what you want to do and assume you want to do it that way so you don't get customers whose service you don't support?
If no one else chimes in with an answer, what about just having the customer enter their full address and then have that field validated for the correct carriers? If it is a carrier you don't support, the customer would get an error message explaining.
I...assume you want to do it that way so you don't get customers whose service you don't support?
Joe, yes and no.
Yes I want to exclude users who DO NOT have a cell phone.
and No, I do not want to exclude users that do have a cell phone number.
ok, here is more info on the project to help you folks help me.
Basically, a user with a cell phone number would type in their number in the email field (555 555 5555). Then they would choose their cell phone service provider from a dropdown menu (@TNT.xxx). In the actual value of the (@TNT.xxx) on the send form required it would be something like: @mail.whatever.TNT.xxx).
Why would I not ask the user to type in ? because most cell phone users do not know the cell phone service provider's email address gateway (@mail.whatever.TNT.xxx) .
One of the end purposes of this is to be able to receive payments by having a already signed up user type in their cell phone number ONLY to pay.. This function would internaly pull up the users CC and shipping info on the sellers system.
Then a security code/number would be generated and sent to the user via SMS to the cell phone in real time. Then the user would type in the security number on the webpage to complete the transaction.
Of course they would need to signup and login to a HTTPS server before any of it.
can you folks tell me how I can get the users imput tel # to attach itself to a @whatever.xxx dropdown menu off a web email form and receive the users complete email address?
It can be done with a calculated field in your underlying database. Not sure which database you are using, but the results of the calculated field would be: [user tele number]+ "@"+[carrier]
Looking again at your post #7 above, I *think* what you can do is show the user one thing in the dropdown but actually have the form send YOU something different like:
HTML Code:
<option value="txt.att.net">ATT</option>
This would show the user "ATT" in the dropdown, but it would send you @txt.att.net when you get the form.
Hopefully this is in the right direction of what you're looking for?
Looking again at your post #7 above, I *think* what you can do is show the user one thing in the dropdown but actually have the form send YOU something different like:
HTML Code:
<option value="txt.att.net">ATT</option>
This would show the user "ATT" in the dropdown, but it would send you @txt.att.net when you get the form.
Hopefully this is in the right direction of what you're looking for?
Rodney, she is trying to combine two different form questions into 1 answer.
Mobile Telephone Number:
Carrier:
And she wants to get back an answer of as an example.
In the PERL script there will be variables for your two fields("username" for the first part of the email and the "@whetever.xxx"). You will need to declare a new variable and combine (concatenate) the first two fields into this one. The new variable can then be saved to the database.
EX...
var1 = (the name of your first field)
var2 = (the name of your second field)
var3 = var1 + var2
I haven't used the PERL script in quite sometime, so I'm not sure of the exact syntax. If you want to paste the code into a PM and send it to me, I'll take a look. Be sure to let me know the field names in your form.