Is there a number increment keyword?


(Callum Gorringe) #1

We have an asset listing where we want to have it increment the ID of the DIV by 1 for e.g Mydiv_1 <div class="hidden" style="display: none;"> %asset_contents% </div>.

 

We've tried using %globals_random_1_1^add1% This worked but only resulted in all items being called 'Mydiv_2" because the keyword always picks a random number between 1 and 1 and adds 1 to that number, we want to increment every number by 1.

We also tried %globals_random1_1^increment% but this didn't work at all.

 

Hope this makes sense, if not please let me know and I'll try to clarify!

 

Thanks in advance.

 

Callum


(Joel Porgand) #2

try using %asset_position% 


(Callum Gorringe) #3

You legend! Thanks mate exactly what we wanted!