Events Made Easy Forums How do I … YES / NO Registration

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #52749
    Anonymous
    Inactive

    Hi,

    I would like to know how could I do the following:

    I’m using EME for a field hockey team, I would like to use events as a call for training and matches. We would like to know who will play or who wouldn’t so instead of a dropdown for SEATS i would like to set a couple of radio boxes, YES and NO. A player cant reserve more than 1 “seat” for himself so dropdown doesnt make sense player could say, YES, I will play or NO, I wont.
    Could be a YES button and a NO button also, or any other solution.

    Doing this, everybody will know who will play and who will not (Important for coaches).

    This is the URL to my events page: http://beta.cdhockey-lmusoz.com/eventos/

    Thanks in advance,
    David.

    #52751
    Franky
    Keymaster

    You can use the seats with values 0 and 1 for that.
    If you want, hide the seats field (use CSS or jquery for that), create your a custom form field (EME supports that too) and use jquery to update the value of the seats booked when they choose yes or no.

    #52752
    Anonymous
    Inactive

    Hi Franky,

    Great!!, So:

    1- I could use 0 to NO and 1 to YES
    2- Hide dropdown with CSS
    3- Create a new custom field, 2 radio buttons
    4- Jquery script to modify dropdown field when select radio button

    This way I could print the list of attendes. How could I print the list of the people that say NO?

    Thanks,
    D.

    #52753
    Franky
    Keymaster

    In the CSV export and the print overview you should have all the info, including the number of seats booked and the answers to the custom field (if the custom field is created via EME).

    Edit: also the shortcodes for the bookings or attendees (or the placeholders for those) also can show this info on a regular WP page.

    #52755
    Anonymous
    Inactive

    Everything working!

    I’m trying to show a list of attendees with 0 reservations and other list with attendes with 1 reservation. Im using #_ATTENDEES and conditional tags, but I can’t find the way.

    Right now, I get a list with all the attendees mixed.

    This is a great plugin,
    Thanks!
    D.

    #52756
    Franky
    Keymaster

    I think there’s a way to do that: if you use the eme_attendees shortcode (just replace the #_ATTENDEES placeholder), like this:
    [eme_attendees id=#_EVENTID]
    then you can use a template for that shortcode (like described here: http://www.e-dynamics.be/wordpress/?cat=54 ).
    In your case, by changing the template for the attendee list-entry to use a conditional tag, you could check for the value of #_ATTENDSPACES.
    So, create a template that contains e.g. for those that have 1 reservation:

    
    [eme_if tag='#_ATTENDSPACES' value='1']
    #_ATTENDNAME #_ATTENDEMAIL
    [/eme_if]
    

    And call that template in the eme_attendees shortcode (replace xx with the id of the template just created):
    [eme_attendees id=#_EVENTID template_id=xx]

    That should then give you the list of those that will attend (although: untested, I’d need to check if I evaluate conditionals inside that shortcode …)

    #52757
    Anonymous
    Inactive

    Cool, it works!

    Thank you very much,
    D.

    #53873
    Anonymous
    Inactive

    Hi figu78,

    I would like to do the same thing as you did. My situation is that I have multiple events where each person can only book one seat. So on my multievent booking form checkboxes would be much better than a 0/1 dropdown menu. Please could you let me know what you added to EME make this work. I am reasonably familiar with website coding but I don’t know jQuery and I cannot even find the relevant CSS that controls the forms layout in EME.

    Any help appreciated.

    Chris

    #53875
    Franky
    Keymaster

    In the current version you can set the option to “take attendance only” when creating/editing an event, that will then show a yes/no form.
    For CSS: use firebug or firefox web developer.

    #53878
    Anonymous
    Inactive

    Franky

    Brilliant – having a YES/NO dropdown that defaults to NO is arguably better than a checkbox, so I will go with that. EME is an amazing piece of work, just started using it last week, excellent config option, hugely appreciated. Donation on its way.

    Chris

    #53890
    Anonymous
    Inactive

    Hi Chrisg,

    If you need help, just send me a message, but I think you got it!

    Cheers,
    D.

    #56799
    Anonymous
    Inactive

    Hi Franky,

    I am working on a project similar to the above and I would like registration to only require the yes/no field. Since everybody needs to be a registered user, is there a way to set the require fields automatically to the login name and email (I can hide fields)?
    Thanks

    #56800
    Franky
    Keymaster

    When defining the RSVP settings for the event, use the option “Require WP membership” and you’e good to go.

    #56803
    Anonymous
    Inactive

    Wow. Fast reply but not what I was asking.
    How do I set #_LASTNAME to the login last name and #_EMAIL to login email?
    Or is the same variable?

    Thx

    #56805
    Franky
    Keymaster

    Yup.

Viewing 15 posts - 1 through 15 (of 15 total)
  • The forum ‘How do I …’ is closed to new topics and replies.
Scroll to Top