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.

HTML in field description

  1. I tried building a form on another platform, but encountered a problem that the conditional "show" rules do not work if there is html code in a field description. I want to use html to source images a user can select in a checkbox field. Do Gravity Forms' conditional rules work when html is used in field descriptions?

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

    I am not entirely sure what you mean. Check out our demos here: http://gravityforms.com/demo as it may help you figure out the answer you need, or please provide more information so I can assist further.

    Posted 6 years ago on Thursday June 6, 2013 | Permalink
  3. Say a multiple choice field has html in one of the values, such as

    Choose one of the following:
    ____A
    ____B
    ____C

    If I place a conditional rule to display more information if "C" is chosen, will the conditional rule work even though there is html written into the value?

    I tried this on Wufoo, and it doesn't work because their conditional rules have a problem with the html

    Posted 6 years ago on Thursday June 6, 2013 | Permalink
  4. Choice C contains <"strong"> tags

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

    I'm not sure, I've never tried... It should do matching still, but you may need to make sure your choice in conditional logic includes the html as well. We use JavaScript for our conditional logic, so it may have issues too. I'm going to try it now and report back

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

    Just tried this to confirm, it worked out just fine. The way conditional logic works, is that the values of the field you select to compare from are automatically loaded into the choices for conditional logic. HTML didn't change this at all. All my best!

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