[ic] Need an additional pair of eyes to help find Form Validation problem

DB interchange-users@icdevgroup.org
Thu Dec 5 08:32:01 2002


> Can someone please look at the following snippet of code and help identify what my problem is.
> 
> form:
> <FORM ACTION="[process]" METHOD=POST>
> <INPUT TYPE=HIDDEN NAME=mv_todo VALUE=go>
> <INPUT TYPE=hidden NAME=mv_form_profile VALUE=test>
> [if type=explicit compare="[error all=1 show_var=1 keep=1]"]
> <P>
> <font __FFACE__ size="2">
> <b>We trapped the validation error.</b>
> <br>
> They are shown in <FONT COLOR=__CONTRAST__><b><u>THIS COLOR</u></b></FONT>
> below.
> </FONT>
> </P>
> [/if]
> [error name=testfield std_label="testfield:" required=1]
> <INPUT TYPE=text NAME=testfield size="25" maxlength="20">
> <input type="submit" value="Test Validation">
> </form>
> 
> 
> 
> /etc/profiles.order:
> 
> __NAME__                            test
> testfield=required
> &setcheck=mv_email [cgi testfield]
> &fatal = yes
> __END__
> 
> 
> When I hit the submit button, the page is redirected to my index.html page. I never get any validation taking place. I have restarted the IC server and my cache is clear. I have worked on this for a bit and this is the simplest scenario I can think of to narrow the problem down. I realize I am doing something fundamentally wrong, but can't put my finger on it.
> 
> TIA
> 
> Gary

This post may be of use:

http://www.icdevgroup.org/pipermail/interchange-users/2002-November/029332.html

DB