Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have list box contains names of countrys.when i selected clear all butoon in the tool bar then list box default item should be "India".
Hi Mahaesh
There is a way to do that. You need a variable with this formula '=getselectedcount(Country)'.
Then you need a trigger on variable change ( Settings -- > Document Propierties --> Triggers )
In this triger you must put: 'if(variable=0,'INDIA',Country)' in select value
Please find an exampel attached.
Hi Mahesh,
if you use the default "Clear all" button in the toolbar, then ALL selections will be cleared - there's no way (I know of) that you can clear all selections and at the same time make a new selection - you need to build a custom button for that that does two things:
a) clear all selections
b) select "India"
HTH
Best regards,
DataNibbler
Hi Mahaesh
There is a way to do that. You need a variable with this formula '=getselectedcount(Country)'.
Then you need a trigger on variable change ( Settings -- > Document Propierties --> Triggers )
In this triger you must put: 'if(variable=0,'INDIA',Country)' in select value
Please find an exampel attached.
Hi,
Can u pls help me for setting default value for input box.