OK, I've got it working now. I just edited the 5.4.1 version of <interchange>/code/Widget/country_select.widget I changed line 224 from: var str = '<select name="$svar_in" onChange="$v_formv.$svar.value = this.value;">'; to: var str = '<select name="$svar_in" onChange="$v_formv.$svar.value = this.value; $v_formv.submit();">'; It may be possible that this will create problems if checkout other than express is used, but oh well, it works now. On Thursday 05 October 2006 06:54, havoc wrote: > Still not working, but I've found some more stuff out. > 1) The option to the country_select widget is "state_extra", not > "state-extra" as stated in the CVS commit log. > 2) The CVS code looks like the value of state_extra is not added to the > <select> anyway, but I may just not understand it. > > Maybe I'm just not understanding the way things function, but I don't see > how it's possible for sales tax to ever be properly calculated in express > checkout without a user account with the current codebase. > > On Thursday 05 October 2006 05:22, havoc wrote: > > It does not work. I had also tried > > extra='onChange="this.form.submit();"', and several other variants. > > I also tried upgrading code/Widget/country_select.widget from CVS ( see: > > http://www.icdevgroup.org/cgi-bin/cvsweb/interchange/code/Widget/country_ > >se lect.widget ) and using the state-extra attribute of the country_select > > widget but it didn't work at all and I had to revert back to the original > > from 5.4.1 > > > > On Thursday 05 October 2006 00:25, David wrote: > > > > refresh the displayed sales tax in the shopping cart portion when the > > > > state is changed and prior to final order placement? > > > > > > I am not sure if it is still valid but previous versions used: > > > onChange="this.form.submit()" > > > > > > So the following might work ... > > > [display name=state type=state_select onChange="this.form.submit()" > > > value="[value state]"] -- - havoc _______________________________________________ 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.