Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-5891

More CSS classes and IDs in forms

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Won't Fix
    • Affects Version/s: 3.1.2
    • Fix Version/s: 3.1.4
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      I'm customizing a CIviCRM installation and I need to come up with pretty complicated jQuery selectors to specify form elements that can easily break on upgrades. It's useful to have some more classes and/or ids for elements.

      More specifically, I want to do form validation that makes sure a group is selected, and I need to distinguish groups from tags, which seems an easy thing to do. I'd rather do something like $("#tagGroup table.groups input"), but that's not possible right now.

      The problem is in fact more general but it seems less urgent. E.g. $('h3.head:contains(Groups)').click() is pretty ugly but workable.

        Attachments

          Activity

            People

            • Assignee:
              kurund Kurund Jalmi
              Reporter:
              guaka Kasper Souren
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: