Put quotes around parameter shortcodes

Est. Reading: 1 minute
By: ReadytoRent
Created: 08/16/2017
Difficulty: Beginner

Put quotes around parameter shortcodes

×Warning: This tutorial was created 2434 days ago. Some of the information may be out of date with more recent versions of Formidable. Please proceed with caution and always perform a backup before adding custom code.

When I use this inside of a shortcode in a View:

1108=[get param=provincename]

things worked fine, until one of the values getting passed for the provincename contained a space. The lack of quotes around the square brackets ended up corrupting the value (I'm assuming the space indicates the end of the variable?), so my results were wrong.

Until I changed it to this: 1108="[get param=provincename]"

I'm assuming that we should put the quotes around every value, but someone please correct me if that's wrong.

Leave a Reply

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community