Hello. I have a Search Page to allow Form Submission assets to be searched based on a date range. In the Search Fields screen I'm targeting the submitted Asset Attribute. Doing so prompts input fields to appear in the UI (via the Data Source keyword replacement). However, upon running the search based on a "From" and "To" date, no results are returned.
The submitted attribute value is in the format, e.g., "2016-01-20 22:30:19". However, the "From" and "To" input fields printed by the keyword replacement in the Initial Search Page Layout bodycopy don't include fields for the "h:i:s" portion of the submitted attribute value, and I wonder whether this is causing the problem of no results being returned.
In the HTML that Matrix spits out, I notice that there are eight hidden fields with the following names|values:
- queries_test_query_fromshow | ymd
- queries_test_query_fromvalue[h] | --
- queries_test_query_fromvalue[i] | --
- queries_test_query_fromvalue[s] | --
- queries_test_query_toshow | ymd
- queries_test_query_tovalue[h] | --
- queries_test_query_tovalue[i] | --
- queries_test_query_tovalue[s] | --
I've amended the values of the "h:i:s"-specific fields to "00", and the other two to "Y-m-d H:i:s", and have submitted the form to no avail.
Form Submissions are being indexed, and I'm able to search on other Asset Attributes (such as current_page).
Does anyone know whether it's possible to tweak the form to send the data in a format that Matrix will be able to use to search against the submitted attribute?
Any advice appreciated :-)
Cheers
Version: Matrix v4.14.1