Title: Number range
Last modified: March 17, 2019

---

# Number range

 *  [zrmg](https://wordpress.org/support/users/zrmg/)
 * (@zrmg)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/number-range-2/)
 * Hi,
 * I would like to create an “age range” field in the database.
    For example my 
   database is for different sports clubs and I want one of the fields to be “age”.
   Let’s say that one of the entries is for people who are 13-19 years old. How 
   can I enter this without having to enter all the numbers (13,14,15,16,17,18,19)?
   And in the front-end on the search form I want to be able to input just one number
   which is included in those ranges?
 * I hope that you understand my problem and are able to help me.
 * Kind Regards

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [supernova42](https://wordpress.org/support/users/supernova42/)
 * (@supernova42)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/number-range-2/#post-11323787)
 * This will work
 * Set field at numeric
    Put this in the Attribute field min::13,max::19,step::any
 *  Thread Starter [zrmg](https://wordpress.org/support/users/zrmg/)
 * (@zrmg)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/number-range-2/#post-11323831)
 * [@supernova42](https://wordpress.org/support/users/supernova42/) Thank you very
   much for your reply!
    But that will actually limit all my entries in that field
   to just 13 to 19, right? I want to be able to create different values. For one
   entry the age might be 13-19, but for another one it might be 14-18. Is that 
   somehow possible?
 *  [supernova42](https://wordpress.org/support/users/supernova42/)
 * (@supernova42)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/number-range-2/#post-11323838)
 * Yes it will restrict to just 13 to 19
    How are you going to define these entries?
 * You say different Sports Clubs. Well you would have to have a field with an age
   limit 13-19 for one club and a field 14-18 for the other sports club. You would
   then filter those fields depending on which sports club is using it.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Number range’ is closed to new replies.

 * ![](https://ps.w.org/participants-database/assets/icon-256x256.jpg?rev=1389807)
 * [Participants Database](https://wordpress.org/plugins/participants-database/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/participants-database/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/participants-database/)
 * [Active Topics](https://wordpress.org/support/plugin/participants-database/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/participants-database/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/participants-database/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [supernova42](https://wordpress.org/support/users/supernova42/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/number-range-2/#post-11323838)
 * Status: not resolved