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/>