• Resolved airstreamer

    (@airstreamer)


    I have a situation that for an event, members can arrive a day early, and leave a day after the event. In each case, early, or late, an additional $20 is added to the event fee.

    Using a checkbox, you can set it up with 2 choices, say Thursday, and Monday as a day early, or a day later. Selecting the choices returns Thursday, Monday, or Thursday, Monday to the form.

    I need to add the additional fee of either $20 if only one choice is made, or $40 if both days have been selected.

    Is this possible using a calculated field, in combination with the checkboxes? I have not been able to find a solution

    Thanks for your advice… Tom.

Viewing 1 replies (of 1 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello,

    There are some details not present in your description, however, I’ll try to explain the process with an example. Assuming your current equation is: fieldname1+fieldname2

    and the checkbox field (the fieldname3) includes two choices: for one or two additional days. You simply should enter as the values of the choices the additional price per choice, the number: 20 (the choices’ texts can be what you want), and the equation should be modified as follows: fieldname1+fieldname2+fieldname3

    If these are two separated checkbox fields (for one or two additional days): fieldname3, and fieldname4, the equation would be: fieldname1+fieldname2+fieldname3+fieldname4

    If the checkbox fields are unticked, their values are zero.

    The solution to implement depends of your form’s structure.

    Best regards.

Viewing 1 replies (of 1 total)
  • The topic ‘Calculations using checkboxes’ is closed to new replies.