To use data values in IDF attribute values, enclose the data fieldname in braces (curly brackets), for example
FILENAME = "C:\MyFiles\{field1}.pcl"
To prompt a user to provide data for a field, place double quotes within the braces, e.g.:
<FIELD DEFINE="YES" NAME="MyInFile" STRING='{"Input file name"}'/>
See Double page sample script.
To place data within the body text of an IDF document, use the processing instruction
<?EE fieldname?>
See GROUP element sample script and REPEAT attribute.
To make the processing of items dependent on the value of a data field, place the items in a GROUP and set up a CONDITION.