Skip to content

Commit

Permalink
fix address field names
Browse files Browse the repository at this point in the history
  • Loading branch information
rifkegribenes committed May 15, 2018
1 parent 0ac6f6b commit e50457e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions gc2018reg_formstack.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@ function FF_OnAfterRender(){
console.log('FF_OnAfterRender');
// populate address fields in text block programmatically
// from mailing address data
var val0 = $('#Contact\\.MailingStreet').val() || $('#Contact\\.MailingStreet').val();
var val0 = $('#soslula__Event_Attendee__c\\.soslula__Contact__c\\.OtherStreet').val();
console.log(val0);
$('#genstreet').text(val0);
var val1 = $('#Contact\\.MailingCity').val();
var val1 = $('#soslula__Event_Attendee__c\\.soslula__Contact__c\\.OtherCity').val();
$('#gencity').text(val1);
var val2 = $('#Contact\\.MailingPostalCode').val();
var val2 = $('#soslula__Event_Attendee__c\\.soslula__Contact__c\\.OtherPostalCode').val();
$('#genzip').text(val2);
var val3 = $('#Contact\\.MobilePhone').val();
var val3 = $('#soslula__Event_Attendee__c\\.soslula__Contact__c\\.MobilePhone').val();
$('#genmobile').text(val3);
var val4 = $('#Contact\\.HomePhone').val();
var val4 = $('#soslula__Event_Attendee__c\\.soslula__Contact__c\\.HomePhone').val();
$('#genphone').text(val4);
// ?? is this going anywhere? looks like an unused variable
var val5 = $('#Contact\\.soslula__Event_Attendee__c\\.A\\.Lodging_number_of_days__c').val();
Expand Down

0 comments on commit e50457e

Please sign in to comment.