Forums Forums Search & Filter Pro Syntax Error For custom field with apostrophe

Viewing 4 posts - 1 through 4 (of 4 total)
  • Anonymous
    #91588

    My custom field “_sfm_organization_name” keeps getting syntax error when a value has an apostrophe. I read a couple of threads in the forum about an apostrophe issue having been fixed in the latest release. I have the latest (2.3.2). But I am seeing this error.

    Syntax Error

    Trevor
    #91654
    This reply has been marked as private.
    Anonymous
    #91728
    This reply has been marked as private.
    Anonymous
    #91749

    Ok, I resolved the issue by using a gravity form hook to encode the custom field with the php function like so: htmlspecialchars(organization_name, ENT_QUOTES).

Viewing 4 posts - 1 through 4 (of 4 total)