Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Need do clear variable used in a calendar controls using clear menu option. Variable used are vStartPeriod and vEndPeriod.
Can someone help me or give a hint?
Hi Gopal,
The "Clear" button on your screenshot only refers to filter selections made by the user (assuming they're not with the "Always one selected value" checked).
Since it's a variable, you would have to create a button with two actions:
- Selection -> Clear all
- External -> Set Variable -> vStartPeriod into "Variable" input box, and Empty string on "Value" box.
- External -> Set Variable -> vEndPeriod into "Variable" input box, and Empty string on "Value" box.
Then, by clicking the button you would clear all selections and both variables would have no values.
Felipe.
Hi Gopal,
The "Clear" button on your screenshot only refers to filter selections made by the user (assuming they're not with the "Always one selected value" checked).
Since it's a variable, you would have to create a button with two actions:
- Selection -> Clear all
- External -> Set Variable -> vStartPeriod into "Variable" input box, and Empty string on "Value" box.
- External -> Set Variable -> vEndPeriod into "Variable" input box, and Empty string on "Value" box.
Then, by clicking the button you would clear all selections and both variables would have no values.
Felipe.
Thanks a lot Felip. Appreciate your help very much
Hi Gopal,
Could you mark the answer as "Correct" if it helped you?
Thanks,
Felipe.