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) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • Radio button issues in profiles since upgrade to v3
Pages: [1]

Author Topic: Radio button issues in profiles since upgrade to v3  (Read 1059 times)

andrewbelcher

  • Guest
Radio button issues in profiles since upgrade to v3
August 03, 2010, 12:00:26 pm
I'm having an issue with profiles since updating to v3 in a joomla install...

In the upgrade, the id creation (and correspondingly the for attribute of the labels) for the radio inputs switched over to the pattern:
Code: [Select]
CIVICRM_QFID_value_Label
This becomes a problem when you have more than one value/label pair in the same profile, the obvious example being multiple Yes/No choices, they all get called:
Code: [Select]
CIVICRM_QFID_1_Yes
CIVICRM_QFID_0_No

This means that all the labels control the first yes/no radio buttons in the form, which is a big issue for usability...

Am I doing something wrong or is this a bug in civicrm or just my install? I've not been able to find anyone else reporting the same issue, but I can't find out how to get round it, and I can't figure out which file produces the code for the form to fix it either...

Thanks for your help
Andrew

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Radio button issues in profiles since upgrade to v3
August 03, 2010, 02:31:58 pm
Can you check this behavior in 3.2 (on the demo). I think it's been corrected.
Protect your investment in CiviCRM by  becoming a Member!

andrewbelcher

  • Guest
Re: Radio button issues in profiles since upgrade to v3
August 04, 2010, 01:13:27 am
No, it's not been fixed in the 3.2 demo...

Is it a simple fix or am I best just manually creating the labels in a template?

Thanks

EDIT
Check it out here to see the demo case...
« Last Edit: August 04, 2010, 01:15:03 am by andrewbelcher »

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Radio button issues in profiles since upgrade to v3
August 04, 2010, 01:32:29 am
This looks like a bug, please file an issue for this.

Thanks
Kurund
Found this reply helpful? Support CiviCRM

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Radio button issues in profiles since upgrade to v3
August 04, 2010, 02:18:47 am
For tracking purpose: http://issues.civicrm.org/jira/browse/CRM-6587

Kurund
Found this reply helpful? Support CiviCRM

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • Radio button issues in profiles since upgrade to v3

This forum was archived on 2017-11-26.