homepage Welcome to WebmasterWorld Guest from 54.166.53.169
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

    
submitting a form
that uses javascript
princess

10+ Year Member



 
Msg#: 50 posted 12:58 am on Feb 23, 2002 (gmt 0)

I'm trying to set up an order form that will email the contents to me. I've done numerous searches that are leading nowhere.
My first question is can a form be divided into seperate cells of a table?
The second question is: is there a good online javascript source for this? I only have a week to finish it, so I would like to find an opensource (right word?) code and modify it...
Can someone please help???

 

tedster

WebmasterWorld Senior Member tedster us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 50 posted 4:03 am on Feb 23, 2002 (gmt 0)

Yes, you can place the FORM tags outside a table and then place various elements of your form within the table cells.

You will probably be happier with results of you use a cgi script to email you the form. First, Javascript is turned off by 10% of users on average, and second, older versions of Explorer (before IE5) don't support mailto: tags within forms.

Many hosts have something standard already set up that you can customize -- cgi email [web.mit.edu] is one such widely used script, originally created at MIT.

txbakers

WebmasterWorld Senior Member txbakers us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 50 posted 5:21 am on Feb 24, 2002 (gmt 0)

There are several good, easy to install CGI scripts for this. Check out matt's script archive.

Also, you can look at my site and download one of these.

And, I;ve been using an ASP script instead of CGI which has been much easier on my server.

princess

10+ Year Member



 
Msg#: 50 posted 7:19 am on Feb 24, 2002 (gmt 0)

I'm trying to learn php, so I prefer to do this with php, if you have any experience with this, can you help me??? I have the email program working. THe form is sent to me (yeah!) BUT, the problem, is that some of the fields are required, so I have a logic checker within the php program. If a field is left blank, the program calls up another page, and then there is a chance to re-submit the order. BUT only the info that was logic checked is sent in the order. The other info (that's not required) is not sent in the email. BUT, if there are no fields left blank, all info is sent! HELP!!

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved