Quoting Tom Hodder (suppressed): > Hi, > > 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; > > [button > text="[L]Place Order[/L]" > wait-text="-- [L]Wait[/L] --" > form=checkout > class=button3 > style="font-weight: bold" > ] > mv_form_profile=new_account_check > mv_click=NewAccount > [/button] That doesn't work because mv_form_profile happens before mv_click. <select name=country onChange=" this.form.mv_form_profile.value = ''; this.form.submit(); "> -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.765.647.1295 tollfree 800-949-1889 <suppressed> There's nothing sweeter than life nor more precious than time. -- Barney _______________________________________________ interchange-users mailing list suppressed http://www.icdevgroup.org/mailman/listinfo/interchange-users
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.