Single quotes in meta keys

[ad_1]

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

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer