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.

populate fields dynamically using wordpress template tags

  1. shimon
    Member

    Hi

    I want to use a drop down and use the current year and five years ago meaning 2010, 2009, 2008 ..2006 as options in the drop down. Is it possible to use <?php echo date('Y'); ?> ? and if so how can I do it?

    Thanks,
    Shimon

    Posted 13 years ago on Friday October 1, 2010 | Permalink
  2. No, you can't use the php echo date. If you want a drop down that has the current year and five years ago then add a Drop Down field to your form, and populate it's options with the current year and five years ago as options.

    Posted 13 years ago on Saturday October 2, 2010 | Permalink