-
This should work:
Open up the Rules dialog for your submit button:
Add a rule: Condition: (whatever condition you want to use to determine the form is invalid) Action: Show an error message
Check the box for "Stop processing rules when this rule finishes"
Add another rule: Condition: none Action: Submit the form
If ...
-
Tools/Form Options/Programming/Remove Code should be all you need to do to eliminate the code from your form. What is it that's indicating that there is still code in your form?
-
In Tools -> Form Options -> Programming, there is an option to specify the project location for managed code. If you change it to a directory to which you know you have write access, does that help?
-
Ok, here ya go. The bold parts are the parts I added.
Table/LevelGroup/Autonumber → count(../preceding-sibling::*) + ../../../my:Autonumber + 1
Figure that for the first one [count(../preceding-sibling::*) = 0], it should be one more than RoomSpace's Autonumber, and so on
RoomSpace/Autonumber → ...
-
Glad to hear that.
I wouldn't recommend that you both work on the form at the same time. That raises the risk of collisions between your changes and hers, but if there is back-and-forth, between her adding new values, sending it back to you, you changing the data source, passing it back, then it should work out ok.
-
Looks like there's a potential problem with l_section and l_rank. You are not concatenating a logical operator between them so you can wind up with something like
from [lessons] where [lessons].[l_section] = "lesson category" [lessons].[l_rank] < 4
I'm not sure if that's the problem here, but the first thing you ...
-
I think there's surely a way to do this, but before that, could you show us the code you're trying to use?
-
InfoPath often doesn't take kindly to having its XSL modified. What precisely are you trying to do? Maybe there is a way to do it from within the InfoPath designer.
-
In that case, set AdminGroup/TableTitle/autoNumber to
count(../../preceding-sibling::my:AdminGroup) + count(../../preceding-sibling::my:AdminGroup/my:rooms) + count(../../preceding-sibling::my:AdminGroup/my:TNA) + count(../../preceding-sibling::my:AdminGroup/my:NGF) + count(../../preceding-sibling::my:AdminGroup/my:DGA) + 1
and ...
-
If you set AdminGroup/TableTitle/autoNumber's default value to this, does it behave how you expect? If not, could you describe how you want it to behave?
count(../../preceding-sibling::my:AdminGroup) + count(../../preceding-sibling::my:AdminGroup/my:rooms) + 1
Do you perhaps want every line numbered, including the rows with totals in ...