PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Today's Date on form

  1. How can I put todays date on the form that will show up in the results.

    Posted 12 years ago on Monday February 20, 2012 | Permalink
  2. ZeadsDead
    Member

    Instead of opening a new thread, I will add to this one.

    I want to create a date field that I will hide so only admin can see it.

    Next, I will create an autoresponder in mailchimp that schedules an email one week after today's date.

    The question remains, how do I create a date field that automatically populates with the date of submission. In other words, how do I get it to populate with today's date?

    Thanks, Ben

    Posted 11 years ago on Thursday March 21, 2013 | Permalink
  3. You can use one of these merge tags as the default value for your hidden field:

    {date_mdy}
    {date_dmy}

    Posted 11 years ago on Sunday March 24, 2013 | Permalink
  4. ZeadsDead
    Member

    perfect, thanks. forum thread resolved.

    Posted 11 years ago on Monday March 25, 2013 | Permalink
  5. ZeadsDead
    Member

    oops. not solved.

    When I set the merge tag for default value as {date_dmy} and click save, nothing happens. i check after saving and nothing is listed in the default box. its blank again. i am using the new convenient dropdown for the merge tags.

    I tried this with all three: No Icon, Calendar Icon, and Custom Icon

    versions below.

    PHP Version - 5.2.17
    MySQL Version - 5.1.67
    WordPress Version - 3.5.1
    Gravity Forms Version - 1.7.beta1

    Posted 11 years ago on Tuesday March 26, 2013 | Permalink
  6. You're right. I was able to replicate this on 1.7beta1. The merge tags for dates are not saved as default values. I did confirm this works fine in 1.6.12. I'll let the development team know about the issue. Thank you for the report.

    Posted 11 years ago on Tuesday March 26, 2013 | Permalink
  7. ZeadsDead
    Member

    cool. just checked with 1.7beta2.... still not working. ill keep testing other features as well.
    ben

    Posted 11 years ago on Tuesday March 26, 2013 | Permalink
  8. Hi Ben,

    This has been fixed and will be available in the next release. In the meantime, just add space and leave the field and it will save the value.

    Posted 11 years ago on Wednesday March 27, 2013 | Permalink