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) »
  • [Moved] 'How many people are you registering' should be required
Pages: [1]

Author Topic: [Moved] 'How many people are you registering' should be required  (Read 513 times)

John.K

  • I post occasionally
  • **
  • Posts: 75
  • Karma: 5
  • CiviCRM version: 4.x
  • CMS version: Drupal 7
  • MySQL version: 5.x
  • PHP version: 5
[Moved] 'How many people are you registering' should be required
May 22, 2015, 03:38:37 am
We've been having a bit of a usability drive, sorry for the spam. Is there a status below trivial?

From a user perspective, the 'How many people are you registering?' input is a required field, and should therefore have the red asterisk for continuity.

However, we can't just add formRule required to the element, because behind the scenes a '1' is a value of nothing (ie: no additional participants).

So what's the easiest way of adding the 'required' class to the element, without adding the form rule itself? It would be great to push this back to core, rather than us just overriding it in our CSS, even though it is a super-trivial improvement.
« Last Edit: May 22, 2015, 02:32:40 pm by John.K »

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: 'How many people are you registering' should be required
May 22, 2015, 12:50:13 pm
John - i would encourage you to take this question over to Stack Exchange which is much more active than the forum now - see red link up in top right
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

John.K

  • I post occasionally
  • **
  • Posts: 75
  • Karma: 5
  • CiviCRM version: 4.x
  • CMS version: Drupal 7
  • MySQL version: 5.x
  • PHP version: 5
Re: 'How many people are you registering' should be required
May 22, 2015, 02:28:06 pm
Fair enough, I suppose this is more Q+A format =]
http://civicrm.stackexchange.com/questions/2614/how-to-add-a-class-to-a-form-element-in-buildquickform
« Last Edit: May 22, 2015, 02:32:25 pm by John.K »

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions »
  • Usability Improvements (Moderator: Dave Greenberg) »
  • [Moved] 'How many people are you registering' should be required

This forum was archived on 2017-11-26.