WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Bakery Shop »
  • Bakery 1.5.6: Pound symbol in Address Field?
  • Print
Pages: [1]   Go Down

Author Topic: Bakery 1.5.6: Pound symbol in Address Field?  (Read 5725 times)

Offline cleverdesigner

  • Posts: 3
Bakery 1.5.6: Pound symbol in Address Field?
« on: October 14, 2010, 11:46:01 PM »
Bakery has been working fantastically for my little project site for a client; however I ran into an issue with special characters being placed in the order form.

Particularly the pound sigh "#" (for obvious reason) throws up an erro when a user enters it into the address field.

I tried popping in a '/ to see if it would pass, but no go.

I'm sure I'm missing a lang/config file that allows me to spec legal characters; as I can't be the only one running into this when people order.

Yeah, I *could* just put a "use 'no.' instead of # when ordering," but really? That's not good UX, forcing a user to comply to the mechanics.

Thanks, and be kind if I missed this and it's in the forums elsewhere.  :-)
Logged

instantflorian

  • Guest
Re: Bakery 1.5.6: Pound symbol in Address Field?
« Reply #1 on: October 15, 2010, 09:32:20 AM »
Hi,

look at modules/bakery/languages/en.php and add the needed characters in line 45:
Code: [Select]
$MOD_BAKERY['ADD_REGEXP_CHARS'] = '/#';
Then it should work...

BR
-instantflorian.
Logged

Offline cleverdesigner

  • Posts: 3
Re: Bakery 1.5.6: Pound symbol in Address Field?
« Reply #2 on: October 15, 2010, 04:44:32 PM »
Thank you, instantflorian.

Looked it up, found it, and made the change, works fine now.
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Bakery Shop »
  • Bakery 1.5.6: Pound symbol in Address Field?
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2