homepage Welcome to WebmasterWorld Guest from 107.22.70.215
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Accredited PayPal World Seller

Visit PubCon.com
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




msg:1484247
 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




msg:1484248
 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




msg:1484249
 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




msg:1484250
 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.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved