Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X
Hi ,
i am looking for disabling the dates after current date . how can we do it in TWX 8.5 .
Thanks
Solved! Go to Solution.
Can you please provide the details of your use case? It's not clear what you are attempting to do.
Regards.
--Sharon
I don't remember seeing that as an option.
You could always add validation.
Else you would need a custom widget or do the date picking with different controls that you have more control over.
Hi PaiChung,
ok , how can i call a validation script while selecting date in date picker ? do i need any event here to call script?
Thanks
I believe the date picker may have an 'on change' event, if not, then you would use your 'button click' that is invoking the service to run with the date selected.
In the mashup you can then utilize the Validation function, so the 'event' would invoke the validation function and form there either inform the user (status message) or invoke the service you want to run.
Hello @VaibhavShinde,
Just bind the Output of the date/time picker to a validator parameter and select "Auto Evaluate" checkbox -- then this validator will be triggered every time you select a date.
Regards,
Constantine
I am reading your requirement as "do not allow" the users to pick the future date. In situations like selecting a date based on "Create date", create date cannot be a future date. Hence the date picker future dates should be greyed out. Is this the behavior you would like to have.
Yes i have same requirement as you said. just i have input parameter named 'endDate' . i have to use function to validate the selected date. could you provide pseudo code in function?
thanks