diff --git a/GCnotes.rtf b/GCnotes.rtf new file mode 100644 index 0000000..dcc7947 --- /dev/null +++ b/GCnotes.rtf @@ -0,0 +1,21 @@ +{\rtf1\ansi\ansicpg1252\cocoartf1561\cocoasubrtf400 +{\fonttbl\f0\fswiss\fcharset0 Helvetica;} +{\colortbl;\red255\green255\blue255;} +{\*\expandedcolortbl;;} +\margl1440\margr1440\vieww11100\viewh8700\viewkind0 +\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural\partightenfactor0 + +\f0\fs24 \cf0 redirect to eventbrite after submission and send record ID\ +\ +start calendar on today\'92s date\ +get rid of \'91my roommate is?\'92 question, +\b test rules and payment formulas +\b0 \ +list of check-in dates \'97 get from mo\ +list of check-out dates \'97 get from mo\ +fix question mark at end of registered service animal, bump checkbox up to same line\ +sarah js changes on meals section from basecamp\ +add explanation to gender question\ +fix lodging exception box (fix wording sarah j will post to basecamp)\ +\ +} \ No newline at end of file diff --git a/gc2018reg_formstack.js b/gc2018reg_formstack.js index c2101d6..3a8df64 100644 --- a/gc2018reg_formstack.js +++ b/gc2018reg_formstack.js @@ -9,6 +9,18 @@ function FF_OnAfterRender(){ var gcAttendanceStatus = $("select[name='X2018_General_Council__c.I_will_attend_General_Council_as_a__c'] option:selected").val(); $("#gcAttendanceStatus").text(gcAttendanceStatus); + $(".hasDatepicker").each(function(){ + $(this).datepicker("destroy"); + $(this).datepicker({ + dateFormat: "mm/dd/yyyy", + format: "mm/dd/yyyy", + useCurrent: false, + showClose: true, + minDate: '08/06/2018', + maxDate: '08/12/2018', + }); + }); +return true; } function changeLabels() { @@ -50,6 +62,16 @@ function getNumericVal(actualValue, defaultValue) { return returnValue; } +$('#X2018_General_Council__c.Lodging_Check_in_Date__c').focus(function() { + $.datepicker({ + format: 'YYYY-MM-DD', + useCurrent: false, + showClose: true, + minDate: '2018-08-06', + maxDate: '2018-08-12', +}) +}) + function itemize(lodgedays, adultMeals, childMeals) { $('#genlodgingdays').text(lodgedays); $('#genadultmeals').text(adultMeals);