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.

Apostrophe in textarea field not escaped

  1. I have a form with several textarea fields. If the user enters a contraction such as "doesn't:", the entry gets cut off at the apostrophe. Obviously, the apostrophe is not being escaped properly when stored to MySQL. I'm not seeing a setting to fix this and I'm actually very surprised this is an issue given that this is a very well known issue with MySQL databases.

    How do I allow my user to enter apostrophes without having to manually escape them?

    Posted 13 years ago on Thursday June 30, 2011 | Permalink
  2. We haven't had this reported before and i'm unable to replicate it locally. I'm unable to break a textarea field using apostrophes within the value.

    Here is a screenshot of my form and what I submitted: http://i.imgur.com/qo99W.png

    Here is a screenshot of the entry that was created: http://i.imgur.com/stXtW.png

    This could be an issue specific to your site and theme/plugin configuration causing some sort of conflict. The first thing I would suggest is checking for conflicts by following the steps found here:

    http://www.gravityhelp.com/documentation/page/Testing_for_a_Theme/Plugin_Conflict

    Posted 13 years ago on Friday July 1, 2011 | Permalink
  3. Apostrophes are showing up as a quotation mark " using version 1.5.2.8

    Posted 13 years ago on Friday September 9, 2011 | Permalink
  4. @jasoningram Have you followed the instructions above to test for theme and plugin conflicts?

    Posted 13 years ago on Friday September 9, 2011 | Permalink