I am looking for a way to allow visitors to this site to enter
information that will be displayed after approval. The catch here is that
for the sake of organization, it would be best have the entries sorted to
separate directories by year (one called "1900" or "1901" and so on).
<FORM METHOD="post" NAME="gateway"
ACTION="/alumni/aluminpt/?action=create&topic=">
<? if ($action == 'create') { ?>
<H3>Graduation Year:</H3>
<SELECT NAME="gyear" onChange="calcTop>
<OPTION
<? if (!$gyear) echo ' selected'; ?>>NA
</option>
<? for ($i = 429; $i < 535; $i++) {
echo '<option value="', $i, (($gyear = $i + 1471) ? '" selected>' : '">'),
$gyear, '</option>'; } ?>
</SELECT>
</P>
<? if ($action == 'create') { ?>
<INPUT TYPE="submit" NAME="&(action);" VALUE="Submit">
<INPUT TYPE="reset" VALUE="Reset">
<? } ?>
<? } ?>
</form>
This is what I've come up with so far, the midgard topic numbers are all
seqential and there are a set number of them, but I can't see how to get
the topic number (the numbers between 429 and 535) to end up in the form
action tag without some sort of javascript, in which case, is there some
way to trade variables to javascript?
Sam
--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org
To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]