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.

Optional items in content template?

  1. rdell
    Member

    Have a simple form generating a Post that has a Y/N choice to File Upload.
    Can't see a way of setting the content template depending on the Y/N choice:

    Post Body:
    {News Body:12}
    <<<<<<< Next line if Choice = Y >>>>>>
    [gview file=" {Attachment to be uploaded? (pdf only):18}
    " save="0"]

    Any suggestions to workaround please?

    Posted 6 years ago on Thursday June 6, 2013 | Permalink
  2. David Peralty
    Administrator

    Look at our Conditional Shortcodes - http://www.gravityhelp.com/documentation/page/Shortcodes Half way down the page.

    Posted 6 years ago on Thursday June 6, 2013 | Permalink
  3. rdell
    Member

    What a response - fixed in 2 mins thanks!

    Posted 6 years ago on Thursday June 6, 2013 | Permalink
  4. David Peralty
    Administrator

    Glad you got it sorted. All my best!

    Posted 6 years ago on Thursday June 6, 2013 | Permalink