-
Can you attach your template again?
-
Looks like custom code was accidentally added to the form. Go to Form Options / Programming and click the remove code button and save, then re-inject, unless your custom code is intentional? If so, let me know and I'll get you a link to a doc on how to do that.
-
You just need this part:
../my:RevTable/my:RevGroup[last()]/my:QPRev
The last() function goes on the repeating group.
-
Well - you are using an absolute XPath which will get the first one, sure. Is the ID for the hyperlink a field inside the group? Use a relative XPath to get what you need - ../ will take you from the ID to the group (if it is a first level child inside the group - sorry, I've got no idea what your data structure looks like) - so you ...
-
Can you paste in exactly what you have in the formula editor? Check the Edit XPath box first... :)
-
I think you should use the field picker to select fldQPRev. Then check the little checkbox in the formula editor for Edit XPath. Then type in [last()] next to the repeating group- RevGroup. That may be the most straightforward approach.
-
Well - your expression with the spaces around the "/" is division - which explains the NaN error.
Try using the compete XPath - you are probably using the default "my" namespace, so it would look like:
my:RevGroup[last()]/my:fldQPRev
-
Oh - I wasn't suggesting alternate approaches - I think the only way you are going to be able to track clicks on a hyperlink control is via the context changed event. I just haven't run into this particular requirement before. There are other cases for using the context changed event - but again, it just isn't something I've ...
-
Sorry - didn't see your reply yesterday - I don't use the context changed event much - but you should be able to get the name of the node that has changed - looks like e.Context.Name should get you that. You could run your code based on whether the correct node had changed. e.Context is an XPathNavigator - you should be able to ...
-
Okay - the reason I was asking is because the error says that it can't find the ID field specified in the command - I was just going to verify those specific commands. I took a look, and those seem right - did you add any new mappings? Change the main data source at all? Can you set the /QdabraRules/Form/@extendedErrorMessages field to ...