[ic] perl code in mv_check gets executed despite verification
failure
John Allman
interchange-users@icdevgroup.org
Wed Feb 19 10:05:01 2003
Jonathan Clark wrote:
>>Hi - I strongly suspect i'm missing the point of mv_check. If i am can
>>someone tell me the *proper* way to do this? I'm attempting to perform a
>>database operation with form data but i only want the operation to
>>happen if the form passes the verification successfully.
>>
>>I have mv_order_profile set to myprofile in a hidden field in my form.
>>In etc/profiles.order i have defined myprofile. I have mv_check set to
>>performop in a hidden field in my form. Later on that page i have a
>>[seti performop]...[/seti] section with the code i want to execute after
>>verification.
>>
>>
>
>You should be setting your routine using [set] not [seti] - you are
>interpolating and running the code when the page is delivered at the moment.
>
>Jonathan
>www.webmaint.net
>
My bad - it is a [set]. There's a [seti] inside it though. I thought
[seti] inside [set] wouldn't be interpolated?
John