Events Made Easy Forums How do I … enable multiple custom fields on form then have results populate dropdown

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #61414
    Anonymous
    Inactive

    Scenario:

    User visits event with rsvp form. The form has 3 fields for “bike type”. If the user has already entered something in one of those 3, I’d like a dropdown to appear on the rsvp page. If nothing entered, the ability to enter it.

    I get adding special fields and conditional stuff…I’m just trying to figure out how to get a dropdown list of these fields.

    Thanks 🙂

    #61415
    Franky
    Keymaster

    I’m not entirely sure what you mean, but maybe you need “Dynamic data”? See the bottom section of this page: https://www.e-dynamics.be/wordpress/category/documentation/7-placeholders/7-6-registration-form-fields/

    #61416
    Anonymous
    Inactive

    Not really, but kinda?

    So on the registration form, I have 3 fields

    Bike 1
    Bike 2
    Bike 3

    On the RSVP form, I want those fields to show up if empty (that part is easy). If any one of those 3, or even just Bike 1, has data, I’d like a dropdown to appear with the values of Bike 1, Bike2, and Bike 3. The logic of getting something to appear is easy — its the populating a dropdown with the values in those fields that is throwing me for a loop.

    Thanks

    #61417
    Franky
    Keymaster

    Well, I still don’t understand it 🙂 Based on your description, the way I understand is that you have these 3 fields, “Bike 1”, “Bike 2” and “Bike 3” and you want their value to be used in a dropdown, even though people are already entering that data? I’m guessing you want extra info concerning each “bike” based on the number of bikes? Then I’d say to first ask the number of bikes (in a dropdown) and use that to show dynamic data per bike to ask for more info (and that’s what Dynamic Data does for you).

    #61418
    Anonymous
    Inactive

    🙂

    Right. The dropdown would be used for them to select a bike they have already entered during registration (or on their profile) to be used to pull data down the same way the fields autopopulate when logged in.

    If they have not already entered one, they would have the opportunity to during RSVP. The actual number is irrelevant. I just have 3 so that if someone has 3 bikes to choose from in their ‘garage’ they can select which one they are bringing to the event.

    #61419
    Franky
    Keymaster

    Well, in EME I would solve it the way I suggested then (and make sure the fields are of type “people” so the info is stored per person in EME and not per booking.
    However EME currently doesn’t re-use people-info for custom fields in the front end yet, this fixes that: https://plugins.trac.wordpress.org/changeset/2334974/

    #61420
    Anonymous
    Inactive

    Perfect. Thanks Franky

    #61421
    Franky
    Keymaster

    Let me know how it goes. As a demo, check out https://www.bonheidensehondenvrienden.be/lidmaatschap-bhv/ (change the field “Aantal honden”)

    #61422
    Anonymous
    Inactive

    Exactly that, but in reverse 🙂 I think I can get it from there. I’ll be sure to send you the whole project when it’s done so you can take a look 🙂

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