• 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)
  • This will work

    Set field at numeric
    Put this in the Attribute field
    min::13,max::19,step::any

    Thread Starter zrmg

    (@zrmg)

    @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?

    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.