Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / April 2005

Tip: Looking for answers? Try searching our database.

Hiding The DropDownList

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Sumanth Peddi - 04 Apr 2005 19:10 GMT
Hi!

Could anyone help me out with the problem that I am facing.

I have an InfoPath form into which a user enters his data now the user
fills out the form offline and when he is done filling the form, he
connects to the sharepoint portal and submits the form.  Here lies the
problem when the user submits the form I want to check the data entered say
Company Name against a database and if the data is not valid then I show a
DropDownList instead of a text box into which the user entered the Company
Name.

I inserted a button called validate onto the form and then tried to
validate the user input using this button but somehow the DropDownList is
not being shown again.

Thanks in advance.
Sumanth Peddi - 06 Apr 2005 23:38 GMT
Got it!!!

I used a hidden field within the form to show hide the DropDownList that
was being autopopulated by managed code.

The trick behind this was first add DropDownList to the form, then add the
rules. Later close infopath designer and then make changes to you .xsl file
and change mode found between the <xsl:template/> and <xsl:applytemplates/>
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.