JavaScript Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsWeb DesignJavaScript Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old January 19th, 2006, 06:50 AM
theavatar theavatar is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2006
Posts: 4 theavatar User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 41 m 45 sec
Reputation Power: 0
Using javascript send info from a html form via email client

Hi, I am currently working on a basic HTML template for my workplace. The general idea behind it is to have a HTML form where you input the information then slick the submit button which then opens the compose message screen from the pc's default mail client containing the information form the HTML form. I have a working copy of it, however I am having some problems with the way it works.

At the moment, once all information is input to the form and the submit button is pressed the email program will open, with all the information. But, there is a limit af approx. 1600 characters that can be input to the form, if there are more it will not open the email. Also there is no text formatting when the information is passed on to the email client.

Basically what I need is for the form to format the information correctly, eg. when the enter key is pressed in the form, once the email is created it will add the break. Also I cant figure out why the character limit exists.

the file is located at http://site.theavatar.info/template2.html If anyone can offer me some advise on why this occours, that would be most appreciated.

Reply With Quote
  #2  
Old January 19th, 2006, 10:48 AM
Kravvitz's Avatar
Kravvitz Kravvitz is offline
CSS & JS/DOM Adept
Dev Shed God 30th Plane (19500 - 19999 posts)
 
Join Date: Jul 2004
Location: USA
Posts: 19,895 Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level) 
Time spent in forums: 6 Months 2 Days 20 h 11 m 21 sec
Reputation Power: 4192
IE6 limits the number of characters in a URL.

mailto: does not support formatting.

I suggest you use a server-side form-mailer script that supports HTML emails.
Comments on this post
theavatar agrees: Good info
__________________
Spreading knowledge, one newbie at a time. I'm available for hire at Dynamic Site Solutions.

Check out my blog. | Learn CSS. | PHP includes | X/HTML Validator | CSS validator | Common CSS Mistakes | Common JS Mistakes

Remember people spend most of their time on other people's sites (so don't violate web design conventions).

Reply With Quote
  #3  
Old January 19th, 2006, 05:22 PM
theavatar theavatar is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2006
Posts: 4 theavatar User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 41 m 45 sec
Reputation Power: 0
Must be client side

Unfortunatly, I cant put this on a webserver at work so it must be client side. :/

Ah and thanks for the info on the limit of the URL... I should have thought of that.

Reply With Quote
  #4  
Old January 19th, 2006, 09:21 PM
Kravvitz's Avatar
Kravvitz Kravvitz is offline
CSS & JS/DOM Adept
Dev Shed God 30th Plane (19500 - 19999 posts)
 
Join Date: Jul 2004
Location: USA
Posts: 19,895 Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level) 
Time spent in forums: 6 Months 2 Days 20 h 11 m 21 sec
Reputation Power: 4192

Reply With Quote
  #5  
Old January 19th, 2006, 09:43 PM
theavatar theavatar is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2006
Posts: 4 theavatar User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 41 m 45 sec
Reputation Power: 0
Because one isnt available for me to use. I'd happily put it on my own webserver, but at work we have a nasty proxy of doom... bareley lets us look at google :/

Reply With Quote
  #6  
Old January 19th, 2006, 10:17 PM
Kravvitz's Avatar
Kravvitz Kravvitz is offline
CSS & JS/DOM Adept
Dev Shed God 30th Plane (19500 - 19999 posts)
 
Join Date: Jul 2004
Location: USA
Posts: 19,895 Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level) 
Time spent in forums: 6 Months 2 Days 20 h 11 m 21 sec
Reputation Power: 4192
You could install IIS or Apache on a computer if you have one available that can be running whenever people are there working. IIS is probably easier to setup if you don't have experience with administrating Apache.

I think IIS 5.1 is an optional part of WinXP Pro.

Reply With Quote
  #7  
Old January 19th, 2006, 10:37 PM
theavatar theavatar is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2006
Posts: 4 theavatar User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 41 m 45 sec
Reputation Power: 0
That is not possible, well it is if i want to get fired. My company is pretty tight on the way we use out PC's. we would get fired for pluging pretty much anything in to the USB ports... so I dont think they would like me running apache on one of their pcs ;p

Bottom line is that it must be client side, and if it cant be done the way I want it then ill find an alternative (probably just a simple outlook template).

Thnaks for your time though, I appreciate your input

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignJavaScript Development > Using javascript send info from a html form via email client

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap