How to allow adding several options and to collect payment for the number of options added?

  • jkilpat3
    Asked on April 22, 2018 at 11:12 PM

    Usually I have individual players sign up for my league. This season, I want to sign-up teams as well.

    What would be the best widgets and/or way to do so? I will need to capture contact information, sizes, waivers, ect. for each individual on the team.

    Ideally, a coach or captain would input the information for each player on their team and pay the total amount for the number of players they've entered. 

    I also need to have multiple selections for payment such as "registration only" and "registration + jersey". Returning members wouldn't pay for jersey's, but new members would. And, I want all this data kept together. 

    How would I do this?

  • Victoria_K
    Replied on April 23, 2018 at 7:10 AM

    Hello,

    As far as I understood your idea, it doesn't seem to be possible to implement with a single widget. 

    But, I can suggest several options, which might help you to develop the form. 

    Configurable List widget could be useful for the coaches to add multiple players and to enter their contact information to different types of fields. 

    Related guide: How-to-Set-Up-the-Configurable-List-Widget

    But, please note that we do not support calculations for Configurable List widget fields, so the number of players must be entered manually into another field to include it in calculations.

    Another approach is much more time consuming. You can create sections for each player and to show only the number of sections based on coaches choice. It can be done with conditional statements: How-to-Show-or-Hide-Fields-Base-on-User-s-Answer

    As your form is considered to handle complecated calculation, I can suggest to pass it's result directly to the payment field. 

    Related guide: How-to-Pass-a-Calculation-to-a-Payment-Field  

    I also need to have multiple selections for payment such as "registration only" and "registration + jersey".

    You can increase the total amount by adding a conditional statement, which would take the total amount and add some value if the answer is "registration + jersey".

    Here are some more guides, which would help:

    How-to-Perform-Form-Calculation-Using-a-Widget

    Smart-Forms-Using-Conditional-Logic

    Hope this helps. But, if you face difficulties on any of the steps, please get back to us.

    Thank you.