Hi,
Currently it’s possible to use only [id] and [key] as nested shortcode attributes so to solve the task we can offer you 2 possibilities to solve the task:
1st solution:
Create Formidable Forms View with shortcode inside:
[myshortcode firstname="[318]" lastname="[319]"]
And use inside E2Pdf Template:
[display-frm-data id=123 filter=limited entry_id="[id]"]
* where 123 is the ID of Formidable Form View.
2nd solution:
Create custom shortcode wrapper which will generate shortcode as you need. Here is the code example which must be added to theme functions.php or PHP snippet: https://codeshare.io/G6NrKY
After adding code it will be need to use:
[myshortcode-wrapper dataset="[id]"]
We remain at your service.