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.

Can I allow users to send code in a contact form?

  1. mgason
    Member

    Can I allow users to send me code in a contact form. If so how. Is it only HTML code that is not allowed? I have successfully sent PHP with backticks
    Also why should I not allow this?

    Posted 10 years ago on Sunday January 8, 2012 | Permalink
  2. Will this filter help you?
    http://www.gravityhelp.com/documentation/page/Gform_allowable_tags

    You can specify which HTML tags you want to allow.

    The reason to not allow it would be security. Someone could submit malicious HTML and you would execute it wherever you display it, should that code be rendered.

    Posted 10 years ago on Wednesday January 11, 2012 | Permalink