MIGX: Two individual chunks using @FIELD possible?

Hey there,
i would like to build HTML code and JS code seperately using MIGX data from one source.

If I use &tpl=`@FIELD:MIGX_formname` i can build the HTML using corresponding Chunks, but how would i use another getImageList call for building another structure (JS)?

What i would need is something like this for my second getImageList call (pseudocode):
&tpl=`@FIELD:MIGX_formname + ('_JS')` so i could have two chunks:

Chunk formname for HTML
Chunk formname_JS for JS

Solved it using a hidden field inside the form which translates into a chunk.

This topic was automatically closed 2 days after discussion ended and a solution was marked. New replies are no longer allowed. You can open a new topic by clicking the link icon below the original post or solution and selecting “+ New Topic”.