Tag specific words or sentences within dynamic text frame
- September 8, 2023
- 4 replies
- 241 views
I'm creating a template using a third-party templating tool that ingests an IDML file and reads Indesign's Tags as editable inputs. The template creation workflow is to design the template entirely within InDesign, appropriately tag the fields that will be editable for users (using window>utilities>tags), then bring the IDML into the templating tool to let users edit the tags/inputs.
In the template that I'm designing, I want the user to be able to input their name and their company name, then use that information to populate the placeholder values within a paragraph. For example, the template might say:
"Hello, my name is [user_name] and I work for [company]. I started working at [company] 3 years ago."
In the above example, the user's name and company should be properly tagged within the paragraph so that the placeholder text is filled with the user's information, and the rest of the text should move within its bounding box accordingly.
So far, I've added a separate text frame for each input within the paragraph and set the paragraph's text wrap to wrap around the input frame. However, since this input box is separate from the paragraph, it doesn't adhere to the same bounding box as the rest of the paragraph, and therefore will not work for line breaks where needed. (see attached screenshot)
Is there any way to tag those inputs within the bounding box of the greater paragraph, either using the method described above, a table, or some other method? The user should be able to add a long name or company name and use line breaks within the paragraph if needed.
