-
The browser does not allow all of the same methods that a normal (non-browser) form can have. That's why you cannot find it.
-
A few ways:
1. Add a field (can be in a secondary XML file) which is populated by rules or code on button click identifying the button which was clicked. Then check this value in the submit code.
2. The button click event handler can pass a parameter to the submit function to identify which button was clicked.
-
The query needs to return a node (as part of each row) that you can bind a check box control to. It can be an existing node that is not being used for anything else, or you might find a way to have the query return an extra node just for the purpose of binding the check box to.
-
Every data connection has a DOM associated with it. You can use a rule to set the query parameter in the DOM of your WS, and then query the WS. Set up your second drop-down to get all of it's display/value pairs from the WS results.
-
What you require is considered secure information and is sanboxed from InfoPath. However, you can set your form to Full Trust, and then you can get at the computer name. Or you might have available a Web Service which can return that information.
-
1. Not really. Maybe, if you knew exactly what your data was going to be and you broke it up manually you could do this.
2. I don't understand what you are trying to do.
3. Can't do this. You could try adding something at the end of your view, but no guarantee it will show up in the location of a footer.
Sorry, InfoPath is not ...
-
You probably want to take a look at these example forms:
Identifying a Filtered Table Row Number, v1.0
Select a Master Table Row via Code, v1.0
-
Can you request the dataset to be sent without the primary key columns?
-
DMcKinnon, when you do a foreach, you need to include the data type of the single item:
foreach(IXMLDOMNode node in nodes)
Nevermind--that's for C#. I see you are using JScript. You cannot use foreach in JScript the way you are using it. Try this:
var node;
while(node = nodes.nextNode())
{
...
}
-
You can add a rule which checks string-length(.) != 9 and then pops up a message... but what you really want is to use custom validation which tests for exactly 9 characters and then gives an error if it's not. If the user can leave it blank, you will need to allow for that in the custom validation as well.