Can javascript or php help with this
| From: | dealTek | Date: | Sat, 25 May 2013 20:33:36 +0000 |
| Subject: | Can javascript or php help with this | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-321210@lists.php.net to get a copy of this message | ||
Hi all,
I have a php form that has a pull down select for MONTH and one for YEAR
- usually when the form is submitted you would combine them at the other end like 0517 (like credit
card exp date) - but in this case I need to combine them prior to submitting the form...
I don't know javascript but I'm curious if someone might know a way to use javascript (or
some other method) to set another input field - EXPDATE - to contain the value "MONTH &
YEAR" combined prior to submitting the form?
... and in this case the form is going outside my site and other reasons so it's best to set
this up prior to submitting the form.
--
Thanks,
Dave - DealTek
dealtek@gmail.com
[db-3]