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.

Possibility to add parameter in form description (or text element)

  1. christopheb
    Member

    Hi,

    Firstly, congratulations for you plugin. I am interested in purchasing it but do I have a question before.

    I would like to access a form from the following URLs (BASEURL/myForm?parameter=X and BASEURL/myForm?parameter=Y).

    Then, I would like to display a custom message including X or Y in the form description to inform the users after their choice.

    Is that currently possible and if yes, how can it be done?

    I could not find the way to do it on the test pages.

    Thanks!
    Christophe

    Posted 13 years ago on Friday August 20, 2010 | Permalink
  2. You can't do conditional logic in the form description. You can add an HTML block to your form that contains text/description and put it at the top of your form and then do conditional logic on it. So if that was suitable you could do it that way.

    You would add 2 HTML blocks on your form, one for displaying if parameter=X and another if parameter=Y.

    You would then add a drop down field to your form and set the visibility to admin only so it doesn't actually appear on your form AND enable the field to be populated dynamically and give it a parameter name. The parameter name is what you would then use to pass a value to it via the query string. You would then set the options in the drop down to the first one being blank and then the next X and Y.

    Then use conditional logic on the 2 HTML blocks to only display if the dropdown = x or the dropdown = y.

    That may sound a bit confusing if you haven't used the tools yet...

    Posted 13 years ago on Friday August 20, 2010 | Permalink