-
Set a default value formula on the node you bound the drop-down to, and turn off the check box which says to update it every time the value changes.
The default value would need to be set to something like:
../preceding-sibling::my:RowName[1]/my:FieldName
-
There is a check box that says whether the default value formula gets updated every time... you might just need to uncheck this.
-
You need to use the current() function... check out the following articles and example forms:
http://www.infopathdev.com/search.aspx?s=current()
-
InfoPath uses XSLT to generate the HTML/CSS that is used to display the form.
Click on the Downloads link in the site menu... there's a viewer you can get from there.
-
For the second list box to show the right value, please review the following articles and example forms:
http://www.infopathdev.com/search.aspx?s=''Cascading%20List''
For the print issue, it sounds like what you need to do is create a separate ''print view''... you can create a new view for printing, and associate it with your editable view so ...
-
Yes the DOM property itself is read-only... but the actual nodes you select beneath the DOM are not read-only. Subtle difference.
Glad you got it worked out!
-
So it looks like (from your 2nd screenshot) is that you want to get the sum of ''Total With VAT'' fields and place it in ''Total'' field. Is this correct?
What I don't understand from the data source images compared with your second screen shot is whether your ''Total'' field is ALSO inside the repeating ''d:SIRF_table'' node.... if it is, it ...
-
You should be able to use filters on a default value formula for a text box. The example I provided above was just what I built in an attempt to provide the steps in my reply.
Good luck!
-
It sounds as though there will only ever be a single employee associated with the table. If this is not the case, then you really should repeat the employee field within the table... otherwise how do you know which employee each row is associated with?
If only a single employee is associated with all rows in the table, the you could do a schema ...
-
Hi. Please first review the following two articles as they may help solve your issue:
Create a Repeating Cascading List from a Flat Data Source
Filter a Repeating Drop-Down List on Previous and Future Selections