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) »
  • (solved)Not sure why a price set field is hidden on just one Event?
Pages: [1]

Author Topic: (solved)Not sure why a price set field is hidden on just one Event?  (Read 420 times)

britebyte

  • I post occasionally
  • **
  • Posts: 70
  • Karma: 2
  • CiviCRM version: Several 3.4+, 4.1+
  • CMS version: Drupal 6, Drupal7
  • MySQL version: Several 5.1+
  • PHP version: Several 5.2+
(solved)Not sure why a price set field is hidden on just one Event?
September 20, 2012, 08:34:02 am
Wondering if anyone can help with a weird item: I have a price set used in multiple events. It only has one field.
On just one of the event register pages where it is used it is showing up as a hidden field with an empty  value, on all others it is rendering as a text field (desired behavior).
Is there something in the event settings that would affect the field type that gets shown?
« Last Edit: September 20, 2012, 09:53:29 am by britebyte »

Yashodha Chaku

  • Forum Godess / God
  • Ask me questions
  • *****
  • Posts: 755
  • Karma: 57
    • CiviCRM
Re: Not sure why a price set field is hidden on just one Event?
September 20, 2012, 09:25:11 am

check and see if you have any custom modules or other civicrm extension modules enabled? maybe one of these is changing the type of the field for that specific event page

lobo
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

britebyte

  • I post occasionally
  • **
  • Posts: 70
  • Karma: 2
  • CiviCRM version: Several 3.4+, 4.1+
  • CMS version: Drupal 6, Drupal7
  • MySQL version: Several 5.1+
  • PHP version: Several 5.2+
Re: (solved)Not sure why a price set field is hidden on just one Event?
September 20, 2012, 10:01:25 am
Hi Yashoda,

Thanks a lot for taking a look at my question. I did try disabling all of my custom modules and I tried running the page with Javascript turned off in the browser to see if it was getting removed on the client side.

I then finally found that the issue was that the price field had a maximum participants setting of 10, the event had a maximum of 15 and 10 people were registered in that one event but none of the others. There is some code in the Price_BAO_Field that "freezes" the text field and it becomes hidden if the option is considered full. I didn't realize that would happen but now I know to look out for this!


Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • (solved)Not sure why a price set field is hidden on just one Event?

This forum was archived on 2017-11-26.