Events Made Easy Forums How do I … Conditional booking

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #54182
    Anonymous
    Inactive

    Hello,

    I’ve been trying to use conditional tags to have the user select the kind of booking they want (Sponsor, vendor, or supporter) and then show a menu with more options for their selection. Example: Vendor has 3 different types (Food, Retail, Non-profit), each with its own seat value, price, and user terms.

    Right now the radio buttons appear but nothing happens when they are selected. What can I change to have it show the new options? Thanks!

    <table class='eme-rsvp-form'>
                <tr>Sponsor, Vendor, and Supporter Registration</tr>
                <tr><th scope='row'>Registration type: </th><td>#_FIELD{29}</td></tr>
                         [eme_if tag='#ESC_FIELDVALUE{29}' value='Sponsor']
                         <tr><th scope='row'>Message for Sponsor goes here.</th></tr>
                         [/eme_if]
                         [eme_if2 tag='#ESC_FIELDVALUE{29}' value='Vendor']
                         <tr><th scope='row'>Food Vendor Table: ($175)</th><td>#_SEATS{1}</td></tr>
                         <tr><th scope='row'>Product and Service Vendor Table: ($150)</th><td>#_SEATS{2}</td></tr>
                         <tr><th scope='row'>Non-Profit Table: ($60)</th><td>#_SEATS{3}</td></tr>
                         [/eme_if2]
                         [eme_if3 tag='#ESC_FIELDVALUE{29}' value='MD']
                         <tr><th scope='row'>Message for Supporter goes here.<br /></th></tr>
                         [/eme_if3]
    #54183
    Franky
    Keymaster

    Conditional tags are evaluated at server side before being shown to the client, so this will not work for you.
    You need to do some jquery and show/hide the fields based on the value of your dropdown field of choice.

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