[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] Data validation using mv_click
On Thu, 2002-05-16 at 15:48, Tim Nelson wrote:
> 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]
[set Check It]
field1=required You need a value here
field2=email You need a valid email address here
[/set]
>
> <INPUT TYPE=HIDDEN NAME="mv_click" VALUE="Check It">
<INPUT TYPE=HIDDEN NAME="mv_form_profile" VALUE="Check It">
See [error] tag for displaying errors.
--
Bill Carr
Worldwide Impact
bill@worldwideimpact.com
413-253-6700