View Full Version : email sending using forms
hello there
I would like some help with something. I have a huge form in a page that accepts some information from the user and then the idea is to have those information sent to an email address. Since the form is too big I would like to break it up into smaller forms. How can I still have all of the information (from ALL the small forms) sent to an email address using some kind of script? I am not familiar with Perl or cgi (I've seen that perl is widely used for sending email). Is there a way in doing that? I would appreciate any help on my problem.
Thanx!
Jimmy
brobe
10-19-2000, 05:01 PM
Hi,
Please clarify a few details... are you wanting to send all the results as 1 email or as 3 emails? It is possible to do either case but 1 requires a lot more effort and time. You can definitely use FormMail to send a lot of form fields by email thus you could split your form into 3 pages and each one be sent as a separate email...otherwise, unless there are scripts to do this already and i am unaware of this fact...it would require some detailed customization to send those three forms' data in 1 email.
------------------
+{brobe}+
Programma / Webmasta
http://www.mp3-search-portal.com
ICQ: 85408692
GUIDE: HTMLforums (http://www.htmlforums.com)
I'm trying to split the "big" form into let's say 3 pages, but I want to send the whole information in just 1 email not 3. Could you help me on that? I've tried using javascript to temporarily store the first form's information into cookies and then put them into the second form (in hidden fields) and then sending the second form's information through email (this way the information from the first form is also sent). But what happens if the user does not allow for cookies to be stored on his machine? Is there a better way to solve this problem?
Thanx
Jimmy
Jacob
10-22-2000, 10:38 AM
Zoid,
Cookies would be one way. But as you have found out, not all users support them.
My idea would be to pass the data through "hidden" html tags, in the last two forms.
Eg: on your second form, (after you submit the first one), you would have hidden fields that would contain information from the first form. Like:
<BLOCKQUOTE><font size="1" face="Verdana, Arial">code:</font><HR><pre>
<input type=hidden name=First_Name value=$FORM{'First_Name'}>
[/code]
Get it? This method would also work better then saving the data to a file for each user (my other idea).
Regards,
------------------
Jacob A. Wheeler
Co-Founder / Web Engineer
Big Resources Network
jacob@bigresources.com
ICQ: 390147 (http://www.icq.com/390147)
vBulletin® v3.6.7, Copyright ©2000-2009, Jelsoft Enterprises Ltd.