Support

Account

Home › Forums › Add-ons › Repeater Field › Retrieving number value from field order? › Reply To: Retrieving number value from field order?

  • Hi @bluebirdhaze

    Your code doesnt seem to make use of a counter variable. Have you attempted to add one in.

    Just define $i before the loop, and then within your loop increase the counter by 1 ($i++). Then just echo this out when you need it.

    Perhaps you could jump on google and research a PHP counter variable?

    Thanks
    E