Creating a Custom Donation amount using a Checkbox Field

[ad_1]

Has anyone ever used the Form Field Manager’s checkbox text fields to calculate a custom donation amount? I am looking for a way to use the checkbox field to calculate a custom donation amount, for example, let’s say you have 3 checkboxes; “Checkbox 1 $100”, “Checkbox 2 $200”, and “Checkbox 3 $300” and a donor checks checkbox 1 and checkbox 3, the sum would be $400. That amount needs to be passed to the Custom Amount field. I assume you would assign a variable to each checkbox and then sum the variables using .PHP or .JS, but I am not sure. I was wondering if anyone has done this in the past that could offer some guidance. Any Feedback would be greatly appreciated. Thanks

  • This topic was modified 9 hours, 5 minutes ago by osheaw2.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer