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.

Using the curent month and year in confirmation text.

  1. We have an online assignment as a Gravity form that needs a text string that includes the month and year in the text. As in this example, the text should look like this-

    0274/0311/8 (the first numbers are just static text/ month year/last is the post ID)

    Here is what I was able to do: "CEU Sponsor Code: 0274/03/17/2011/8"
    using these form fields: CEU Sponsor Code: 0274/{Date:35}/{embed_post:ID}

    I would like the date field to just display the month and year. I tried changing the variable like {date_m} to no avail.

    I cannot send you to the URL for the form because it requires membership access, but could arrange for access if required. Just let me know in PM.

    Any help would be appreciated,
    Thanks

    Posted 13 years ago on Friday March 18, 2011 | Permalink
  2. Currently there is no format manipulation of the date field with the form field variables. However, it is a good idea so we can look into how we can handle this in a future release.

    Right now if you wanted to store the date in a specific format you would have to write custom code to handle reformatting the data using API hooks.

    Posted 13 years ago on Friday March 18, 2011 | Permalink