ben456
02-13-2003, 10:04 AM
Is it possible to add some code to a standard FormMail script that will add an extra email address to the recipient list if a tick box is selected?
Thanks in anticipation,
Ben
Thanks in anticipation,
Ben
|
Click to See Complete Forum and Search --> : Adding optional fields to FormMail ben456 02-13-2003, 10:04 AM Is it possible to add some code to a standard FormMail script that will add an extra email address to the recipient list if a tick box is selected? Thanks in anticipation, Ben Nevermore 02-13-2003, 01:40 PM What do you mean by a 'standard form mail script'. If I understand what you mean, it should be possible to do it in one of two ways: 1) By making a text field unselectable (greyed out) unless checkbox = checked. 2) Making a form element appear by manipulating its visiblity. If you need help with either approach, PM me. ben456 02-14-2003, 10:41 AM Sorry, I didn't explain myself very well - the page uses a server-side cgi FormMail script, (a Matt's script clone), to email a form to a number of email addresses listed in a hidden Recipients field. I want to change it so that if a checkbox is ticked then it adds another email address to the Recipient list. I was hoping that it might be possible to manipulate the variables using a JavaScript? Thanks, Ben Nevermore 02-15-2003, 03:58 AM Im not too sure - ill think about it. webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |