![]() |
Show additional fields at customer checkout only if a checked box is checked
Hello,
I would like to show the additional fields at customer checkout only if a new checked box is checked ( like Ship to a different address). Can some one help me please? |
Re: Show additional fields at customer checkout only if a checked box is checked
|
Re: Show additional fields at customer checkout only if a checked box is checked
Look at how "ship to..." is done and replicate it or you can also use jQuery toggle to show/hide a div
|
Re: Show additional fields at customer checkout only if a checked box is checked
Quote:
Thanks a lot for your reply, but i can't until now make this works. Can you please help a little bit more. Thanks in advance, Chris |
Re: Show additional fields at customer checkout only if a checked box is checked
We did something like this by adding an onclick to the checkbox which points to a function like this:
Code:
function toggleOtherFields(c) { Code:
onclick="toggleOtherFields(this)" |
All times are GMT -8. The time now is 11:22 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.