Single quotes in meta keys
-
Hi! Your plugin is amazing, thank you.
I’m retreiving meta keys from database and linking two selects (states and agencies) with the code below. It works fine, except if one item contains a single quote. A state called “Saint-Nicolas-d’Arthabaska” for example will not display its attached agencies in the second select:
[cf7-link-field recordset=”cf7-recordset-franchisees” field=”region” value=”state_value” text=”state_value” keep-options]
[cf7-link-field recordset=”cf7-recordset-franchisees” field=”agency” value=”post_title” text=”post_title” condition=”record.state_value == ‘{field.region}'” keep-options]
Thanks for your help
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Single quotes in meta keys’ is closed to new replies.