I understand how to set up the input fields, name the input fields, and assign the appropriate action. The problem is I dont understand how to display this information in the particiapants.htm page. Thanks for any help.


<form name="input" action="/tournament/participants.htm" method="get">
Gamertag:
<input type="text" align="center" name="gamertag" maxlength="16">
<br>
Email address:
<input type="text" align="center" name="eaddress" maxlenth="30">
<br>
<input type="submit" value="Submit">
</form>

You don't. Forms are meant to be processed by a server side language, which will process the results (store them in a database? do calculations with them? etc.) and return a new HTML stream.

HTML itself CANNOT process a form. So your action tag, submitting back to an HTML file, won't do anything at all.

The missing piece is "server side language". Pick one: my vote/recommendation is for PHP. Daniweb has a very good PHP forum, btw.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.