• Resolved tib9

    (@tib9)


    Hi!

    Can someone help me to be done to-date in the Date field to appear? Fields settings / field type: date, Default ?? that can be entered to the current date? for example. <php echo date (‘Y.m.d’);?> or
    d = new Date (); today=dd.getFullYear()+’.’+(d.getMonth()+1)+’.’+d.getDate(); ????? now this is the only yyyy.mm.dd displayed, or only if I write directly, for example. 2014.09.09

    The attributes / value = “javascript: ….” and value = “<php …?>” – With I tried but nothing worked!

    What is the solution?

    thank you

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi tib9 you might want to create a support ticket.

    Kind regards

    Added in new version today 4.0.29

    (18 Sep 2014) – Fix the validate email function is updated for new generic top-level domains (gTLDs) released in 2014 and beyond. Allows up to 12 characters like .training, .photography, .company, etc.
    – Fix honyepot field slug will never conflict with custom post type.
    – Add new feature for Default field properties: For the Default setting of a date field type, you can enter any date in the configured format. Or to show today’s date as default, just put the word today in brackets. example: [today].

    The solution for you is edit your date field on the Fields tab, put [today] in the Default for your date field

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Date field set default?’ is closed to new replies.