News:

Support the VirtueMart project and become a member

Main Menu

Customer Text Input Plugin and Apostrophes

Started by waltmanc, May 07, 2013, 18:39:13 PM

Previous topic - Next topic

waltmanc

Hello,

I have a website which uses the Virtuemart Customer Text Input Plugin to ask people to type in the name they want on their chosen product.

Example:
http://shop.gmaircadets.org/index.php/branded-clothing/t-shirt-detail

If someone's name contains an apostrophe, e.g. O'Neill , then the "add to cart" will not work.

I know it's something to do with escape characters, but it seems like there is a line of code missing somewhere to turn the input into a string which is safe for the custom field to be added to the cart.

Can anyone help?

ben1390

I am also experiencing the same issue, does anyone have a resolution?