-
Hi all,
Does anyone know how to check whether a data field is mandatory by code?
Thanks
-
Hi all,
Can anyone tell if it is possible to write scripts to traverse all of the data field names (not the DOM tree) that I have created in InfoPath Designer?
-
Does the RichTextBox have any attributes like the TextRTF that can be set via code ?
I have xsl file for an xml document that produces the html ,, I want to display this in the RichTextBox ?
Converters for html to rtf exist , so one can set the textrtf property of the richtextbox to the output of this converter ? , any better idea please ...
-
What I want to achieve is to have a form where 10 fields are filled in by the user, then printed to a hard copy, but when saved to file (be it a hard drive, a database, sharepoint or wherever) then only 9 of the fields are actually saved as part of the form.
Obviously I know that I can tell the form to only pass over 9 of the fields into a said ...
-
Thanks Mfaux for the reply.
Looking into user roles is getting a bit complicated as I have already hit problems in this area regarding a simple print button. (long story and another thread!).
OK.. if I use this code, and the field that I want zapping is called 'Data' ... how would the code you just suggested read? (ie: is sensitiveNode the ...
-
Hi! I am trying to create an automatic number field that starts at 531. It's for a ticket support form. I need to program a text box field to increment everytime a new form is created, otherwise if a ticket is just opened not to do anything. I am using VBScript. The form is connected to an Access Database. Thanks,
Lisa Spencer
Programmer/Office ...
-
What's wrong with this code?
function XDocument::OnLoad(eventObj)
{
If XDocument.IsNew Then
Dim TicketNumber, HiddenText
TicketNumber = Sum(HiddenText) + 1
End If
}
Error in Script.js expected ';' in Line 26(which is the If line).
Thanks!
Lisa Spencer
Programmer/Office Specialist
-
i have a secondary data connection that gets the ID from sharepoint:
var prDom = XDocument.DataObjects(''PRID'').DOM;
XDocument.DataObjects(''PRID'').Query();
var prNum = prDom.selectSingleNode(''/dfs:myFields/dfs:dataFields/dfs:PR/@ID'').text;
my problem is this:
i'd like to update my form with the sharepoint id, but this just queries all of ...
-
Matt:
Thanks for your response.
I have a form hooked to a single SQL table cataloging software issues, what they are, fixes, status of the issue, etc. The key is a Software Issue No set as an identity field. I would like to emulate the Next Record functionality that Greg Collins demonstrated in the Paged-Detail demo which shows one record at a ...
-
Matt, I was able to get your code to work but only in after I set up a rudimentry test project and I had to change the XPath in the first line to point to a repeating group instead of a field.
var oRow = XDocument.DOM.selectSingleNode(''//my:employees/my:employee'');
XDocument.DOM.selectSingleNode(''//my:employees'').appendChild( ...