Title: Fixed datum &#8211; help with script
Last modified: December 1, 2021

---

# Fixed datum – help with script

 *  Resolved [fkoomek](https://wordpress.org/support/users/fkoomek/)
 * (@fkoomek)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/fixed-datum-help-with-script/)
 * Hello.
    I am creating reservation system for a client and she wants to set one
   fixed date 20 dec – 26 dec, this date should be possible to reserve only together.
   That means that if I click any date from 20 – 26 dec the whole range will be 
   chosen. I am working on a script. Would you be so kind and help me point me in
   the right direction?What function to call? It should work – if I click some date,
   choose also another date. What is the function for selecting dates and how to
   call it? thanks

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [fkoomek](https://wordpress.org/support/users/fkoomek/)
 * (@fkoomek)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/fixed-datum-help-with-script/#post-15121505)
 * The function should like like:
 *     ```
       jQuery('element').click(function(){
   
       /*select a date, for example 21 dec*/
   
       });
       ```
   
 *  Plugin Author [wpdevelop](https://wordpress.org/support/users/wpdevelop/)
 * (@wpdevelop)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/fixed-datum-help-with-script/#post-15129274)
 * Hello.
    Such functionality possible in the Booking Calendar Business Medium or
   higher versions. Please check more here [https://wpbookingcalendar.com/overview/#advanced-days-selection](https://wpbookingcalendar.com/overview/#advanced-days-selection)
 * Read more about this configuration [here](https://wpbookingcalendar.com/faq/shortcode-booking-form/#booking-options-condition)(
   at options parameter section).
 * Kind Regards.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Fixed datum – help with script’ is closed to new replies.

 * ![](https://ps.w.org/booking/assets/icon-256x256.gif?rev=3335907)
 * [Booking Calendar](https://wordpress.org/plugins/booking/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/booking/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/booking/)
 * [Active Topics](https://wordpress.org/support/plugin/booking/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/booking/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/booking/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [wpdevelop](https://wordpress.org/support/users/wpdevelop/)
 * Last activity: [4 years, 6 months ago](https://wordpress.org/support/topic/fixed-datum-help-with-script/#post-15129274)
 * Status: resolved