[SOLVED] Custom field how to require a specific choice?

edited September 2012 in Newsletter plugin
I created a custom field with newsletter called (TOS) terms of service

The field type is 'radio buttons' with 2 options (yes, no).

I set the TOS field as required and gave it an error message if not completed.

What I can't figure out:
How do I make it so that the user has to choose (Yes) in order to submit the form?

It does me no good to have a TOS field set to required if the user can select NO, and still register.

Make sense?



  • 3 Comments sorted by
  • Vote Up0Vote Down
    Thank you for your post.

    Best solution is to create a checkbox custom field.
    It will have one option/checkbox "Yes, I agree to your terms and conditions".
    If checked/ticked, the user agrees, if not, the error message will be shown.

    Please let me know if this helps you.

    All the best,
  • Vote Up0Vote Down
    That's fine, for now I will use a checkbox field.

    Would be nice to add in the conditional logic for checkboxes in the future though.
  • Vote Up0Vote Down
    Thank you for your response.

    I'm glad to hear that the checkbox works fine for you.
    We'll make a note of this conditional logic so that we can consider making it available in the future.
Sign In or Register to comment.