-
If you are doing this it would be a good idea to maintain two views, one for Edit mode and Other for View mode.
We can just switch views based on the requirement.
Having a conditional formating on each field to enable/disable will effect the performace of your form.
Agni
InfoPath Dev India
-
Hi SherazAttari,
Welcome to the Forum!
Thanks for the information on this.
Agni
InfoPath Dev India
-
It would be hard for us to answer without knowing actual scenario, If you can send us your custom control we can try it out and let you know why it is breaking.
Agni
InfoPath Dev India
-
Hi Matrix,
This might work for you to close the current window
XDocument.View.Window.Close(true);
Agni
InfoPath Dev India
-
Hi, I dont think you can actually get the network user(The user name that you have entered in the Sharepoint authentication dialog), its a dialog out of InfoPath, called by sharepoint to authenticate you. This dialog boxis called even before your form is loaded, so its not possible for InfoPath/custom code in InfoPath to get the network ...
-
I dint mean to insert another row, I just advised him to put insertNumberResult in the UI and check the result instead of using UI alert, so that it would be easy to debug/know the result.
Agni
InfoPath Dev India
-
Hi Amish, we had a similar issue in one of our projetcs.
If there is too much data that gets changed when you select the master control row, then InfoPath dies. As you said that this specific file has more amount of data(pictures). This is a bug in a tool that InfoPath uses to render data. Our guys said that it is a ''Trident'' issue.
Microsoft ...
-
Hi
Here is the code in Jcript that you can have in OnClick eventof a button
var oEmail = XDocument.DataAdapters(''Email Submit'');
oEmail.To = ''abc@xyz.com'';
oEmail.CC = ''xyz@xyz.com'';
oEmail.Subject = ''subject''
oEmail.Intro = XDocument.Dom.xml;
oEmail.Submit();
Agni
InfoPath Dev India
-
Hi Richard,
1. By custom control did you ActiveX'' control? or a regular InfoPath Textbox control?
If you want to bind text box to a Secondary datasource then drop the secondary datasource element into the UI then that control should automatically connect secondary datasource.
2. You can add On_After_Change or a rule on a datasource element, it ...
-
Hi Smitty, When you select you DDL1 Med, get the data from the ''Med'' table and fill another datasource which is actually mapped to DDL2.
When you select DDL1 Lab, get the data from ''Lab'' table, remove the existing rows in the datasource that is mapped to DDL2 and enter the values that you got from ''Lab'' table.
Otherwise write a stored ...