• I always thought that “*” is the way Contact Form 7 makes a field “required” in the code.

    However I want to get rid of all required fields as I test my form.

    … So I got rid of all the “*”… Yet the required fields remain!

    – Is there some other way the fields are being made “required”?

    – How can I make none of the fields “required” without starting over again?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Jim Reading

    (@gymreading)

    Turns out it’s just the radio buttons that remain “required”. Are radio buttons automatically “required” fields?

    anonymized-15380454

    (@anonymized-15380454)

    With a single radio button, you may only check or don’t check it.

    Because once you checked it, it remains checked. Unless you use some JavaScript code to toggle between “checked” and “unchecked”.

    If you need a single field where users can check or uncheck it, then use a checkbox.

    For example, if you want an “I agree to the terms & conditions” field, you can:
    ● Use a single checkbox.
    ● Or use two radio buttons — one being a “yes” and the other a “no”.

    (But you can also use a single radio button for that kind of field, where users must check the button.)

    And yes, in Contact Form 7, an asterisk (i.e. *) after the field type (e.g. checkbox*) indicates a required field. Except for single radio buttons, where by default, it becomes a “required” field once checked.

    • This reply was modified 8 years, 3 months ago by anonymized-15380454.
    anonymized-15380454

    (@anonymized-15380454)

    Are radio buttons automatically “required” fields?

    — Actually, yes. 😀

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Does “*” mean “required field”?’ is closed to new replies.