Support Forum

 
You must be logged in to post
Search Forums:


 






Wildcard Usage:
*    matches any number of characters
%    matches exactly one character

Entering values with quotation marks in shortcode

Information/How to
No Tags
UserPost

4:00 pm
August 3, 2010


Jerry

1

I'm trying to use the Field Totals shortcode to show users how many people have voted for a specific item, using the following shortcode:

[ frm-stats id=x type=count value="Blah Blah" ]

… but what if my value contains quotation marks?  Backslashing out the quotes doesn't seems to work:

[ frm-stats id=123 type=count value="My Value Contains \"Quotes\"" ]

I keep ending up with the total count rather than the count of that specific value.  FYI, the field I'm trying to access is a radio-button list.

10:57 am
August 5, 2010


Steph

2

I'm looking into this. Start by changing value="My Value Contains "Quotes"" to value='My Value Contains "Quotes"' with single quotes around the outside. However, even though the query looks right, it's returning 0 for me. Maybe try it and see if it works for you?

Information/How to
No Tags