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 within Default Value on Paragraph Text field

  1. I tried to used some html markup in the default value of a paragraph text field,, and it displays the markup on the front end (I also made it a readonly field, fwiw).

    So I take it that html cannot be used within the default value text?

    Posted 10 years ago on Saturday March 17, 2012 | Permalink
  2. Nope. Textarea form controls don't render HTML. That's not a Gravity Forms limitation, that's just how the form controls work. It might render the default text HTML if you were using a WYSIWYG script like TinyMCE, etc. to add HTML support for the paragraph text field/textarea.

    Posted 10 years ago on Sunday March 18, 2012 | Permalink
  3. Thanks Kevin, that's what I thought.

    What I was doing was using a paragraph text field, populating the default value with some text (agreement terms), then made the field readonly.
    I would have used an HTML block field, but I needed to have the agreement terms sent back to the forms entries database, to document what the user was agreeing to.
    I didn't see any other way to do this, but to use a paragraph field.
    Any other ways you can think of?
    Maybe GF needs a new field type called 'Read Only'?


    Posted 10 years ago on Sunday March 18, 2012 | Permalink