UserPro Forums
  • Create new topic
  • Forums
    • No replies topics
    • Newest topics
    • Forum statistics
  • Account
    • Lost password
    • Register
    • Login
  • Documentation
  • Back to main site

Community Forums

User To User Support Forum/Forums/Tutorials / Integrations / How-to/How to: Use the Date Picker Field

How to: Use the Date Picker Field

  • 7 years ago Avataradmin
    Keymaster

    Version 1.0.66 introduces a much requested field type, a date picker, built with CSS3 and jQuery to allow user to choose a date for any field you want. You can see an active example here:

    http://userproplugin.com/userpro/profile/register/

    I am going to explain how to add that field to your forms.

    Step 1

    Create a new field, and choose “Date Picker” as field type. See image

    Step 2

    Move the field to your register/profile forms (Drag and drop the field you created)

    Step 3

    That’s it. You have a fully functional Date Picker field as seen in the Register demo of this website. This is how it looks to the frontend user

    That’s it 🙂

    7 years ago AvatarNexnivis
    Participant

    Is it possible to use the date picker to ask the date of birth of the user, and the field “age” is calculated based on the date entered?

    7 years ago Avataradmin
    Keymaster

    This requires sort of conditional fields programming – While it won’t be ready in that update, I’ll try to cover most date picker options first in this release, and later I can try to program a way to connect age with birthdate (automatically). e.g. you’d need to know the year and calculate it based on current year (say we’re 2014 and user put birthyear 1990 .. it needs some calculations and conditional code 🙂

    I could also integrate this new datepicker feature with user birthdates, like showing who have a birthday today

    7 years ago AvatarNexnivis
    Participant

    Great 🙂 Thx Ahmed !

    7 years ago Avatarkurt01
    Participant

    Hi

    Could it be used as a search field ?

    7 years ago Avataradmin
    Keymaster

    Hi user01 Not, not yet 🙂

    7 years ago Avatarranjith
    Member

    Hi there, just wondering when the additional features such as choosing which years will show and US date format will be added, as I know there was a delay before. Thanks!

    7 years ago Avatarranjith
    Member

    ^ Bumping my post above ^

    7 years ago Avataradmin
    Keymaster

    Yes there’s a delay because I have implemented some bug fixes. I hope it won’t be delayed anymore 🙂

    6 years, 11 months ago Avatarrononline
    Participant

    Is it already possible to display an age field, by using a user birthday?!

    6 years, 11 months ago AvatarTomas Samot
    Participant

    yes it’s possible-only just you have to make it 😀

    Ahmed WONT do all request, cause this pluin will become crap with stupid ideas. H already implemented use of ajax callbacks. with it you can check, validate any field. And if people don’t know php hire someone or learn. I have learned this way php, C# and so on.

    6 years, 11 months ago Avatarranjith
    Member

    Hi again Ahmed, will you be adding the year format features soon? Thank you.

    6 years, 10 months ago Avatarranjith
    Member

    Ahmed, do you plan on tweaking the date picker like we talked about before? Letting us decide which date format to show, which years to show, etc.?

    6 years, 9 months ago Avatarranjith
    Member

    ^ Bumping again, no reply ^

Viewing 14 posts - 1 through 14 (of 14 total)

You must be logged in to reply to this topic.

Disclaimer

This forum is 100% free and USER to USER support only. Technical support staff doesn’t monitor this forum actively.

If you are a customer and want to get technical support from our staff please submit a technical support ticket here: UserPRO Technical Support

Recent Topics

  • How Does Outsourcing Help a Business?
  • MBBS in China, Study MBBS in China, MBBS China Fees 2021
  • Kunming Medical University – Study MBBS from China
  • Multiple edit forms
  • Escort service in Nainital Call at 8171380882| 24*7 Available

About forum

Here you can find help from UserPro plugin developers and other UserPro fellow users. Please be polite and ask your questions. NO SPAM!

Search Forums

Follow us

  • facebook
  • twitter
  • youtube
© Copyright UserPro