Skip Navigation

[Resolved] Radiobuttons – labels not clickable

This support ticket is created 5 years ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 2 replies, has 2 voices.

Last updated by matteoM-6 4 years, 11 months ago.

Assisted by: Luo Yang.

Author
Posts
#1605651

Tell us what you are trying to do?
I am trying to display a simple radio button filter in a view but the label is not clickable and just the input it is.

I see that the fields are not grouped in a

  • or similar, and I remember something different in the past:
    <input id="area-" class="js-wpv-filter-trigger" name="wpv-area" type="radio" value="0" checked="checked">
    <label for="area-" class="radios-taxonomies-title">Everything</label>

    What is the link to your site? (the issue is on this page)
    hidden link

  • #1606543

    Hello,

    I have tried the HTML codes in my localhost, it works fine, the labels are clickable, and it can check the radio input too.
    Then I checked source HTML codes of the URL you mentioned above:
    view-source:hidden link
    Search the codes: id="area-", you will get two results.

    It seems you have put the same custom search form in two different places of above page, it conducts the problem, two HTML elements are using the same HTML ID, I suggest you try to remove the unused one, and test again.

    #1616551

    Hi Luo,

    For now, I have found another way but the problem hasn't been solved yet.
    I will re-open this ticket if needed in the future.

    Thanks,
    Matteo