Custom Fields
Re-Envisioned
Support MB Frontend Submission Limit the number of "favorites" in radio buttons

This topic contains 2 replies, has 2 voices, and was last updated by  LFFprop 2 months, 2 weeks ago.

  • Creator
    Topic
  • #12411
    Resolved
    LFFprop
    Participant

    I am building a membersite where the members can specify what their specialties are, and what services they offer and which services not.

    This is implemented by a large list of services (radio buttons), and for each service 3 options:
    – favorite
    – offered
    – not offered

    To avoid that a member marks everything as favorite, I want to limit the number of services that he can mark as favorite.

    How to do that?

    Also, I would like to maintain a counter visible on screen, so that he can see how many favorites are marked.
    How would I do that?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #12438

    Anh Tran
    Keymaster

    Hi,

    I think this can be done with custom JavaScript only. So you need to enqueue a JS file, and in that file track the number of choice and show an alert when they select more.

    #12476

    LFFprop
    Participant

    OK, so that will be quite some work. Doubt whether it’s worth the efforts.
    Thanks.

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

You must be logged in to reply to this topic.