EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
November 05, 2025, 02:30:38 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
EasyUI for jQuery
>
Datebox - disable selection of dates < today
Pages: [
1
]
« previous
next »
Print
Author
Topic: Datebox - disable selection of dates < today (Read 8482 times)
devnull
Sr. Member
Posts: 431
Datebox - disable selection of dates < today
«
on:
May 10, 2016, 04:27:58 AM »
Hi;
How can I prevent the user from
selecting or entering
a date that is earlier than today, whilst still allowing the datebox to accept dates eariler than today that were loaded during form('load').
So I only want to prevent the user from selecting post-dates, but if the value was already selected when it was not post-dated then it should be accepted.
Thanks
«
Last Edit: May 10, 2016, 04:29:48 AM by devnull
»
Logged
-- Licensed User --
jarry
Administrator
Hero Member
Posts: 2300
Re: Datebox - disable selection of dates < today
«
Reply #1 on:
May 10, 2016, 05:21:08 PM »
You can restrict the selecting date range in the drop-down calendar, or attach a validation type to the datebox. Please look at
http://www.jeasyui.com/demo/main/index.php?plugin=DateBox&theme=default&dir=ltr&pitem=Restrict%20Date
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...