Support » Plugin: Contact Form 7 Multi-Step Forms » Adding images next to radio buttons

  • Resolved jleahy


    Hi there. Testing out the plugin. Nice so far! Question:
    I’d like to add an images next to each of radio button for one question on a form.
    I hacked a way to do it by having the same button id on each line and an image before each. But the last radio is always selected. Is there a way to do this?
    My hacked way:
    [radio radio-294 use_label_element default:1 “Sedan”]
    [radio radio-294 use_label_element default:1 “Tesla”]

    Since there are 7 radio buttons, I’d really like to have the first one selected by default.

    The usual way is:
    [radio your-sports label_first default:1 “sedan” “tesla” “SUV”]

    Your plugin is nice.
    Jim L.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author webheadcoder



    I might be misunderstanding your question, but you if you want the first one selected, you could try take out “default:1” from all the radio elements except for the first one. So it would be something like:

    [radio radio-294 use_label_element default:1 “Sedan”]
    [radio radio-294 use_label_element “Tesla”]
    [radio radio-294 use_label_element “Truck”]
    [radio radio-294 use_label_element “Van”]

    Thanks for the reply. After a bit of tweaking, I ended up putting default:1 with the first radio, default:0 on the others. Based on your suggestion, seems like default:0 is unnecessary. But got it to work. Thanks.
    I’ll definitely keep this plugin on my list for other clients that require images/pro version.

    Plugin Author webheadcoder


    great! thanks for the update

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.