$repeatCounter question

Status
Not open for further replies.

Fred04

Member
hello,

let says that in a repeat group I want to display the group counter.

I use the following php code:

PHP:
return (int)$repeatCounter;

but it returns 0 for all the records of my repeat group instead of 0,1,2,3...

what's wrong?
 
Well I stuck your code in a calc element and it works for me in detail view.

I'm having deja vu with this post. :)
 
thank you Felixcat,

I tested it again using a Calc element and I confirm it works for me as well.
Initially I was trying to use a 'display' element with some php and in this context it does no work.
 
Status
Not open for further replies.
We are in need of some funding.
More details.

Thank you.

Staff online

Members online

Back
Top