[ic] conditionally call mv_form_profile
mike at perusion.com
Sat Jan 29 13:31:50 EST 2005
Quoting Tom Hodder (tom at ecnow.co.uk):
> I have a form which uses a;
> <select name=country onChange="this.form.submit()">
> to update the form if the country select is changed, therefore I don't
> want the form profile to be executed if that is changed, I just want the
> form to update with the new country options.
> I had a
> <INPUT TYPE=hidden NAME=mv_form_profile VALUE="new_account_check">
> in my form, but this was being executed when the country select was
> changed. So what I want to do is conditionally execute that form profile
> only when the form is submitted via the submit button.
> so I removed the mv_form_profile from the form, and added this to the
> submit button code;
> text="[L]Place Order[/L]"
> wait-text="-- [L]Wait[/L] --"
> style="font-weight: bold"
That doesn't work because mv_form_profile happens before mv_click.
<select name=country onChange="
this.form.mv_form_profile.value = '';
Perusion -- Expert Interchange Consulting http://www.perusion.com/
phone +1.765.647.1295 tollfree 800-949-1889 <mike at perusion.com>
There's nothing sweeter than life nor more precious than time.
More information about the interchange-users