Login
Search
Welcome to the iTechForums.
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
To register now click here.
Latest Threads
Advertisements
Forum Statistics
Threads:
Posts: 3
Members:
Number of Users Online:
Welcome to our newest member,
Reply
 
Thread Tools Display Modes
  #1  
Old 05-15-2008, 10:46 AM
yeesnaw yeesnaw is offline
Junior Member
 
Join Date: May 2008
Posts: 1
Default

HTML <form> help?


i have to make a html script thing at school but i got 1 question:
how can i make the form thing actually save in a document or even edit the marquee tag/display in a <textarea> tag? its really difficult trying to find out how to make form work properly any help will be great
(ill give best answer to the only person who answered aswell)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 05-15-2008, 02:43 PM
sargon 1 sargon 1 is offline
Junior Member
 
Join Date: May 2008
Posts: 2
Default

http://www.quackit.com/html/tutorial/html_forms.cfm
Check above link there is some examples, I hope it will help.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 05-16-2008, 03:58 AM
Hello World Hello World is offline
Junior Member
 
Join Date: May 2008
Posts: 1
Default

Actually, HTML forms aren't meant to be saved in a external document or other formats. If you need to save informations that are inserted by users who use your form then you properly need a database and Server-side script at your choice. Like PHP or Perl etc,. Once the form has process. You use the Server-side script to call information that has inserted by the user then transform this information into a external file or format other than HTML.

To make a HTML form is actually really simple just fallow the receipt bellow:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>HTML Forms</title>
</head>

<body>
<form method="post" action="fileToThisReadThisForm">
<fieldset>
<legend>RADIO</legend>
<label>Radio - Unchecked: <input type="radio" name="nameOfYourChoice" /></label>
<label>Radio - Checked: <input type="radio" name="nameOfYourChoice" checked="checked" /></label>
</fieldset>

<fieldset>
<legend>CHECKBOX</legend>
<label>Checkbox - Unchecked: <input type="checkbox" name="nameOfYourChoice" /></label>
<label>Checkbox - Checked: <input type="checkbox" name="nameOfYourChoice" checked="checked" /></label>
</fieldset>

<fieldset>
<legend>LIST MENU</legend>
<label>List Menu:
<select name="nameOfYourChoice">
<option>Select An Item...</option>
<option>First Choice</option>
<option>Second Choice</option>
<option>Third Choice</option>
</select>
</label>
</fieldset>

<fieldset>
<legend>TEXT</legend>
<label>Text: <input type="text" maxlength="225" name="nameOfYourChoice" value="Call text from database" /></label>
</fieldset>

<fieldset>
<legend>TEXT FIELD</legend>
<label>Text: <textarea name="nameOfYourChoice" cols="20" rows="5">Call text from database</textarea></label>
</fieldset>

<fieldset>
<legend>Buttons</legend>
<label>Reset: <input type="reset" name="nameOfYourChoice" value="Rset" /></label>
<label>Submit: <input type="submit" name="nameOfYourChoice" value="Submit" /></label>
</fieldset>
</form>
</body>
</html>

Copy and paste this code in a Notepad or Textedit then save it as .html extension. Preview in your browser you should be able to see this form. Although, you now have the form but the form itself will not do much that's because it is not dynamic. To make it dynamic you need Server-side script to store information and call information. Once you know how to create dynamic forms you need to learn to call informations that store in your database. You should normally call the information you need into a Server-script page then along with script transform an output page to another format such as PDF documents.

In reality, it is more complicated than that because you should validate the form as well... Good luck, I hope this helps.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need to take web page html form and auto fill in access or excel dbase.... Bill R HTML & DHTML 1 05-13-2008 05:05 PM
HTML form question, where does user entered info go? Jacques Strappe HTML & DHTML 0 05-08-2008 09:48 PM
Can someone show me an example of Perl's sendmail using an html form? davidvanpaten Perl 0 05-06-2008 05:05 PM
Create a form in visual Studio and export the form layout as xml to be recreated.? Oso XML & XUL 0 05-06-2008 01:45 PM
html Form mailto Help? ITGUY HTML & DHTML 1 05-06-2008 01:31 PM

Your Ad Here

All times are GMT. The time now is 10:23 PM.