G
George
Hi all,
I have the following problem:
I have an InfoPath 2007 form (not browser enabled) that users fill offline.
On submit I perform some data validations. One of those validations is
CompanyName check - a user types offline the name of company he visited and
during submit process the given company name is checked again a sharepoint
list. If the company name doesn't exist, a dropdownlistbox control is filled
with existing company names and user can select target company name from the
list. Everything works fine except one thing: I'm not able to hide the
dropdown control programatically (I want to show the dropdown only for
moment of company name selection in case that the given company name is not
valid and then hide it again).
Is there any possibility how to manipulate (show/hide, enable/disable,
changing style) with Infopath controls programatically? Note that
conditional formatting is not the solution since I cannot find a possibility
to create the condition based on number of items in dropdownlist (hide when
no items, show when at least one item exists).
Thank You
George
I have the following problem:
I have an InfoPath 2007 form (not browser enabled) that users fill offline.
On submit I perform some data validations. One of those validations is
CompanyName check - a user types offline the name of company he visited and
during submit process the given company name is checked again a sharepoint
list. If the company name doesn't exist, a dropdownlistbox control is filled
with existing company names and user can select target company name from the
list. Everything works fine except one thing: I'm not able to hide the
dropdown control programatically (I want to show the dropdown only for
moment of company name selection in case that the given company name is not
valid and then hide it again).
Is there any possibility how to manipulate (show/hide, enable/disable,
changing style) with Infopath controls programatically? Note that
conditional formatting is not the solution since I cannot find a possibility
to create the condition based on number of items in dropdownlist (hide when
no items, show when at least one item exists).
Thank You
George