Forum Moderators: coopster & phranque

Message Too Old, No Replies

Why can't people send my form from AOL?

Beginner's question!

         

namniboose

8:44 am on Oct 9, 2001 (gmt 0)

10+ Year Member



Not sure if I'm in the right subject section but does anyone have any ideas about why my inquiry form cannot be sent from (everyone's favorite) AOL? I haven't had any reports of the form not working from anywhere else.

Thanks for help.

gethan

11:24 am on Oct 9, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



This is as good a place as any ;) I guess the other place to try would be browers html etc.

I had a quick look at the contact form on the site under your profile. My guess as to why you may get problems with some browsers is that you have forms within forms here.

Your main form declaration is right at the top of your page - later on their is a paypal form. This may confuse some of the less robust browsers.

I would suggest moving the form declarations immediately around the inputs and try with an AOL browser. (I know I can't get hold of one for free either)

This won't affect other browsers and might just fix the problem... thats my hunch :)

This is a bit of a guess so if anyone has direct experience of AOL form submission (or an AOL browser) I suggest going with that instead.

Gethan

Ps. What a fantastic place to work from ;) Looking out at the rainy UK here.

gethan

11:34 am on Oct 9, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Yikes -- just spotted something when closing the source down.

You have action='mailto:you@yourdomain.com' in your form section. I've never seen or used this before but I would put money on it only being supported by IE.

What you need to do is load up a form 2 email cgi script and place this on your server (most hosts have something installed along these lines already - and for something simple almost any of them will be fine)

[webmasterworld.com...] -- for a discussion on the best form 2 email scripts.

This will ensure emails get to you no matter what the browser.

Good luck

Marshall

11:58 am on Oct 9, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



namniboose,

I've used this simple script to Email form results. Never had any complaints, but I also offer a regular Email address should anyone have a problem. I will send you a stickymail of the URL the form is used on so you can test it.


<form name="mailto" method="post" action="mailto:YOUREMAILADDRESS.com?subject=Inquiry from the Contact Us page" enctype="text/plain"><input type=hidden name="Message">
<table border="0" width="570">
<tr>
<td align="center" colspan="3" width="100%">
<script language="JavaScript" type="text/javascript">

<!--
// this line adds line breaks for the final output in textarea, so it will
// be formatted correctly, not just one very long line
if (navigator.appVersion.lastIndexOf('Win') != -1) {
addreturn = "\r\n" } else { addreturn = "\n" }
function makemessage(form) {
document.mailto.Message.value = (

// This is exactly how
// the output will be displayed. The text inside the ' and '
// will be displayed exactly as shown (if using monospaced font) this is called a
// string and how it is displayed compared to the strings above it will make the
// everything line up in the output. You can include a string containing only spaces.
// The addreturn adds a line break. The + adds the next item. There
// must be a + before every new variable or string ( ' ' )
// the first line below makes two blank lines appear first
' ' + addreturn
+ '------------------------------------------------- ' + addreturn
+ 'Your Name : ' + document.mailto.name.value + addreturn
+ 'Organization : ' + document.mailto.organization.value + addreturn
+ 'Their E-mail : ' + document.mailto.emailto.value + addreturn
+ 'Web Site : ' + document.mailto.url.value + addreturn
+ 'Address : ' + document.mailto.address.value + addreturn
+ 'City : ' + document.mailto.city.value + addreturn
+ 'State : ' + document.mailto.state.value + addreturn
+ 'Country : ' + document.mailto.country.value + addreturn
+ 'Postal Code : ' + document.mailto.postal.value + addreturn
+ 'Telephone : ' + document.mailto.telephone.value + addreturn
+ 'Facsimile : ' + document.mailto.facsimile.value + addreturn
+ 'Subject : ' + document.mailto.subject.value + addreturn
+ 'Comments : ' + document.mailto.comments.value + addreturn
+ ' ' + addreturn
+ ' ' + addreturn
+ ' ' + addreturn
+ 'Everything below is every fields value: ' + addreturn
+ ' ' + addreturn

);
// ends function
}
// -->

</script>

<!-- The Form --><p>This form utilizes your Email program to send the information.<br>
A copy of the information you submit will automatically be saved to your 'Sent' folder.</p>
<p><span class="no">X</span> denotes optional information<br>
If you are inquiring about advertising, please complete all the fields.<br>
 </p>
</td>
</tr>
<tr>
<td align="right" width="48%">Full Name:</td>
<td width="2%">  </td>
<td width="48%"><input type="text" size=40 name="name" onChange="makemessage()" style="background-color: #FFFFCC"></td>
</tr>

<tr>
<td align="right" width="48%">E-Mail Address:</td>
<td width="2%">  </td>
<td width="48%"><input type="text" size=40 name="emailto" onChange="makemessage()" style="background-color: #FFFFCC"></td>
</tr>

<tr>
<td align="right" width="48%">Your Web Site Address</td>
<td width="2%">  </td>
<td width="48%"><input type="text" size=40 name="url" onChange="makemessage()" style="background-color: #CCCCCC"></td>
</tr>

<tr>
<td align="right" width="48%">Organization:</td>
<td width="2%">  </td>
<td width="48%"><input type="text" size=40 name="organization" onChange="makemessage()" style="background-color: #CCCCCC"></td>
</tr>

<tr>
<td align="right" width="48%">Address:</td>
<td width="2%">  </td>
<td width="48%"><input type="text" size=40 name="address" onChange="makemessage()" style="background-color: #CCCCCC"></td>
</tr>

<tr>
<td align="right" width="48%">City:</td>
<td width="2%">  </td>
<td width="48%"><input type="text" size=40 name="city" onChange="makemessage()" style="background-color: #CCCCCC"></td>
</tr>

<tr>
<td align="right" width="48%">State/Province:</td>
<td width="2%">  </td>
<td width="48%"><input type="text" size=40 name="state" onChange="makemessage()" style="background-color: #CCCCCC"></td>
</tr>

<tr>
<td align="right" width="48%">Country:</td>
<td width="2%">  </td>
<td width="48%"><input type="text" size=40 name="country" onChange="makemessage()" style="background-color: #CCCCCC"></td>
</tr>

<tr>
<td align="right" width="48%">Zip/Postal Code:</td>
<td width="2%">  </td>
<td width="48%"><input type="text" size=40 name="postal" onChange="makemessage()" style="background-color: #CCCCCC"></td>
</tr>

<tr>
<td align="right" width="48%">Telephone:</td>
<td width="2%">  </td>
<td width="48%"><input type="text" size=40 name="telephone" onChange="makemessage()" style="background-color: #CCCCCC"></td>
</tr>

<tr>
<td align="right" width="48%">Facsimile:</td>
<td width="2%">  </td>
<td width="48%"><input type="text" size=40 name="facsimile" onChange="makemessage()" style="background-color: #CCCCCC"></td>
</tr>

<tr>
<td align="right" width="48%">Subject:</td>
<td width="2%">  </td>
<td width="48%"><input type="text" size=40 name="subject" onChange="makemessage()" style="background-color: #FFFFCC"></td>

<tr>
<td align="right" width="48%">Comments or Questions:</td>
<td width="2%">  </td>
<td width="48%"><textarea rows=3 cols=38 name="comments" onChange="makemessage()" style="background-color: #FFFFCC"></textarea></td>
</tr>

<tr>
<td colspan="3" width="100%" align="center"><input type="submit" value="Mail To Theater Services Guide" onClick="makemessage()" style="background-color: #CCFFCC">
<input type="reset" value="Clear Form - Start Over" style="background-color: #FFCCCC"></td>
</tr>
</table>
</form>

namniboose

7:46 pm on Oct 9, 2001 (gmt 0)

10+ Year Member



Hi Gethan, thanks for the advice. I have only recently added the paypal button - the problem with AOL was already there.

I thought I only needed to use a CGI script if I wanted to process the form info in some way? The form certainly works already from other browsers.

As for the mailto: you@yourdomain.com - I was just following instructions in the manual! The program I am using, NetObjectsFusion, generates its own html. Not ideal, but until I have the time to learn html..........!

As you can see, every answer generates more questions for me as I am still grappling with the basics.

Yes, it is beautiful here - I left rainy England 5 years ago (couldn't survive one more winter) and here I am!:)

namniboose

7:50 pm on Oct 9, 2001 (gmt 0)

10+ Year Member



Thanks for the info Marshall. I will have to look into cgi scripts. It's a new subject for me.

msr986

8:06 pm on Oct 9, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



As for the mailto: you@yourdomain.com - I was just following instructions in the manual! The program I am using, NetObjectsFusion, generates its own html. Not ideal, but until I have the time to learn html..........!

gethan and Marshall are correct. The "mailto:" will not work on all browsers. Do not believe everything you read. The "mailto:" should not be used. Take the time to fix the problem. :)

MSR