• Resolved markom99

    (@markom99)


    Hello, I am trying to make a form with a date field and I want to fill the data automatically from my link. For context, I am making a reservation form and the date of reservation is passed with the link because you are making a reservation for a certain party event.

    This is the parameter in the link I’m opening the page with the Contact Form 7 form:
    ?event-date=2023-12-09&event-time=20:00

    For example the event-time is passed correctly in a text field, but the date field is just shown as text instead of showing an input:
    [date* event-date placeholder “Datum” default:get]

    I’ve read the docs and it says the date should be passed in the format as I did. Is it possible that get is not supported for the date field?

    The website is not yet live, I’m working in a local environment so I can’t link it.

    Thanks to anyone responding in advance.

Viewing 1 replies (of 1 total)
  • Thread Starter markom99

    (@markom99)

    Sorry, this can be closed. I realised that I should try removing the placeholder and it worked.

Viewing 1 replies (of 1 total)

The topic ‘default:get for date field’ is closed to new replies.