Loop a field having multiple values in jinja template


How can I loop a field having multiple values in jinja?

Is there a way we can pass arguments in jinja loops?


I’m not really sure what you mean by a field having multiple values, but jinja has for loops with fairly straightforward syntax:

There’s no need to pass arguments to loops. Any variable that has been set prior to the loop starting is available inside the loop. too.

Thanks for your reply


The above field has multiple values. I want to fetch the values for both the Delivery Notes in the for loop and print those field values in jinja template.