Date module - preventing dates from being selected?
Last Post 07-29-2010 02:00 PM by Ryan Bakerink. 1 Replies.
AddThis - Bookmarking and Sharing Button
Author Messages
BSquaredUser is Offline
river guide
river guide
Posts:89
Avatar

--
07-23-2010 11:47 AM
    Is there a way to prevent certain dates or a range of dates from being selected?  In my form, it says to allow 2 weeks for the order but the calendar is wide open and they can choose the next day if they desire.  Is there a way to block selection of dates 2 weeks in the future?

    If not I thought I might be able to do it with Javascript and an alert and just annoy them until they did the right thing. If that is the way to go, is it possible to use an onClick with the calendar or is it limited to the 'Select Date' link?

    Could this be done with a custom SQL script?

    Thanks.
    Ryan BakerinkUser is Offline
    river guide
    river guide
    Posts:1900
    Avatar

    --
    07-29-2010 02:00 PM
    Hello BSquared,

    You can use the client side event for your date field, that will validate that it's two weeks at least when they select the date to order.

    Unfortunately this could be quite a long script so I wouldn't be able to fix you up with it. If it is completely necessary for you I would recommend picking up some of our Premium Support hours along with fill out a Project Requirements form so we can get an estimate over to you for this functionality.

    But Javascript would be the best way for you to do this.

    Thanks,

    Ryan




    ---
  • film izle
  • 720 izle
  • film
  • sinema izle
  • film makinesi
  • T�rk�e dublaj film
  • film izle
  • film izle
  • baglan film izle
  • sinema izle
  • 1080 film izle
  • film mercegi