Filter on browser enable form

M

morna

I have developed a Infopath 2007 form. On the form I have two
dropdown boxes that are populated from an external datasource. The
first dropdown "Vendor" gets populated and then the second dropdown
"Item" should get populated based upon the setting in Vendor. So I
need to put a filter on the Item dropdown; something like Item =
@Description[@VendorTitle = Vendor]. Works great as long as I don't
set the compatablity to work with a web browser.

When I set it to work with a web browser I get an error about "filter
is not available" for the Item dropdown. I have tried to write code
behind on the VendorChange event, however, I can only populate the
first line of the Item dropdown.

Is there a way to set a filter on the second dropdown (Item) using the
web broswer compatablity? Thanks for your time.
 
J

jeanlucricher

I have developed a Infopath 2007 form. On the form I have two
dropdown boxes that are populated from an external datasource. The
first dropdown "Vendor" gets populated and then the second dropdown
"Item" should get populated based upon the setting in Vendor. So I
need to put a filter on the Item dropdown; something like Item =
@Description[@VendorTitle = Vendor]. Works great as long as I don't
set the compatablity to work with a web browser.

When I set it to work with a web browser I get an error about "filter
is not available" for the Item dropdown. I have tried to write code
behind on the VendorChange event, however, I can only populate the
first line of the Item dropdown.

Is there a way to set a filter on the second dropdown (Item) using the
web broswer compatablity? Thanks for your time.

http://www.sharepoint-tips.com/2007/01/infopath-form-services-implementing.html
 

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