Initial value of radio buttons isn’t used in calculation #1672
-
I set up a donation form using the instructions on the support page. I created a list of checkboxes for amount, a custom amount field and a calculated field. The checkbox has a default selected option, although the value of the default selected option is not set when the page is loaded. Therefor the calculated amount doesn’t work. And so the Stripe plugin doesn’t load. When I click a radio, the value is set and the calculation is correct. Although the Stripe plugin still isn’t loaded. When I don’t set a default amount, the calculation isn’t working either. Some other things I’ve tried:
Errors and Stack Trace (if available)No response How can we reproduce this?
Freeform EditionPro Freeform Version5.7.2 Craft Version4.13.1.1 When did this issue start?Fresh install of Freeform Previous Freeform VersionNo response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Sorry for the trouble @stefexitable, You should have the Stripe Payment field on Page 2, however. This is important for the reasons listed here: However, I can see that without any action on the Radios field IF it's defaulted to a value (e.g. defaults to That would be the workaround to get this working for you right now. In the meantime, I will see if there's a way for us to make the Calculation be able to recalculate after the form is loaded with defaults, etc, or something like that. It would resolve the issue of using an Amount field with a default value selected (and a user not changing it). 🙂 |
Beta Was this translation helpful? Give feedback.
-
This is now resolved in Freeform 5.8.3+ 🙂 |
Beta Was this translation helpful? Give feedback.
This is now resolved in Freeform 5.8.3+ 🙂