Hello,
On my form, I have added a checkbox (with a value of 15 in my case).
Under "events" I have:
added a "checked" event with the action "add to"
added a "unchecked" event with the action "subtract from"
Both refer to the same element identifier and my idea was to have the element identifier (which represents a total due amount for the user to pay) to update accordingly.
So checking the box should add the value of 15 to the total amount and unchecking the box should subtract the value of 15 from the total amount.
The adding works fine but when the box is unchecked it also adds the value to the total amount instead of subtracting.
Any ideas here? Am I missing something or maybe not doing something as I should in order to get the result I want?
Kind regards,
Matt.
On my form, I have added a checkbox (with a value of 15 in my case).
Under "events" I have:
Both refer to the same element identifier and my idea was to have the element identifier (which represents a total due amount for the user to pay) to update accordingly.
So checking the box should add the value of 15 to the total amount and unchecking the box should subtract the value of 15 from the total amount.
The adding works fine but when the box is unchecked it also adds the value to the total amount instead of subtracting.
Any ideas here? Am I missing something or maybe not doing something as I should in order to get the result I want?
Kind regards,
Matt.