I am looking for a simple way to have an input box automatically display the current row it lies on in a Repeatable Row. I was hoping to have the ability to use the 'Row Label' some how but I don't see how.
Question
Question
Answer
Yes that is a table but as I was saying I am looking to populate the one of the 'Single Line' columns with that {n} number.
Ah, thats a bit more difficult....
So, you will likely want to use Javascript so that when you press that Add field, the value in the field is set to the same as would be in the row label.
The other way to handle this would be, to start the javascript function whenever that table changes (plus or minus a row) and have the function increment a counter and store the value of the counter as it iterates through the rows for that field.
Ah, I was hoping to steer away from java as to make it simple for the individuals editing these forms in the future.
if you wanted it simple, you would be able to get away with the Row Label. But, I bet if you set it up right, you can make it very easy to just add the code and have the user set the field to a certain CSS class and then it would work. Minimal amount of effort would be to use the row labels though