This is a discussion on "Text box in email form" within the PHP Forum section. This forum, and the thread "Text box in email form are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Text box in email form
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Text box in email form
I added a form to a website where there is a long list of products (about 200) and there is a quantity box next to each of them. When the form is sent The email contains all of the products and the ones that were selected have the quantity number next to them. Is it possible to only have the ones that were selected sent? It works fine if I use a check box instead of a text box but I need to have a quantity with it. Also the script I am using to send is PHP.
Thanks |
|
|
|
|||
|
Re: Text box in email form
Im sorry. I have no idea what that means. I don't know a lot about php. below is a link to the site and the php script i am using(i didnt write it). Hope someone can help me out.
http://temphost.webofamerica.net/midwest%20agri%2Dservice/products.html It is on a temp domain for right now. and the flash at the top will not load. This is the php script
2,4-D_AMINE__2_1/2: 2 2,4-D_AMINE__30: 2,4-D_LV4: 3 2,4-D_LV6__2_1/2: 2,4-D_LV6__30: 4 ACCENT_DF_: Name: Mat Address: 734 4th st sterling il Phone: 555-6066 Email: gds@hdsj.com Submit: Submit There is a 2, 3 and 4 next to the products that were selected. When I have all of them sent there will be just too many to sort through and that Is why I only want the selected boxes to send. Last edited by karinne; Jun 22nd, 2007 at 18:41. Reason: Please use [ php ]...[ /php ] tags when displaying PHP code! |
|
||||
|
Re: Text box in email form
Try this:
Last Blog Entry: 10 Reasons Why My Laptop Is Better Than Your Girlfriend (Dec 15th, 2007)
|
|
|||
|
Re: Text box in email form
That worked Exactly how I wanted it to. Thank you so much. Also How were you able to put the code in a box like that? I was trying to figure that out earlier.
|
|
||||
|
Re: Text box in email form
use [] and a word like html, code, quote. then close it like [/code]
|
|
||||
|
Re: Text box in email form
To add to BG's advice, there is a specific code for php that will give it the right colors.
|
|
|||
|
Re: Text box in email form
ok thanks.
Something I noticed with the form is that if I put decimals "." in the input name of the text box they do not show up in the email. it changes them to underscores "_" Is there a way to fix that? |
![]() |
| Tags |
| email, form |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PHP Form Email | Bravo81 | PHP Forum | 10 | Jan 21st, 2008 23:37 |
| PHP email form not sending email | Kurt | PHP Forum | 1 | Oct 12th, 2007 04:26 |
| Form submits to email via php, but email is blank!!?? | DH1234 | PHP Forum | 2 | Jun 18th, 2007 10:42 |
| EMail Form | Sabin_33 | JavaScript Forum | 12 | Dec 4th, 2006 16:20 |
| Email form using asp | QuizToon | Classic ASP | 2 | Mar 28th, 2006 00:25 |