Hi.
(Sorry for my poor english)
Is it possible to select just one "dataset" from a repeat group in the shortcode ?
I try to explain :
I created a form with forminator. In it, I have one repeat group of fields. I want to export a pdf with only one of the repeat group (for example the second one).
I know I can do that in the template but I want to specify the one I want in the the shortcode.
something like that : [e2pdf-download id="1" dataset="1" TheRepeatGroupSelect="2"]
Thanks for your answer.
jeff
29 March, 2023 03:20:06
E2Pdf
Support
Topics: 7
Messages: 3574
Hi,
You can output separate data for repeater fields in group as:
{select-1:1}, {text-1:1}, etc for 1st repeater entry
{select-1:2}, {text-1:2}, etc for 2nd repeater entry
{select-1:3}, {text-1:3}, etc for 3rd repeater entry
and so on...
So possible solutions are:
1. Use different templates that will contain different shortcodes to output data for needed repeater entry.
or
2. You can use the "arg" attribute to bypass the repeater index, as:
We use cookies to collect and analyse information on site performance and usage, to provide social media features and to enhance and customise content and advertisements. By clicking "Accept Selected", you consent to use of selected cookies according our to our Cookie Policy.