S
S
Sergey Khlopov2017-11-16 16:55:36
Drupal
Sergey Khlopov, 2017-11-16 16:55:36

How to display submitted webforms for a specific date range?

Hello, tell me please. Here I have a webform, in this webform there is a data field.
I display the fields of this form using the view.
The question is that, how can the function be implemented, displayed with a selection of dates (from what date and to what date). That is, the meaning is this - "show the submitted webform data from 11/16/2017 to 11/20/2017 for example" and the submitted data should appear in accordance with this date range.
While looking for information, I found such a hook views_query_alter, which allows you to change the query to the database, can you use it? Tell me please

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
afi13, 2017-11-16
@afi13

Use filters in Views (what is in the Russian version of "filtering criteria"), they will be quite enough for you, there is no need to alter the request.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question