intershop - CountrySelect form field, pre-populate with a country -


how can default populating select drop down list value, in case country u.s.. we've removed other countries list users still required select 1 option.

in addition default value, dependent fields need populated. in intershop, selecting country populates state field. default u.s. , have state field populated on initial request, sans ajax calls.

you have modify pipelines this.

the webform loads based in country code. intershop gets countrycode addressbo or parameter. see viewuseraccount-changeaddress : pipeline used in ajax request load webform when u select country. use same logic load u.s webform (us) when address has not been filled in yet.


Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -