Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi gvaslin,

    I think the easiest way to do that is setting the filter for the field submit_time to “today”.

    filter="submit_time=today"

    Just add this to your shortcode and the plugin will show only the data from today.

    -Markus

    Plugin Author Michael Simpson

    (@msimpson)

    Thread Starter gvaslin

    (@gvaslin)

    Thanks for your answers ! It’s Okay now.

    Thread Starter gvaslin

    (@gvaslin)

    Sorry to bother you guys but I can’t achieve my goal !
    I’ve read the documentation and the help that you gave to me but I can’t find how to do what I’m looking for or it doesn’t work
    In a part I have a form with a date field and some other fields below.
    In a second part I want to get back datas of the previous form filtering on the current day (the day I make de request)

    PS: the date of the day is send under the jj/mm/aaaa format

    Please help ! :’)

    Guillaume

    Plugin Author Michael Simpson

    (@msimpson)

    Post what your short code looks like.

    Thread Starter gvaslin

    (@gvaslin)

    Here is my shortcode to request results for the current day :

    [cfdb-value form="APPEL - CM2G" show="andre" filter="submit_time=today"]

    Thanks for your help !

    Plugin Author Michael Simpson

    (@msimpson)

    Try
    [cfdb-value form="APPEL - CM2G" show="andre" filter="submit_time>=today"]

    Thread Starter gvaslin

    (@gvaslin)

    Big Thanks Michael ! It works, exactly like I want !

    Thanks for your help and your reactivity !

    Guillaume

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Select data for the current day’ is closed to new replies.