Skip to content

Commit

Permalink
fixed roomType
Browse files Browse the repository at this point in the history
  • Loading branch information
rifkegribenes committed Jun 8, 2018
1 parent fe6bb08 commit 99cf614
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gc2018reg_formstack.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ function itemize(lodgedays, adultMeals, childMeals) {

function calculateLodgingSubTotal(lodgingDays){
var lodgingSub=0;
var roomType=$('#X2018_General_Council__c.Are_you_willing_to_share_a_room__c').val();
var roomType=$("select[name='X2018_General_Council__c.Are_you_willing_to_share_a_room__c'] option:selected").val();
var lodgingEx=$('#X2018_General_Council__c\\.Lodging_exception__c').is(':checked');
var pet=$('#X2018_General_Council__c\\.Pet_friendly_room__c').is(':checked');
var serviceAnimal=$('#X2018_General_Council__c\\.Registered_service_animal__c').is(':checked');
Expand Down

0 comments on commit 99cf614

Please sign in to comment.