Help - Search - Members - Calendar
Full Version: Forms Help
Zymic Webmaster Forums > Zymic Free Web Hosting > Zymic Free Web Hosting - General Discussion & Help
user1983
ok, well i'm no web design pro, so i'll try to explain what i want. i wondering if anyone knows how to create a form that users can input the requested data and when they've pressed 'submit', the collected data will automatically be created on a new page and a link to that page created on another page. Even if no one knows how to do this, maybe if someone can tell me what this is called so i can google it, and maybe find a template/script or whatever. Thanx!
k.digennaro
Hey user,
I'm not exactly sure what your talking about, could you provide a better explanation? Or a link with an example?

I can tell you that forms are pretty simple for create, for a form to work probally you need input and output data. I could type this all out again, or just give you the link. http://www.w3schools.com/html/html_forms.asp.


Forms can also be created in PHP and pretty much every coding language.

For simplicity I would suggest either PHP or HTML, HTML is easier but PHP allows you to do more, HTML might suit your needs just fine.

If you're interested in PHP check out this site, http://www.scripts.com/php-scripts/. This is where I go for scripts when I don't want to write my own.

If you provide a better explantion I can help your further.

Good Luck,
Kevin DiGennaro
user1983
http://www.usedvictoria.com/FormInsertUsed...gory_code=autos

if someone filled out this form, the resulting ad would be given its own page, with a smaller ad and link on another page. Thankyou for your help btw, and i'll check out those links you gave me aswell. i'm definately a begginner, but i'm determined to figure this out without paying someone to do it for me!

ok, i just looked at the php page, and found something called classified ad scripts, haven't read it all yet, but looks like something i might be looking for...
k.digennaro
Alright here is the input value of your form:
CODE

<html>
<head>
<title> </title>
<style>
#form{
background-color:yellow; /*change the color of your background here*/
border: 5px solid black; /*set a border if you choose*/
width:50%;/*set the width of your form*/
height:50%;/*set the height of your form*/
}
</style>
</head>
<body>
<center>
<div id="form">
<form>
First Input:
<input type="text" name="firstline">
<br>
Second Input:
<input type="text" name="secondline">
<br>
<br>
Text Box
<br>
<textarea rows="10" cols="30">
Input Text Here
</textarea>
<br>
<br>
Third Input:
<input type="text" name="thirdline">
<br>
Fourth Input:
<input type="text" name="fourthline">
<br>
<br>
<input type="radio" name="nameofbutton" value="First"> First option
<br>
<input type="radio" name="nameofbutton" value="Second"> Second Option
<br>
<br>
<input type="radio" name="nameofbutton" value="Third"> Third option
<br>
<input type="radio" name="nameofbutton" value="Fourth"> Fourth Option
<br>
<br>
Drop Box:
<select name="Drop Box">
<option value="one">One</option>
<option value="Two">Two</option>
<option value="Three">Three</option>
<option value="Four">Four</option>
</select>
<br>
<br>
Line of text:
<input type="checkbox" name="entername" value="One">
<br>
Line of text:
<input type="checkbox" name="entername" value="Two">
<br>
Line of text:
<input type="checkbox" name="entername" value="Three">
<br>
Line of text:
<input type="checkbox" name="entername" value="Four">
<br>
Name Here:
<input type="text" name="user">
<input type="submit" value="Submit">
</form>
</div>
</center>
</body>
</html>



I'll work on the output and reply.

Hope that helps some what,
Kevin DiGennaro
k.digennaro
Edit: I'm not exactly sure what you want your output to do, and to be perfectly honest I don't use forms very often so I'm not great with output values (they're more complex than the input). I do know that if you want the submit button to redirect to a url you simply add this code above where the actual form starts.
CODE
<form ACTION="http://www.nascentdescent.com/formout.html" METHOD="GET">


Now if you wanted to post data on that your site you'd change the
CODE
"GET"
to
CODE
"POST"
but it's not quite that simple hopefully some one can come and help you out further with Output data.


Edit: Apparently there are websites that generate forms for you, here's one, http://www.formspring.com/
user1983
Wow, thanx so much, i'll try this out after dinner (its 7pm where i am), and tell you how i did. this may be a dumb question, but is this php or html code? just so i knew where to start, thanx smile.gif
k.digennaro
Haha no such thing as a stupid question. This a an html code, I would suggest opening a copy of notepad and copy and pasting my exact code into it. Then save it as something like "form.html" make sure you include the ".html". Then go into your web browser and click file/open/form.html. This way you can see the results of what this code does, after that you can better understand it and modify it to your liking.

Good Luck,
Kevin DiGennaro
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.