• Hi,

    Looking to use the new built in Date field.
    I want to use it for a booking system, ie. start date & end date
    & don’t want it before today, I would like the second date defaults on the calendar month to, on or after first selected date.

    Can the min & max be variable.

    i.e. min = today & not a fixed date

    could you have e.g.
    [date date-1 min:today] To [date date-2 min:date-1]

    Also, could I get two dates to be on the same line, seems to always default to a new line.

    I currently use a jquery & code I managed to piece together elsewhere & works great but is set up as text field.
    My two main problems if I ever upgrade the theme or perhaps something by mistake I think I will have to put the code back in and not coding all the time takes me a while to understand again, even simple copy & paste code in the right place.
    Second, being text as below the field size if bit too long & can get odd formatting on some smaller browser pages, prob a way to fix this in the code but I can’t see where.
    [text Date1From id:Date1From] To [text Date1To id:Date1To]
    [text Date2From id:Date2From] To [text Date2To id:Date2To]
    [text Date3From id:Date3From] To [text Date3To id:Date3To]

    Would be much nicer to have clean setup all in CF7.

    Thanks I/A

    https://www.ads-software.com/extend/plugins/contact-form-7/

  • The topic ‘Date, can Min Max be variables & min e.g. today’ is closed to new replies.