HighDots Forums  

Can Javascript do this?

JavaScript discussion (multi-lingual) JavaScript discussion (alt.comp.lang.javascript)


Discuss Can Javascript do this? in the JavaScript discussion (multi-lingual) forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Chris P. Bacon
 
Posts: n/a

Default Can Javascript do this? - 08-18-2009 , 07:30 PM






So I have a webpage that has a form with a bunch of fileds on it.
My orignial plan was to use PHP to validate the contents and then
take them, build an email message and send it off. But I was
told that PHP is not supported where I work so I'm left with a few
other choices. One is ASP...I don't relish that. But I
was thinking I could use Javascript to
a) Validate the contents of the data entry fields
b) Display error pages when there's a problem\
c) Take the values of all the fields and build an email message
d) Use the "From" field in a call to an email program "sendMail"
that is installed on the box.

Am I barking up the wrong tree here? I would think Javascript can
do this and I have time to learn if it can.


--
# Great spirits have always encountered violent #
# opposition from mediocre minds. #
# Albert Einstein #
# CPB - RLU 451587 #

Reply With Quote
  #2  
Old   
Shubhkarman
 
Posts: n/a

Default Re: Can Javascript do this? - 09-19-2009 , 04:09 AM






You can validate the contents of your form, report errors, build up an
email message using javascript but i don't think you can call the
sendmail program from javascript.

Reply With Quote
  #3  
Old   
Shubhkarman
 
Posts: n/a

Default Re: Can Javascript do this? - 09-19-2009 , 04:09 AM



On Sep 19, 1:09*pm, Shubhkarman <shubhkarmansandhawa... (AT) gmail (DOT) com>
wrote:
Quote:
You can validate the contents of your form, report errors, build up an
email message using javascript but i don't think you can call the
sendmail program from javascript.
If email can be done that way please enlighten me also.

http://www.freetoolbar.tk

Reply With Quote
Reply




Thread Tools
Display Modes

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



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.