-
Instead of inserting/removing sections of XML with ''Cannot be blank'' fields in them, why don't you just take off the ''Cannot be blank'' flag, use conditional formatting, and do data validation via code?
---------------
Matt Faus
-
You'll need to use formatting and escape characters. Depending on what language you're using you'll need to look up with escape character for ''newline.'' If you're using JScript (which it looks like you are) take a look at this for a complete ...
-
InfoPath can employ a variety of languages to guide automation. From my knowledge availabe language options break down as such:
Scripting
JavaScript
VBScript
Managed Code (edit *corrected by Franck* )
C#
VB.NET
---------------
Matt Faus
-
Try this in your formula (no string conversion necessary):
concat(COMPANY_NAME, DATE)
---------------
Matt Faus
-
The Code I gave would have done exactly what you were trying to do, with slight modifications.
var repeatingTable = XDocument.DOM.selectNodes( ''/my:Data/my:group1/my:group2'' );
var sum = 0;
while( row = repeatingTable.nextNode() )
{
var subtotal = getNodeTypedValue(row.selectSingleNode( ''my:line_item_total'' ));
sum += subtotal;
}
With, of ...
-
Well if you have the right Adobe software installed all you should have to do is print to PDF. File -> Print, Choose Adobe PDF as the target printer and hit ''OK''...
I would think this is pretty trivial - was that really your question?
---------------
Matt Faus
-
Any workaround for this? Should I try it on a different machine? I am pretty sure it is a problem with my installation of wizard.hta, I tried it with a very simple form and got the same response. I'm going to investigate some options, maybe new version, uninstall/reinstall, etc. Thanks for any help.
---------------
Matt Faus
-
I'm pretty sure that is the XML standard. The only way you could change formatting upon storage would be to use text strings. However, if you want to change format upon display you should be able to use a variet to methods to achieve whatever kind of display you would like. One would be Infopath's data type formatting. If you have a 'date picker' ...
-
Not sure if I'm following exactly what you want, but look at these tutorials. They helped me A LOT.
http://www.infopathdev.com/howto/tutorials/default.aspx?s=Repeating%20Tables
---------------
Matt Faus
-
No problem. Sounds like some kind of permission error with your form interacting with the server. You might have to deploy a Full Trust solution, or use a web service. As I am not familiar with Sharepoint at all, someone else will have to help you from here. Good luck!
---------------
Matt Faus