Results 1 to 4 of 4
Related
-
required fields in a form Forum: HTML Forum
Replies: 17 -
HTML Form with required fields Forum: HTML Forum
Replies: 10 -
Required Form Fields Forum: Javascript Forum
Replies: 1 -
required form fields in php page using redirect.php form Forum: PHP Forum
Replies: 1
-
02-05-2007, 05:57 PM #1
How do I set up required fields in JMail form?
I use this simple code embedded in a thankyou-page being called from a form:
Code:<% SET JMail = Server.CreateObject("JMail.SMTPMail") JMail.ServerAddress = "xxx.xxx.xxx.xxx" JMail.Sender = "xxx@xxx.xxx" JMail.Subject = "Subject of message" JMail.AddRecipient "yyy@yyy.com" JMail.Body = " " & vbCrLf &_ " Name: " & Request("name") & vbCrLf &_ " Address: " & Request("address") & vbCrLf &_ " Email: " & Request("email") & vbCrLf &_ " Phone: " & Request("phone") & vbCrLf &_ " Message: " & Request("message") & vbCrLf JMail.Priority = 3 JMail.AddHeader "Originating-IP", Request.ServerVariables("REMOTE_ADDR") JMail.Execute %>
Many thanks for any feedback available!Last edited by vinyl-junkie; 03-23-2007 at 11:29 AM. Reason: Added code tags
-
02-20-2007, 12:08 PM #2
Re: How do I set up required fields in JMail form?
Funny, I thought this would be an easy one for someone working more in ASP than me. Turns out it was trickier than I thought... Bummer.
-
03-23-2007, 04:03 AM #3
Re: How do I set up required fields in JMail form?
Just in case someone else wnats to know the answer, I gave up and did what I should've done from the start, being a noob on asp: I used the software 'Forms To Go' (bebosoft.com/products/formstogo/) instead and everything worked fine. When looking at the code it was pretty good too. So that's my advice to anyone in the same situation.
-
03-23-2007, 11:37 AM #4
Re: How do I set up required fields in JMail form?
Sorry you weren't able to get help with JMail, but I'm glad you were able to find a tool that worked for you, and that you shared your findings with us.
Had I read your message sooner, I would have suggested that you search Google for JMail tutorials. There seem to be quite a few resources. Perhaps one of them would have helped. Often, the documentation that comes with the software will answer any questions you might have. Always be sure to read that first.
Anyway, this is my 2 cents for the next person who might be searching for the same kind of help.Music Around The World - Collecting tips, trade
and want lists, album reviews, & more
Cloudjiffy- PaaS for Developers
10-05-2020, 12:30 AM in Web Hosting Forum