I'm trying to get a value from the first and last repeating sections in a 2010 mobile app form. Apparently I can number the repeating sections by using the runtime function 'currentRowNumber'. I'm wondering if this can be used in the mobile app form as I keep getting a negative one back for the row counts -1.
are you testing in preview mode? This is the same behaviour for task outcomes in task forms. While being in preview mode, evaluating the outcome field will always result in -1. Haven't worked with mobile forms yet, but I think that could be the problem.
Yes, at the time, currentRowNumber was not supported in the mobile app. There have been general bug fixes in the last two versions. I could followup.
This function is actually listed in their not supported list for mobile. So it wouldn't be a bug, just a feature not available that we need really bad!