Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I Have a 'Fromcalendar' and 'To Calendar' with vDateMin for 'Fromcalendar' and vDateMax for 'To Calendar'.
vDateMin and vDateMax are variables.
I have set the trigger for Date Field and also for vDateMin & vDateMax variable.
But when i clear date on calendar is showing the previous selected dates.
How do i clear the calendar dates?
Please find the attached Qvw.
Regards,
Keerthi KS
Hi Keerthi,
Default clear will not clear the values in calendar objects.. Explicitly you can have a button and in the properties.. "Action->Set Variable->External->select "vDateMin" set Null value and Add another variable ->External->select "vDateMax" to set Null..
Hope this is useful
Sreeni
While setting min/max values to the variables, use set {1}, like:
=Max({1}Date)
PFA
you can do it in two ways.
1.On Document open you can set the variables to min and max values or non
2.Add a clear selection button and add action to set the variables as per your requirement , note in the access point you need to use the clear selection button create by you not the clear selection provided by default at the top
Hi Tresesco,
This works and i can select the date from calendar but it shows the previous selected dates.
Will it not be set to Min and Max date on clear.
Regards,
Keerthi KS
Its not possible with the default clear ??
no, if you use default clear . It will simply clear all the section but your previous selected date values remains same
Hi Keerthi,
Default clear will not clear the values in calendar objects.. Explicitly you can have a button and in the properties.. "Action->Set Variable->External->select "vDateMin" set Null value and Add another variable ->External->select "vDateMax" to set Null..
Hope this is useful
Sreeni
You could create another variable to track Date field value change (vChangeDate) and use a trigger OnChange action of the variable to reset the variables values. PFA
I did the exact same thing. When click clear selection , everything is working fine. Nevertheless, calendar selection got future years till 2029 as attached. is it possible can set the calendar without these future years not existing in the dataset ? thanks