[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] Profiles for checking without ordering
John Allman wrote:
> Hi - i realise this is a bit of a stupid question but i'm having real
> hassle. can somebody post a simple example of using
> mv_order_profile to
> ensure that fields are filled out correctly in a page when
> that page has
> nothing to do with the order process?
>
im not exactly sure if this is what you are looking for, but
if you say, would like to require certain fields in a form and
it does not have to do with the ordering, then you can do
this:
[set Check_form]
&success=fbresults
&fail=@@MV_PAGE@@
email=required
&fatal=1
[/set]
<form action="[process]" method="post">
<input type=hidden name=mv_todo value=set>
<input type=hidden name=mv_form_profile value="Check_form">
<td align=right>
[error name=email std_label="Your E-mail" required=1]:
</td>
<td>
<input type=text name=email value="[value email]">
</td>
</form>
[seti clear_errors][error all=1 hide=1 comment="Clear errors"][/seti]
> thanks!
>
> John
>
_______________________________________________
Sincerely,
Aaron Hazelton
>>Hazenet<<