-
Yes, I am trying to set a value to the button using dummy field and then using button's conditional formatting of the Dummy field. Somehow, it is not working fine. Here is my code:function Next::OnClick(eventObj) {
var error;
error = XDocument.Errors.Count;
if (error!= 0) XDocument.UI.Alert("You have not filled all ...
-
Good Morning,
After two months to have time to work on this, I finally got it. The code is:
function CTRL2114_7::OnClick(eventObj)
{ try
{ XDocument.QueryAdapter.Timeout=240;
XDocument.QueryAdapter.Submit();
XDocument.DataAdapters["MainConnection"]
XDocument.DataAdapters["Submit"] .Submit(); ...
-
That's all just display whether it's in InfoPath or SharePoint. The true XML underneath the covers is a raw number...same for both InfoPath and SharePoint.
What is your end goal?
-
What does your data validation say? It's not that the field is required but that your data validation rule makes null invalid. You need to allow null.
-
You got that error figured out on MSDN, right? Does everything open fine in the browser now?
-
Good Morning,
I have finally got it working with the code below. Thanks for all your help!
function CTRL2114_7::OnClick(eventObj)
{ try { XDocument.QueryAdapter.Timeout=240;
XDocument.QueryAdapter.Submit();
XDocument.DataAdapters["MainConnection"]
XDocument.DataAdapters["Submit"] .Submit(); ...
-
I created a form and added data validation rules to several fields. I did not click the "cannot be blank" box but it appears merely adding a rule makes the field required. Is there a way for me to keep the validation rule when the person completing the form uses the field but allow the field be blank when they ...
-
Hi,
Of course I am a newbie. My script skills are weak, so I am at your mercy. I am working on a solution for our technicians to have forms signed by our customers. I am using a Topaz signature capture device (via USB). Topaz has kindly offered a .js sample. It has 2 buttons and a picture control. The first ...
-
I still don't know what you might have in your repeating table that you could base the conditional formatting ON. That is, if you look at the form when the data is loaded, how do you know what rows a person should be able to change and which not? We have to understand how a person would see or decide that to understand the formatting you could ...
-
Good Afternoon,
We have many many infopath forms which have been created on Visual Studio 2003. They work fine with Infopath 2003 but recently a few users have migrated to Infopath 2007. Some of the code on the forms dosen't seem to be working. An example is that we use some code to hide and approve / reject button - ...