0

I am looking to display entries based on a custom date field using Solspace Super Search.

I want to be able to use a date picker to select a date in a search form and then use Super Search to only show entries based on that particular date, no entries before or after it.

The dates are stored in EE using a native EE date field.

My field name is next_box

Thanks

0

Set your field name to: next_box-exact

Then. SuperSearch will return only those entries that match that date.

| improve this answer | |
  • Do i use a search value like yyyy/mm/dd or does it have to be a time stamp? – zizther Aug 19 '13 at 14:29
  • The EE date field stores as unix time. i. e. 2013-08-19 is stored as 1376884800 – Jim Wyse Aug 19 '13 at 15:19
  • Thanks, so if i was using the jQuery UI date picker would i need to convert the value before searching? – zizther Aug 19 '13 at 15:23
  • Yes, that is true. Another option would be to not use the date field and store the data as text. – Jim Wyse Aug 19 '13 at 15:33
  • Good idea! Maybe a work around. – zizther Aug 19 '13 at 16:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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