How can I apply Data validation and conditional formatting on the drop down list? - validation

I want to add data validation for a list of dates (Jan 1st 2023 to December 31st 2023) to a column. When the user click on the drop down. I want them to see the Current day date highlighted. How can i do this?
I have added the necessary data validation rule to the column. Clicking on the date column, I want it to do something like what I have in the picture below.
That blue color is not an highlight. It's my cursor

Related

Is there a way to prevent input if today's date is the same or later than the date in an adjacent cell?

Using Google Sheets, is there a way to prevent a user from adding contents to a cell or changing the contents if today's date is the same or later than the date in an adjacent cell?
For example:
I'd suggest using data validation. Set your range (eg: Sheet1!B1:B), choose 'custom formula' from the dropdown and use this formula
=today()>$A1
Then select 'Refuse input' when invalid data is entered.
Another possible solution would be to use Google Script.
I hope this helps?

TIBCO spotfire date filter control - apply greater than date expression on date filter control

I am a sportfire beginner and just learned to customize Date filter using below URL,
Spotfire Calendar Filter
Just want to filter and display report data (report mapping column : LastModifiedDate) greater than date based on this filter date selected value.
Please help.
From the main tool bar: Insert > New Text Area
From the text area: Right Click > Edit Text Area
Then, Click the Insert Filter button. If you don't see it, click the >> button on the top right to see all of your options.
Select the column which contains your dates. Click Ok.
From the text area: Right Click > Un-select Edit Text Area
Tibco's Documentation lists in detail how to accomplish most everything you need. Be sure to keep this reference handy. About 3/4 of the way down on this specific page you'll see instructions on how to do what I listed above.
I added 2 Date text filters on the text Area.
Image
As you can see there is one filter text for the start date and one for end date.
Exist any possibility to use then as a range filter because they only filter matching equal date. I want to use them as minimum(start date) and maximum date(end date).
Example:
Text filter 1 : 10/10/2000
Text filter 2 : 09/09/2015
Result : all records between the 2 dates.

Telerik Grid with rage date filter but just one DatePicker

I have this Telerik RadGrid with a date column filter, I'm not happy with the rage filter using 2 calendar datepickers, {edit} to much with or height for that column I have no intentions of validate or restrict dates. {end edit}. Is there a way of solving this with 1 calendar but still using Telerik controls?
The Best way to pick two date (From/To) is to have 2 DatePickers.
There is no logical work around to this, and it's "KISS" .
If you have one DatePickers.
That first fire select event get date "from" and second get date "to".
How can this be user friendly ?
If you enter 1rst date.
Then want to modify the 1rst date Without setting the 2nd date.
How will you do ?
The real question is why dont you want 2 Date picker ?
- Is it because it to big to display it nicely in the FilterBar?
- If it's a User need, try to improve the logic behind the DatePiker.
Perhaps the Date is not random ? And can be done with a RadSlider?
Or they select a date and get for range -3 / +3 range.
There is no simple solution, because what you need and what you want are not clear.
edit:
If you need to have 2 input text with only one single calendar icon, You will end with the same problem how do they chose witch input they wanna set the value in?
I hope this will help,
Regards,
Pierre
The best way for use only one date picker control is create own logic for this filter using one datapicker and something for display your range filter (label).
First fire select event get date "from" and second get date "to".

Capybara/Ruby dropdown values selection

Drop-down values of month selection while registration of a new account in google.
I need to select the value December after I click on the the month field.
This I need in capybara/ruby.
I have used the below code to search month drop-down and click it.
find("#BirthMonth").click
Now the values in drop-down appear in my result but I need to know how to select them.
You can use:
find('#BirthMonth').select(value)
If the select is a real <select> element then
select('December', from: 'BirthMonth')
Should do what you want without worrying about the find and click. If it's a select replacement built from div, ul, li, etc then we'd need you to post an hetml sample

Change date when month is changed using month navigator in kendo UI date picker

I am using kendo ui date picker,
I have a requirement that suppose currently 26 june 2014 is selected, when change the month using month naivgator to july, it should automatically select the 26 date in july month
I don't think it is a good to do it (based on user experience point of view).
Example: I already choose 26 June 2014, then I change the month by pressing the arrow to next month.
I may just want to do it because I want to browse or check what is next month, without having intention to select the date from next month.
And what I see currently from kendo calendar, kendo already automatically mark the selected date (26) with the box, which is good from user experience perspective
So the answer is : it is not recommended to do it, unless you have strong reason to do it.
However, you still can probably do it by using navigate event handler
function onNavigate() {
/*do something*/
}
$("#calendar").kendoCalendar({
navigate: onNavigate
});

Resources