Title: Feature Request &#8211; part two
Last modified: November 22, 2016

---

# Feature Request – part two

 *  [webmasteral](https://wordpress.org/support/users/webmasteral/)
 * (@webmasteral)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/feature-request-part-two/)
 * Please add filters that allow us to set a minimum donation amount. (example no
   less then $2 USD)
 * as from experience I have seen people donate 0.01 as a joke and I get hit with
   a processing fee greater then the 0.01 donated. This stopped once we were able,
   through the old plugin, to reinforce a minimum donation amount.
 * also, if you could add a check box to lock the custom donation box the user can
   enter to only allow hole dollar amounts that would also be much appreciated.
 * here is a sample code snip if it helps
    `<p class="donate_amount"><label for="
   amount">'.__('Your Donation Amount', 'dplus').':</label><br/><input type="number"
   name="amount" id="amount" min="2" step="1.00" required value="'.$dplus['default_value'].'"/
   ><br/><small>('.__('Currency: ','dplus').$cur.')</small></p>`
 * also heres a code snip of the filling bar based on total donation amounts vs 
   donation total
 *     ```
       $donationtarget = $dplus['donate_target']  
       $donationtotal = do_shortcode("[donatetotal prefix='0' suffix='0'  type='0']");
       //remove the spaces
       $donationtotal = intval($donationtotal);
       //Add any fund additions here
   
       if($donationtotal != 0) {
       $percent = ($donationtotal / $donationtarget) * 100;
       if($percent > 100)
       {
       $percent = 100;
       }
       $donationfill = round((100 / 100) * $percent);//190/100
       } else {
       $percent = 0;
       $donationfill = 0;
       }
       ```
   

The topic ‘Feature Request – part two’ is closed to new replies.

 * ![](https://ps.w.org/custom-donations/assets/icon.svg?rev=1538336)
 * [Custom Donations](https://wordpress.org/plugins/custom-donations/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-donations/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-donations/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-donations/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-donations/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-donations/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [webmasteral](https://wordpress.org/support/users/webmasteral/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/feature-request-part-two/)
 * Status: not resolved