Arrow Home arrow Forums
larger font smaller font default font Fixed screen resolution Auto adjust screen size

Joomlapolis Forums  


Registration not allowing Ampersand in field value
Date: 2008/09/03 06:04 By: mgercken Status: CB Doc subscriber  
Karma: 0  
Fresh Joomlapolitan

Posts: 6
graphgraph
My Configuration: Joomla 1.5.6, Community Builder 1.1

I added a Drop Down (Single Select) field to my registration page. The field is a required field. In the selection list one of the strings contains an ampersand. When I complete all of the required fields in the registration form, including selecting the item with the ampersand in my new field an error is displayed stating "This field is required".

In trying to debug it, it appears that the javascript that is generated by comprofiler.html.php is having issues handling the ampersand. I have tried "&","&" and "&" with no success.

Here is a sample of the items in the selection list:
"Yale"
"Washington & Jefferson" <--- PROBLEM STRING
"Princeton"
"Texas A&M" <--- PROBLEM STRING

The work around is to just use "and" instead of "&" in the string but I do have several strings like "Texas A&M" where you would typically use the "&".

Any help would be much appreciated.
Click here to see the profile of this user The administrator has disabled public write access.

Re:Registration not allowing Ampersand in field va
Date: 2008/09/03 07:21 By: mgercken Status: CB Doc subscriber  
Karma: 0  
Fresh Joomlapolitan

Posts: 6
graphgraph
After searching some more I found this post:

http://www.joomlapolis.com/component/option,com_joomlaboard/Itemid,/func,view/catid,43/id,67867/ #67867

Is this really the only option for 1.1 users? Is it seamless to move from CB 1.1 to CB 1.2?
Click here to see the profile of this user The administrator has disabled public write access.

Documentation

Documentation Subscription Service
(updated for CB 1.2 RC2)

What?

Why?

Where?

Just click here for answers!

Click here for a yearly subscription: subscribe now

Download Latest Release

The latest stable Community Builder Release is version 1.1 for Joomla 1.0 and Mambo.
You need to be a registered member of Joomlapolis to download.

The latest release candidate of Community Builder is version 1.2 RC3, native for Joomla 1.0, 1.5 and Mambo.
It is available as "thank you" to all CB documentation subscribers at this time.

CB Login