I want to expose an age range in a view (select registered users of age between 25-50) . I tried birthday module and also tried adding a Date of Birth field to user profile using Profile2 Module .

And I think Views Contextual Range Filter works with ranges (25--100) not with dates .

any ideas ? thanks

  • 1
    Solved : used computed field , as described in the below answer
    – brainHax
    Nov 5, 2013 at 10:56

1 Answer 1


Try using the Computed Field module (in beta in 7). You would simply add a new field, of say age, and of Computed type, (follow a walkthrough here) and then use a Filter in the View to select the range of ages that you require.

Hope this helps!

  • Glad I could help
    – KyleM
    Nov 5, 2013 at 11:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.