i am looking for disabling the dates after current date . how can we do it in TWX 8.5 .
Solved! Go to Solution.
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.
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.
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.
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?