Need different invoice numbers depending on what program is chosen on form

  • joanfeldman
    Asked on August 5, 2018 at 9:46 PM

    I created a form that has 3 different program options. I need a different invoice number for each program. For example, Gold should always be YR19, Silver should always be HAB19 and Bronze should always be HAF19 or B619. I have been able to get it to work for all programs when they choose the "member option" but if they choose "non-member" it won't work. I cannot figure out why.

  • roneet
    Replied on August 6, 2018 at 4:29 AM

    On checking the cloned version of the form. I found that there are multiple similar fields in the form which has made your form very complicated and confusing.

    For example:

    You should choose the below option as Radio button in spite of checkboxes. Since checkboxes allow you multiple selections so when both the condition are selected then I found "BT in the AM: Please select one class per time slot" field is repeating twice in the form. With a single entry of this field also you can hide and show based on your radio button selection. This will minimize your code and you can write conditions properly too

    Need different invoice numbers depending on what program is chosen on form Image 10


    In spite of writing condition based on "Are you a Beth Tfiloh Congregation" (Member/ Non- member) you can simply write condition based on the selection of Package option under Gold/Silver/Bronze category as you want to generate different invoice number devoid of the selection of member/non-member.

    For example whenever you select an option under a non-member Gold category --> "Yaffe Scholars, BT in the AM, Fall Semester, Book Club" is Filled

    or

    Under a member Gold category -->"Yaffe Scholars, BT in the AM, Fall Semester, Book Club" is Filled

    This should insert invoice number in the hidden text field as YR19

    Need different invoice numbers depending on what program is chosen on form Image 21

    Please let us know if you need further clarification on this. We would happy to assist.

    Thanks.


  • joanfeldman
    Replied on August 6, 2018 at 8:50 AM

    The reason I did those as multiple choice is because I want people to have the option to click on and off and I was told that with single choice you don't have that option. Also, I need them to choose member/non-member separately so that they don't see the pricing for each other.

  • joanfeldman
    Replied on August 6, 2018 at 9:53 AM

    I got it to work! Thank you!