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 (Moderator: Dave Greenberg) »
  • How to Uncheck other checkbox on civicrm price set ?
Pages: [1]

Author Topic: How to Uncheck other checkbox on civicrm price set ?  (Read 590 times)

vhilly

  • I’m new here
  • *
  • Posts: 17
  • Karma: 0
  • CiviCRM version: 3.4
  • CMS version: Drupal 7
  • MySQL version: 5
  • PHP version: php 5
How to Uncheck other checkbox on civicrm price set ?
May 30, 2012, 02:35:27 am
I have a civicrm event which has a price set of the following:
 Part 1 = 10,000
 Part 2 = 10,000
 Part 3 = 15,000
Package Rate = 30,000

I want to use checkbox so that if user checks part 1 and part 2 ,the total amount of event fee would be the sum of the 2 parts(part 1 and 2).
My problem is if user checks part 1  and or part 2  and decided to get Package Rate which covers  parts 1,2,3 for the discounted amount of 30,000 instead of 35,000 the other check box will not  uncheck automatically.
What i wanted to do is to uncheck all other checkbox when user selects Package Rate checkbox.

I can use radio button but if i use that i need to add more fields like this
 Part 1 = 10,000
 Part 2 = 10,000
 Part 3 = 15,000
 Part 1 and 2 = 20,000
 Part 2 and 3 = 25,000
 Part 1 and 3 = 20,000
Package Rate = 30,000

Any ideas ho to make it work with checkbox?

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • How to Uncheck other checkbox on civicrm price set ?

This forum was archived on 2017-11-26.