When I save a particular image (e.g. invoice) to the repository a workflow starts and adds a new form, complete with workflow data, to a user's Form Task list.
The requirement is for a hyperlink in the new form back to the original image.
I cannot use form field variables in Custom HTML; they don't work.
e.g. <p><a href="http://localhost/laserfiche/DocView.aspx?db=Demo&docid={/dataset/Image_ID}" target="_blank">Open Invoice</a></p>
What JavaScript is required to add a variable to Custom HTML?
e.g. <p><a href="http://localhost/laserfiche/DocView.aspx?db=Demo&docid=XXXX" target="_blank">Open Invoice</a></p>
Where XXXX is the image ID and assuming the image ID is added as a field in the form.