-
Hi Patrick,
Thanks for this comment and for have make this possible, too.
With your code my problem is not solve because I have no error but only 14 field in my repeating section is filled. So I thin that can be a bug because when I see what I have in my IXMLDOMNode I see my markup with the attribut but Infapth are unable to delete, change or ...
-
Hi Mikeg,
Just for your information,..Condition in rules dont prevent the underlying code from running.
Using a rule, u can only ensure that the rules that follow do not execute.
But to prevent the code from running,u need to do that in the code itself.
Regards,
Abhishek
-
Thank you for your reply shiva
-
Hey,
How are your form deployed - through Sharepoint or installed on the user's machine or from a shared drive?
More than likely you will need to clear the user's Form Cache to ''remove'' the old templates since Infopath caches the form to the users:
C:\Documents and Settings\UserID\Local Settings\Application Data\Microsoft\InfoPath
Hope that ...
-
Thank you so much for the quick response! I knew there had to be something very simple.
-
Hi Monica,
Two ways you can sort the data,
1. In Sharepoint list you need to be re-sorted as per your requirement.
2. One more way is the best is use a secondary datasource that is updated when a new entry is made. For the problem of sorting you can add an xsl:sort in your view after have made a preserve code block for that don't erase your ...
-
Hi buki79,
This is the problem with your reset code. your reset code is making the root node empty. you can use below reset code instead:
var nodes = XDocument.DOM.selectNodes(''//*'');
while(node = nodes.nextNode())
{
if(node.selectNodes(''child::*'').length == 0)
{
node.text = '''';
}
}
-
Hi dloeffl Welcome to the forums,
You can set your own message, when user tries to sending a form via email with validation errors.
if(thisXDocument.Errors.Count >0)
{
thisXDocument.UI.Alert(''Your message'');
return;
}
-
First - forgive my early ingnorance in such company. My issue is users completing forms using old template versions. I would like to remove the option from them - but there doesn't seem to be an option in my company's set-up of Infopath. We are using Infopath 2003. Can anyone help?
-
When sending a form via e-mail using InfoPath 2003 (SP2), the interface prompts you to warn of validation errors. This feature does not provide a ''hard stop'' preventing users from proceeding and actually sending the form.
I am using some scripts to create an e-mail to a user and am looking for a way to stop the script if there is a validation ...