• Bogdan

    (@radoibogdan)


    Hello,

    I am able to get connected user meta information to prefill the text field using
    [text* user_name default:user_full_name]

    But I am not able to prefill the date field (id form_date) from a user from another form(user_date) which I see in my phpmyadmin as 2020/08/20.
    [date form_date class:qcm default:user_date]

    I see the default mm/dd/yyyy

    Can anyone help ?

    Thank you !
    Bogdan

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    Thread Starter Bogdan

    (@radoibogdan)

    Hello Takayuki,

    I’ve already read that page and it doesn’t mention how to get the date.

    I’m using this and it is not working : [date form_date class:qcm default:user_date]
    It works for text but not for date fields.

    Can you help please ?

    Thank you !
    Bogdan

    How can I change my default date format?

    Thread Starter Bogdan

    (@radoibogdan)

    Hello Lucia,
    You should open another topic for your question. You have more chances of getting an answer.
    But for info, I searched what you are looking for and I found that if your browser is english => date format mm/dd/yyyy, if French = dd/mm/yyyy. So it depends on your users browsers language.
    Other option : a plugin! Search for “datepicker format” in WP Plugins

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Autofill : date (meta) from database’ is closed to new replies.