Results 1 to 9 of 9
Jun 28, 2013, 13:51 #1
- Join Date
- Oct 2003
- Prescott Valley, Arizona, United States
- 0 Post(s)
- 0 Thread(s)
Variable comparison not testing properly
I have a form where the user can select a date using a series of dropdowns for Month, Day, Year. Upon selecting them all I want to test it to make sure that the date selected is not today's date, nor a weekend date, if so, I want to show them an alert and return them to the form to make an adjustment.
The code below is working fine for the weekend test, and when I use the alert to show me what values are being created I see that both tripDate and todaysDate SHOW me the same values, IF test is not working (just for todays test, the weekend test is working).
Thank you for your assistance!