Participant suggested goals dependency requires semi-colon

Options
I had a ticket about our default fundraising goal showing incorrectly today (we had a suggested goal of $100) that was showing as $1.00. A quick investigation of the JavaScript in the BB code on the page showed the following line:

var suggGoalContainer = jQuery('#suggested_goal_container').text().split(':');

The above code of course is a problem if there is no semi colon present (an assumption of it's presence is made by the code). In our case we generally hide this label via CSS, but the code is still looking for a value. If you are having troubles with your values, I suggest adding a semi colon the the end of the "Suggested Goal Field Label" on the "Participant Options" TeamRaiser Page.

Tagged:

Categories