CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 4.4 Release Testing »
  • Yes/No custom data in profile not displayed correctly during event registration
Pages: [1]

Author Topic: Yes/No custom data in profile not displayed correctly during event registration  (Read 1019 times)

ken

  • I live on this forum
  • *****
  • Posts: 916
  • Karma: 53
    • City Bible Forum
  • CiviCRM version: 4.6.3
  • CMS version: Drupal 7.36
  • MySQL version: 5.5.41
  • PHP version: 5.3.10
Yes/No custom data in profile not displayed correctly during event registration
October 14, 2013, 02:34:15 pm
This affects 4.4.beta4 and is reproducible on the 4.4 Drupal sandbox.

Create a custom field for participants of type 'Yes or No'
Add it to a profile
Add the profile to an event's online registration page
Register for the event, selecting 'No' or 'blank' for the custom data
On the confirmation and thank-you pages, the value is shown as '0' (zero digit)

In 4.2.7 these sorts of fields were shown like ...

Events like this(x)Yes ( )No
News and updates( )Yes (x)No

... but in 4.4.beta4 ...

Events like thisYes
News and updates0

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Yes/No custom data in profile not displayed correctly during event registration
October 14, 2013, 03:59:48 pm
Ken - Thx for catching this (and in general for testing 4.4). Definitely a regression bug. Issue filed here:

http://issues.civicrm.org/jira/browse/CRM-13591

BTW - looks like the 'model' for displaying Yes / No fields was changed to just show the 'label' - and indeed if you select 'Yes' it does work. This is different than the behavior in 4.2 / 4.3 - but I think s/b fine as long as we fix the 'No' and 'not specified' behaviors. The change is part of some other refactoring / code simplification.
Protect your investment in CiviCRM by  becoming a Member!

ken

  • I live on this forum
  • *****
  • Posts: 916
  • Karma: 53
    • City Bible Forum
  • CiviCRM version: 4.6.3
  • CMS version: Drupal 7.36
  • MySQL version: 5.5.41
  • PHP version: 5.3.10
Re: Yes/No custom data in profile not displayed correctly during event registration
October 14, 2013, 09:54:50 pm
Dave,

Agreed. 'Yes' is much sweeter than '(x) Yes ( ) No'. Thanks for raising the issue.

Ken

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 4.4 Release Testing »
  • Yes/No custom data in profile not displayed correctly during event registration

This forum was archived on 2017-11-26.