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 CiviEvent (Moderator: Yashodha Chaku) »
  • Change validation text?
Pages: [1]

Author Topic: Change validation text?  (Read 794 times)

wrightadw

  • I’m new here
  • *
  • Posts: 8
  • Karma: 1
  • CiviCRM version: 3.3.6
  • CMS version: Joomla 1.5.22
  • MySQL version: 5.0.45
  • PHP version: 5.2.6
Change validation text?
April 04, 2011, 06:17:01 am
I am using price set, and set a maximum participant limit.  When it is met, any other registrants get this message:

“It looks like this field participant count extending its maximum limit.”

Anybody know where/if this text can be modified?

Rajan Mayekar

  • I post frequently
  • ***
  • Posts: 177
  • Karma: 20
    • Rajan's Blogs
Re: Change validation text?
April 04, 2011, 09:03:01 pm
U need to modify that error message, line no.1178  from file CRM/Event/Form/Registration.php ( inside the function validatePriceSet( ) ).
U may use custom php feature of CiviCRM http://wiki.civicrm.org/confluence/display/CRMDOC33/Directories.

Rajan

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Change validation text?
April 05, 2011, 09:56:49 am
That message definitely needs improving. If you have a suggestion for better "generic" wording -  post suggested wording here and we'll update the code.

I was thinking we might use something like this: "Sorry, this option is currently sold out."
« Last Edit: April 05, 2011, 10:01:17 am by Dave Greenberg »
Protect your investment in CiviCRM by  becoming a Member!

wrightadw

  • I’m new here
  • *
  • Posts: 8
  • Karma: 1
  • CiviCRM version: 3.3.6
  • CMS version: Joomla 1.5.22
  • MySQL version: 5.0.45
  • PHP version: 5.2.6
Re: Change validation text?
April 05, 2011, 06:54:55 pm
I like your suggestion for the new default text Dave.  In the mean time, thanks Rajan, I'll change the code.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Change validation text?

This forum was archived on 2017-11-26.