Use our Google Custom Search for best site search results.
Search
-
Hi Travis,
Double click on the dropdown to open the dropdown listbox dialog.
Click Data Validation, select the OnafterChange event in the Events dropdown and click Edit.
In the eventhandler,typing ''e.Site.text'' gives u the newly selected value in the dropdown.
Send this value to the web service.
U can also accomplish this using rules ...
-
Hi Adam,
Adding a web reference as u do in a web application is not a good idea to access a web service in InfoPath.
Instead u create secondary data connections to ur web service and query it whenever needed.
The advantage of this method is that data fetched using secondary dataconnections are not saved with the form.They are lost as soon ...
-
Hi TravisBickle,
When u hardcode values in the dropdown manually,u have the option to select the default value in the listbox properties dialog.Thats why u can find the value selected by default in ur dropdown.
So how do u set the default selected value for the dropdown when u bind the dropdown to a web service?
Do as follows...
Assume ur ...
-
Hi Eric,
I had this problem once when I had the same error message but could not find any control with any error on the view.
Finally I deleted the view and created it from scratch and it was ok.
Sorry for a very bad advice.But thats what I did.
Regards,
Abhishek
-
Hi Travis,
Dont bind the RichTextBox directly to the XML node returned by the webservice.
Keep the Rich textbox field in the main datasource.
Once the data is returned by the webservice, transfer the data from the XML node returned by webservice to the Rich Textbox field in the main datasource.
regards,
Abhishek
-
Hi Patrick,
I had this problem long time back and I remember,I solved this problem exactly the same way as u said.
Regards,
Abhishek
-
Hi Deb and Patrick,
Its not because of any rules or any code behind.
Even I noticed that it happens in the following condition.
I built a form using the ''New from Dataconnection'' option.And I drag all the query and data fields to the default view i.e View1.
Now if I add the ''Run Query'' button and ''New Record'' button to another view say ...
-
Hi Nikhoi,
Regarding the EmailAdapter, u can find the code in the following link in both JScript and C#.
http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=2583&SearchTerms=email,adapter
Also search the InfoPathdev forums with EmailAdapter as the keyword. You will see lot of posts.
Now u need to place the code in the OnSaveRequest() event, ...
-
Hi Spudy,
Is it a unique identifier for each new repeating group or for each new row in a repeating group?
Assuming that its the latter...
To have a serial number for each row in a repeating group,there is a tutorial on ''How to assign an Autogenerated number to a repeating field'' in the following ...
-
Kamal,
I have answered this question in the following link.
http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=3523
Regards,
Abhishek