Page 1 of 1

Display text field if checkbox is selected for options

Posted: Sat Mar 15, 2014 11:07 pm
by opensesame
Is there a solutions where:
I create a checkbox and asks a users to upgrade to engrave a text (for extra $$$)....
if the user selects the box, I display the textbox and the users types the engraving text


Dependent options extendion
This extensions does everything with a dropdown (Select-type options only). It does NOT work for checkbox
http://www.opencart.com/index.php?route ... on_id=5214

I know I could use a dropdown that say
Engrave ? Yes and NO and then display the textbox
But, that is the last resort.

Anyone have a solutions.

Greatly appreciate the help.

Thanks,
Jason

Re: Display text field if checkbox is selected for options

Posted: Sat Mar 15, 2014 11:29 pm
by billynoah
This would be pretty easy to do with jQuery. Easier still if you wanted to hard code it. I don't know offhand of an extension that does this but I could write it in a couple hours. Inbox me if interested.

Re: Display text field if checkbox is selected for options

Posted: Wed Sep 10, 2014 2:56 am
by gartheman
hey billynoah, did you ever code this up in the end?

Re: Display text field if checkbox is selected for options

Posted: Wed Sep 10, 2014 3:36 am
by billynoah
nope..never heard from anyone.