Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
I am getting a "Must be a valid string" error on the billing name field in a charge form if the name contains a hyphen.
Any idea where that is coming from? I can't track it down.
I got an email back from Charge, you need to edit That's just one change in mod.charge.php, changing the regex to :
preg_match("/[^\pL\d\s\-]/u", $val, $matches);
They are working on a fix for this at the moment.
Required, but never shown