Disable the Dropdown List

P

Paresh

Hi All,

I am creating a browser based InfoPath form which has a dropdown
list. Is it possible to have something like whenever the dropdownlist
has only 1 entry / 1 item, disable the dropdown?

Thanks,
Paresh
 
A

Anuma(GGK Tech)

Hi Paresh,

Do you want to disable the dropdown when we select the value in the drop
down or when the dropdown has only one value?

If you want to disable when we select the value in the dropdown. Set the
data validation in the dropdown field as when dropdown is not blank, disable
this control.

Thanks,
 
P

Paresh

Hi Paresh,

Do you want to disable the dropdown when we select the value in the drop
down or when the dropdown has only one value?

If you want to disable when we select the value in the dropdown. Set the
data validation in the dropdown field as when dropdown is not blank, disable
this control.

Thanks,
--
Anuma Reddyhttp://www.GGKtech.com







- Show quoted text -

I want to disable the dropdown only when there is only one item in the
dropdown.

Thanks,
Paresh
 
S

S.Y.M. Wong-A-Ton

You can use the count() function to count the amount of items in the
drop-down list box by counting the amount of items in the data source that
the drop-down list box is bound to. Use this in a conditional formatting
condition to disable the drop-down list box when the count is equal to 1.
 
P

Paresh

You can use the count() function to count the amount of items in the
drop-down list box by counting the amount of items in the data source that
the drop-down list box is bound to. Use this in a conditional formatting
condition to disable the drop-down list box when the count is equal to 1.
---
S.Y.M. Wong-A-Ton







- Show quoted text -

Thanks SYM. I will try this out and let you know the updates :)

Regards,
Paresh
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top