[ic] form validation - simplest possible

Jeff Dafoe interchange-users@icdevgroup.org
Tue Nov 19 20:09:00 2002


> > <html>
> > <body>
> > <form action="[process]" method="POST">
> > <input type=hidden name="mv_session_id" value="[data session id]">
> > [error name=textfield std_label="Generic Textfield" required=1]
> > <input type=text name="textfield"><br>
> > [button name="mv_click" value="continue"]
> > </form>
> > </body>
> > </html>
>
> Have you tried to close the [button] tag ? Check the resulting HTML code.

    The button tag outputs:

<INPUT TYPE="submit" NAME="mv_click" VALUE="continue">

    in the HTML, in this case regardless of whether it is closed or not
(although I assume it should indeed be closed).  The outputted HTML, which
looks OK to me, is:

<html>
<body>
<form action="http://shop.sophee.com/sophee/process.html" method="POST">
<input type=hidden name="mv_session_id" value="G8AUNC9J">
<B>generic Textfield</B>
<input type=text name="textfield"><br>
<INPUT TYPE="submit" NAME="mv_click" VALUE="continue">
</form>
</body>
</html>

Thanks,
Jeff