Nonprofit Donations - User Pays Transaction Fees

My wife and I are co-founders and creators of PIFster, the Pay It Forward charity, where users donate as little as $1 dollar per month, then suggest and vote on causes that are important to them, and the cause that gets the most votes each month receives the community donation. We currently use a proprietary mobile app and a web app to accomplish this, but it’s becoming prohibitively expensive for a small charity like ours, so I’m slowly moving towards implementing core functionality on our website using Bit Apps (Forms and Flows, specifically).

My main feature request for forms is an option to allow donors to pay the transaction fees. I have played with using a calculated field, if the decision button is selected, and that basically works, but often ends up with 4 or 5 decimal places, which is ugly, and just doesn’t instill confidence in the process.

You can achieve this using smart-tag/JavaScript function with Number and toFixed() in our conditional logic setup. This method will help you control the number of decimal places, providing a cleaner and more user-friendly experience. I’ve attached a screenshot of the conditional logic configuration for your reference—hopefully, it’ll be helpful to guide you through the process!

1 Like

This is great, thank you. When I was looking yesterday, I didn’t see documentation for the Number function. Is there a comprehensive list somewhere of all such functions. Like Calculate, for instance?

Also, is there a way to make the fields update on any changes? The only way I’ve been able to make them update is to toggle the Transaction Fees checkbox. If not, I’m thinking I’d like to add a button that says “Update Totals” or something. I haven’t dived into the available elements, but does that seem like a reasonable alternative to live updates?

Never mind, your example sovled the problem perfectly. Thank you! Here’s a video of the field’s working exactly as I want.