Page 1 2 
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Honorary 'Venerable' Mechanic
Picture of AndyP
Posted
If you want to add a simple form to your site and can not be bothered using special scripting for your cgi-bin then try this simple "Form to Email" code:

<A HREF="MAILTO:youremailaddress?
SUBJECT=Your Subject Text Here

&BODY=Please Add:%0D
Name:%0D
Address:[/color}%0D
[color:RED]Country
%0D
">Click Here To Activate Email Form</a>


Text in red is where you place your required text. Add further headings with the appropriate code as well.

With thanks to Pjay for input

This message has been edited. Last edited by: AndyP,
 
Posts: 1194 | Location: Brighton UK | Registered: January 08, 2003Reply With QuoteEdit or Delete MessageReport This Post
Working Mechanic
Picture of nksiefert
Posted Hide Post
New to this...exactly where does this go? Into the code editor or where?

Learning but novice...
 
Posts: 20 | Location: Chicago Suburb | Registered: February 13, 2005Reply With QuoteEdit or Delete MessageReport This Post
Guru 'Power' Mechanic
Picture of Bruceee
Posted Hide Post
Add the text into the Code Editor -- just as you would in the Text Editor. Code Editor icon is on the left-hand toolbar.
 
Posts: 9254 | Location: Wellington, New Zealand | Registered: December 11, 2003Reply With QuoteEdit or Delete MessageReport This Post
Junior Mechanic
Posted Hide Post
I am very new to this. I would like to create a pop-up window on my home page that asks veiwer to acknowledge if they are over 18 years of age, with boxes to check, yes/no how would I do this?
 
Posts: 1 | Location: Baton Rouge, Louisiana | Registered: April 10, 2006Reply With QuoteEdit or Delete MessageReport This Post
Guru 'Power' Mechanic
Picture of Bruceee
Posted Hide Post
You could do that with a form. You probably will need some special code (could be Javascript) to read the visitor input, and based on that, decide whether to allow access to a gateway page to the rest of your site.

If you use Google you may find some examples already written that you can use immediately. If you can wait a few days, the next version of SiteSpinner, almost released, has built-in forms support.
 
Posts: 9254 | Location: Wellington, New Zealand | Registered: December 11, 2003Reply With QuoteEdit or Delete MessageReport This Post
Working Mechanic
Picture of plaZma
Posted Hide Post
This is excellent news... our pleadings for built-in form support have been heeded. Brucee, any other snippets of news on the new release available?

Thanks
 
Posts: 83 | Location: Down South in Africa | Registered: August 11, 2005Reply With QuoteEdit or Delete MessageReport This Post
Guru 'Power' Mechanic
Picture of Bruceee
Posted Hide Post
My lips are sealed Smile

But I think you'll like it -- I do.
 
Posts: 9254 | Location: Wellington, New Zealand | Registered: December 11, 2003Reply With QuoteEdit or Delete MessageReport This Post
Honorary 'Venerable' Mechanic
Picture of AndyP
Posted Hide Post
In the meantime I highly recommend Web For Designer www.webformdesigner.com which also has an excellent user forum Wink
 
Posts: 1194 | Location: Brighton UK | Registered: January 08, 2003Reply With QuoteEdit or Delete MessageReport This Post
Honorary Mechanic
Posted Hide Post
Does anyone know if form generation is going to be in Web Engine also or just SiteSpinner. This is great news!
 
Posts: 262 | Registered: December 14, 2005Reply With QuoteEdit or Delete MessageReport This Post
Honorary Mechanic
Picture of Marleen
Posted Hide Post
I am trying to insert 3 line breaks between name, email address, etc in the following code. (The <p> does not have any effect) Please help:

<A HREF="MAILTO:marleen33594@yahoo.com?
SUBJECT= Re: St. Mary Website Inquiry

&BODY=My inquiry is as follows:%0D<p><p><p><p><p><p>
Name:%0D<p><p><p><
Email Address:[/color}%0D<p><p><p>
[color:RED]Telephone number: %0D
">Click Here To Activate Email Form</a>
 
Posts: 191 | Location: Tampa, FL, United States | Registered: September 02, 2003Reply With QuoteEdit or Delete MessageReport This Post
Guru 'Geezer' Mechanic
Picture of larryd
Posted Hide Post
The <p> is an HTML paragraph tag and cannot be used outside of an HTML page.

I see you have inserted the %0D code, which is a character replacement code for a carriage return. You may want to try the line feed character code %0A in conjunction with it.

This may or may not work depending upon the system that encodes/decodes it. Plain text DOS files expect the CR/LF pair, but *unix files and Macs expect just a NL (new line) character.

Other character substitution codes to try if the above do not work are:

\r (return)
\n (new line)
 
Posts: 5134 | Registered: December 03, 2006Reply With QuoteEdit or Delete MessageReport This Post
Honorary Mechanic
Picture of Marleen
Posted Hide Post
The changes worked! Here is the exact code I used after several experiments using your suggestions:
<A HREF="MAILTO:marleen33594@yahoo.com?
SUBJECT= Re: St. Mary Website Inquiry

&BODY=
Name:%0A %0A
Email Address:%0A %0A
Telephone number:%0A %0A
My inquiry is as follows:%0A %0A %0A ">Click Here To Activate Email Form</a>

QUESTION: Are you able to click on the link belows and will it take you to your default email program with the appropriate information already installed in your email? http://www.stmarytampa.org/test.html
 
Posts: 191 | Location: Tampa, FL, United States | Registered: September 02, 2003Reply With QuoteEdit or Delete MessageReport This Post
Guru 'Geezer' Mechanic
Picture of larryd
Posted Hide Post
Tried your link and I got the results you expected.
 
Posts: 5134 | Registered: December 03, 2006Reply With QuoteEdit or Delete MessageReport This Post
Guru 'Power' Mechanic
Picture of Bruceee
Posted Hide Post
That works for me too with IE7 and Outlook Express.

There will be email programs out there that don't behave like Outlook Express. For that reason, I think a form mail script is better -- it does not depend on the email program your vistor has installed.

There is an example of a form mail script in the "Using Forms" tutorial under Help > Tutorials.
 
Posts: 9254 | Location: Wellington, New Zealand | Registered: December 11, 2003Reply With QuoteEdit or Delete MessageReport This Post
Honorary 'Creative' Mechanic
Picture of Klimt
Posted Hide Post
I tested your link and it opens my default mail (yahoo) but with an error saying:

name: TypeError
message:'kPartner' is undefined
number:-2146823279
description:'kPartner' is undefined

Unfortunately I have no idea what that means Frown. I've tried similar links from other pages and it works there.
 
Posts: 1749 | Location: Vienna, Austria | Registered: July 17, 2006Reply With QuoteEdit or Delete MessageReport This Post
Honorary Mechanic
Picture of Marleen
Posted Hide Post
I think I'll follow Brucee's suggestion and learn forms from Site Spinner tutorials. He's usually correct. Thanks, Brucee.
 
Posts: 191 | Location: Tampa, FL, United States | Registered: September 02, 2003Reply With QuoteEdit or Delete MessageReport This Post
Honorary 'Creative' Mechanic
Picture of Klimt
Posted Hide Post
Another way I find practical and time saving is to use a free software WebFormDesigner. It's very easy to incorporate in SS.
 
Posts: 1749 | Location: Vienna, Austria | Registered: July 17, 2006Reply With QuoteEdit or Delete MessageReport This Post
Honorary Mechanic
Picture of Marleen
Posted Hide Post
I've used Webform Designer on this project:
http://lifeenrichmenttampa.org/donation.html and have it set up to forward to my email address from Webform's website. A little complicated; but, it works. Now, I have a nice template to work with.

I would still like to tackle forms using Site Spinner as it seems like a nice challenge.
 
Posts: 191 | Location: Tampa, FL, United States | Registered: September 02, 2003Reply With QuoteEdit or Delete MessageReport This Post
Honorary Mechanic
Picture of podge
Posted Hide Post
From that method, your email address is open for bots, which inmho poses a security risk.

The chances of a spam bot picking up on it is slim, but once it does you can pretty much count your email as deceased. You'll never free it from spam.

I would suggest using a webform purely because it looks so much more proffesional, it's not too hard to create and incorperate.


A part of JD&Co web design
-------------------------------------------------
"It's not where you take things from - It's where you take them to" -Jean-Luc Godard
 
Posts: 837 | Location: England | Registered: March 13, 2005Reply With QuoteEdit or Delete MessageReport This Post
Honorary Mechanic
Picture of Marleen
Posted Hide Post
With this information, I'm going to REMOVE any code over emails. I'll take a look at creating a contact form instead. I'm up to the challenge; but, it may take me awhile. Webform Designer has the option of reflecting the eform to them first and they will forward the note to the intended recipient. Would that pose any threat?
 
Posts: 191 | Location: Tampa, FL, United States | Registered: September 02, 2003Reply With QuoteEdit or Delete MessageReport This Post
  Powered by Eve Community Page 1 2  
 


™ & © 1998 - 2008, Virtual Mechanics Inc. All rights reserved.