Streaming live at 10am (PST)

Form issues (checkbox and radio button)


#1

I’ve created a form and for some reason:

  1. the checkbox is checked when I click the label but not the box.
  2. Both radio buttons can be pushed together (the idea is only one option can be selected, isn’t it?).
  3. A second click on the radio button doesn’t turn it off.
    What am I doing wrong?

    https://preview.webflow.com/preview/yoramhen?preview=e3cd4195dc2fae5e2b95d94306d870dc

Here is my site Read-Only: LINK
(how to share your site Read-Only link)


#2

I couldn’t get the top checkbox to work at all. The bottom checkbox worked correctly for me.

Your radio buttons are not working because you’ve got a different type of form element between them. If you delete that (as well as the second radio button), then copy/paste your first radio button and change it accordingly, it will work correctly.

I would not expect radio buttons to turn off with a second click, though. I would only expect one to turn off when the other was selected.


#3

Group name for all the radiobuttons must be the same. Do not use the default value “Radio” (seems buggy)

Screenshot_2018-02-01_110247

That’s expected/normal behaviour. If you want them to toggle you’ll have to implement some custom code.


#4

Thank you, @samliew, @Cricitem


#5

This topic was automatically closed 125 days after the last reply. New replies are no longer allowed.