Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Critical
-
Resolution: Fixed/Completed
-
Affects Version/s: 3.1.5, 3.1.6, 3.2
-
Fix Version/s: 3.2.1
-
Component/s: CiviCRM Profile
-
Labels:None
Description
Radio buttons in a profile are having their IDs (and therefore their corresponding label's for attribute) generated in the following format:
CIVICRM_QFID_value_Label
This causes issues if you have more than one of the same value/label pair in the same profile as there are duplicates of the IDs, the obvious example being if you have more than one Yes/No field as every set has the following IDs:
CIVICRM_QFID_1_Yes
CIVICRM_QFID_0_No
This is a big usability issue as the norm is to click on the label to select a radio button rather than to click on the input itself, meaning all the 'Yes' labels control the first Yes input and likewise for No... It also means duplicated IDs rendering any javascript manipulation unworkable.