Title: [Bug] Loop Limits Don&#8217;t Do Anything
Last modified: May 14, 2020

---

# [Bug] Loop Limits Don’t Do Anything

 *  [dkonofalski](https://wordpress.org/support/users/dkonofalski/)
 * (@dkonofalski)
 * [6 years ago](https://wordpress.org/support/topic/bug-loop-limits-dont-do-anything/)
 * I’m having an issue with a loop on our site and I think the issue is with the
   plugin. We’ve created a section where users can add buttons and I’ve set this
   up as a loop called ‘buttons’ which works great. We need at least one button 
   in the section but we can’t have more than 3 so I’ve set the ‘min’ field on the
   loop to 1 and the ‘max’ field to 3. Unfortunately, you can still add as many 
   buttons as you want so the only way for me to limit what’s displayed is through
   a limit on the loop in the template.
 * Am I misunderstanding what these min/max fields are for or is there a bug in 
   the plugin?

The topic ‘[Bug] Loop Limits Don’t Do Anything’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/custom-field-suite.svg)
 * [Custom Field Suite](https://wordpress.org/plugins/custom-field-suite/)
 * [Support Threads](https://wordpress.org/support/plugin/custom-field-suite/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-field-suite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-field-suite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-field-suite/reviews/)

## Tags

 * [buttons](https://wordpress.org/support/topic-tag/buttons/)
 * [loop](https://wordpress.org/support/topic-tag/loop/)

 * 0 replies
 * 1 participant
 * Last reply from: [dkonofalski](https://wordpress.org/support/users/dkonofalski/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/bug-loop-limits-dont-do-anything/)
 * Status: not resolved