Thanks for everyone’s input, but still I’m not getting any results.
So I guess I’ll put all the information possible to make sure I’m not excluding something.
So I have a template with this T.V.
<div id="buynowbutton">
[*modifierslayout*]
</div><!--Buy Now Button-->
The T.V. is controlled by the admin and the T.V. (modifierslayout) controls what layout the admin wants to appear on the page. The choices are seen here:
Standard (no modifiers)=={{standardnomod}}||Standard (w/external link)=={{standardexternal}}||Modifiers for size (drop down menu)=={{modifiers2}}
So once the admin selects "Modifiers for size (drop down menu)" in the T.V. area and they then put in their information. That information is given to this chunk (the "Modifiers2" chunk):
<input type="hidden" name="name" value="[!cleanTV? &myTV=`[*pagetitle*]`!]" />
with cleanTV as my new snippet (thank you MadeMyDay for your input):
<?php
$string = isset ($myTV) ? $tmyTV : "";
$new_string = preg_replace("/[^a-zA-Z0-9s]/", "", $string);
return $new_string
?>
But still no love...it’s still not working...not sure why the snippet is not working in this scenario.
Any insight would be greatly appreciated!
And by the way, here’s where the site is live with an example. If you look on the product on the right, when you click on the "Buy Now" button, the shopping cart is stopped b/c the product name can not be passed to it. If you look at the source code, you’ll see there is no value for "product" b/c nothing is coming out. It’s not that the snippet is not removing the non alphanumeric values, it’s just nothing is coming out whatsoever. Here’s an example product page:
http://66.240.226.230/womens-jacket-navy