Support » Plugin: WPAdverts - Classifieds Plugin » date picker in custom field

  • Resolved felixghy

    (@felixghy)


    is there a way I can add date picker or something to allow user to choose a date? as well as validate the date?
    thank you

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Greg Winiarski

    (@gwin)

    This will require some custom programming, you would need first to add some class like “my-date-picker” to a field which should contain the date picker (you can do this using either Custom Fields or Forms API), once you do that you will need some datepicker script and code to apply the date picker to tags with “my-date-picker” class.

    i see. i saw you have 4 component on customize form add-on, do you have plan to roll out this component? I probably can wait if it is part of your release. thanks

    hi greg, i dig around but seems cannot figure it out. do you have a sample code and instruction on this? thank you very much!

    Plugin Author Greg Winiarski

    (@gwin)

    I am planning to add a field to Custom Fields add-on which will allow using date picker but right now i cannot tell when this will be available.

    I will add a code snippet explaining how to do that to wpadverts-snippets next week.

    kowalski

    (@jankowalski)

    can you add a code snippet for this and explain how to create field sorting ads by date?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘date picker in custom field’ is closed to new replies.