[ic] Data validation using mv_click

Tim Nelson interchange-users@interchange.redhat.com
Thu May 16 15:48:01 2002


I've have a form that updates the a database
table just fine.  Now I want to be able
to validate some of the data using mv_click
(unless there is better way) like:

[set Check It]

.... validate the values ....
.... if bad data,  set an error in scratch
                   and push back to the same page
.... else 
         set mv_data_enable=1
         move on to value set in mv_nextpage

[/set]

<INPUT TYPE=HIDDEN NAME="mv_click" VALUE="Check It">

Basically I want to halt the update if I find
bad data and redisplay the page.
Thanks.

__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com