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 Shortcodes: Pre Populate multiple answers?

  1. mark.dillon
    Member

    I’ve managed to pre-populate a single drop down menu using the following code

    [gravityform id=1 field_values='firstname=Carl']

    All I want is to simply pre-populate this drop down menu and another drop-down menu on my form. What is the syntax for this? I’ve tried ampersands, commas, spaces, line breaks, ect.

    Posted 14 years ago on Wednesday February 3, 2010 | Permalink
  2. Hey Mark, look for a response to this tomorrow (Wednesday). We are going to do some testing on our end to verify it's working properly with the current release before we respond with the correct syntax.

    Posted 14 years ago on Wednesday February 3, 2010 | Permalink
  3. Mark,
    If you are using the HTML tab (not Visual), you need to encode the ampersand.
    [gravityform id=1 field_values='firstname=Carl& amp;lastname=Hancock']

    We will be looking for a more intuitive way of doing this going forward.

    Posted 14 years ago on Wednesday February 3, 2010 | Permalink
  4. mark.dillon
    Member

    @Alex

    Your suggestion worked smashingly. Can't believe I did’t think of that. THANK YOU! Keep being awesome.

    Posted 14 years ago on Wednesday February 3, 2010 | Permalink