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.

conditional logic to set the post_type

  1. I'm trying to setup a contact form that will let a user choose Option1 or Option2

    if Option1 is selected, set the Title field to CPT_1 and if Option2 is selected, set the Title to CPT_2

    I have the CPT and Taxonomies plugin installed, so it's reading the CPTs and Taxes properly, however I'm finding it won't let me decipher between those two options and set the Title field properly. Additionally, it won't let me have two title fields so I can't do it that way.

    I want to avoid creating two contact forms, but I can't figure out how to achieve my goals.

    Any suggestions?

    Posted 5 years ago on Saturday July 7, 2012 | Permalink
  2. Nevermind on this.

    I'm going to end up creating two forms and just use a template switch ont he $_GET to return a different form.

    Hopefully a logic switch will be built in one to GF.

    Posted 5 years ago on Monday July 16, 2012 | Permalink
  3. Thanks for the update.

    Posted 5 years ago on Tuesday July 17, 2012 | Permalink

This topic has been resolved and has been closed to new replies.