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) »
  • Feature Requests and Suggestions »
  • Usability Improvements (Moderator: Dave Greenberg) »
  • Contact search results: no label html tags for radio buttons
Pages: [1]

Author Topic: Contact search results: no label html tags for radio buttons  (Read 1618 times)

bwaindwain

  • I post occasionally
  • **
  • Posts: 30
  • Karma: 1
Contact search results: no label html tags for radio buttons
March 09, 2010, 01:33:37 pm
The radio buttons at the top of the contact search results page ("All __ records" & "Selected records only") do not have proper html <label> tags. Clicking the text beside the radio button doesn't do anything, you have to click on the radio button itself. It would be more user friendly if the text were included in <label> html tags.

\CRM\Contact\Form\Search.php line 340 and 343 have '' as the label text.
\templates\CRM\Contact\Form\Search\ResultsTask.tpl line 82 puts in the "All __ records" & "Selected records only" text, but they're not html labels

My half-baked attempt is to either:
Search.php - changing the label value from '' to something like ts('All records') or ts('Selected records only')
...or...
ResultsTask.tpl - put <label></label> html tags around the text

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Contact search results: no label html tags for radio buttons
March 10, 2010, 08:17:32 am
We'll try to hit this / fix it as part of some 'renovation' work being done on that page element:

http://issues.civicrm.org/jira/browse/CRM-5941
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions »
  • Usability Improvements (Moderator: Dave Greenberg) »
  • Contact search results: no label html tags for radio buttons

This forum was archived on 2017-11-26.