HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
Newbie Form Help
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Form
View previous topic :: View next topic  
Author Message
Adam.Thomas



Joined: 24 Oct 2009
Posts: 3

PostPosted: Sat Oct 24, 2009 5:26 am     Newbie Form Help Reply with quote

I'm new here and I know just enough about HTML to be dangerous... I've read quite a few pages and tutorials on form creation but I haven't found one that seems to answer my question

I'm helping out a friend who owns a small business. Right now she she has what could be called a bill of sale (invoice) that she hand writes. What I'm trying to do is create a basic web form where she can input information (name, address, phone number, prices, etc.). When she hits submit the information is organized, formatted and a few, simple calculations are performed. The only goal right now is to create a printable page, there is no need to retain the data (although at some point that might be nice too).

I can create the "form" but I'm not quite sure what to do next. If anyone could point me in the right direction I would greatly appreciate the assistance.

Thanks!

Adam
PayneLess Designs



Joined: 28 Feb 2007
Posts: 3598
Location: Biloxi, MS

PostPosted: Sat Oct 24, 2009 5:44 pm     Reply with quote

Hi Adam. Not sure what you mean by direction. You created the form. I take it you created the php form processor file or have one installed on the server to do what needs to be done when the Submit button is clicked. The form's action="" attribute is where the form is to be sent. That could redirect to another page that has the information in printable form if that's what you need.

I don't do PHP, so that will be up to you to get that work done if that's how you need it done.

A printable page uses certain guidelines to make it printer compatible. In fact a separate link to a CSS "print" file can be made.
Adam.Thomas



Joined: 24 Oct 2009
Posts: 3

PostPosted: Mon Oct 26, 2009 11:36 am     Reply with quote

Thanks for the help. Maybe I'm more confused that I thought I was (which is very likely!). When I said I created a "form" I meant in HTML, no script of any kind. I just figured I could add the appropriate script at some point in time. I really don't know much about scripting and I guess that's what I meant being pointed in the right direction.

Didn't know about CSS for printing. Thanks for the heads up.
Adam.Thomas



Joined: 24 Oct 2009
Posts: 3

PostPosted: Mon Oct 26, 2009 11:38 am     Reply with quote

In the past I had done a "contact" form where it sent an email. That worked just fine. I guess I thought that doing this was just as easy (at least the concept sounded easy to me).

Thanks again!
PayneLess Designs



Joined: 28 Feb 2007
Posts: 3598
Location: Biloxi, MS

PostPosted: Mon Oct 26, 2009 3:47 pm     Reply with quote

There are a few ways to do a Contact Form. One is using a client-side email form which opens the client's email program after they click Submit button. It is dependent on them clicking the Send button after that since it opens the default email program.

The other is to use a server-side script which makes it totally independent of the client's programs and all action is done by the script processing file on the server.

The server-side can redirect to a Thank You page, send you the email or send multiple people the same email information and even send the client a copy. Lots of things can be set up for a server-side script. Even a Print button, hidden fields, etc..

The following might help with more guidance...

For making forms:

These are really good online form makers. Just follow the instructions for making it and uploading file(s).

http://www.phpform.org/ (Best-est)
http://www.tele-pro.co.uk/scripts/contact_form/
http://jotform.com/ (WYSIWYG Form Maker)
http://www.thesitewizard.com/wizards/feedbackform.shtml
http://www.thepcmanwebsite.com/form_mail.shtml

http://emailmeform.com/
http://www.freecontactform.com/
http://www.reconn.us/content/view/12/34/ (Download - Contact Us Script)
http://formsmarts.com/
Freebie: Good looking Fluid Contact Form: http://www.flashuser.net/flash-components/freebie-good-looking-flash-contact-form.html

Forms with Attachments:

FormMail (Paid - Encryption, etc.): http://www.tectite.com/formmailpage.php

Flash Attach contact forms ($10 for all): http://www.flashattach.com/

Form to Email with Attachment: http://www.hotscripts.com/listing/form-to-email-with-attachment/
PHP Email Form With Attachment: http://www.jaymeblackmon.com/php-email-form-with-attachment
Solution for a custom contact form with file attachment (use form API): http://drupal.org/node/68265

Basic Client-Side Mailto: Form:

Code:
<form method="post" action="mailto:someone@$nailmail.com" enctype="text/plain">
<input type="text" name="username"> : name <br>
<input type="text" name="email"> : email <br>
comments <br>
<textarea name="comments" rows="10" wrap="hard">
</textarea>
<input name="redirect" type="hidden" value="index.html">
<input name="NEXT_URL" type="hidden" value="index.html"><br>
<input type="submit" value="Send">
<input type="reset" value="Clear">
</form>

mailto - Web-based email Form Handler: http://www.washington.edu/webinfo/mailto/
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Form All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
DARFUR
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial