Dynamic Forms
| From: | Rudi Ahlers | Date: | Mon, 15 Oct 2001 13:35:47 +0000 |
| Subject: | Dynamic Forms | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-71099@lists.php.net to get a copy of this message | ||
Hi, me again
I have a form, which can either display debit order details, or credit card details. When a user
opens the page, he gets a dropdown menu, which gives him the options. If he selects debit order, the
debit order form gets displayed, this is all done with if statements, no jscript. This works fine,
but with the mail part I have a problem. How would I be able to tell my mail function what to mail,
and what not to? When a user clicks on the debit option, it must only email the debit form's
details, as the forms differ quite a bit. I tried doing it with a case statement, but with no luck.
Can anyone please help me with this?
Thanx
Rudi Ahlers