This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I have a html file in which I would like to have two forms. In the first form I will have a check box which if checked then the second form should take values entered by the user in the first form and submit to a location. This should not happen if the checkbox is not checked by the user. I request for an idea on how this is done in HTML.
OK, here is what I need to do. I am not sure if I need two forms.
I need to collect name address phone number etc form the user. I need this to be sent by email.
Second thing is if they choose to be joined in a mailing list by checking a check box their information should be sent to another location with some of the user entered details. This doesn't happen if user doesn't check the checkbox. In either case sending of all the user entered values by email should take place.
I was thinking there would one form in which the action is to direct the information to a cgi program which will email the information. There will be a second form which chould check the user's consent and then collect some of the details like name and email and send this to an external location where these details are maintained.
Do you mean I can submit selective details to one location and some other details to another location without using two forms? Can you explain how?