Overview
Text Shuffle is an advanced text feature that allows specific parts of a Text Area’s placeholder text to be replaced with the contents of another text area. In it's most basic terms it is a word(s) substitution driven by user input.
Critical: Text Shuffle is currently compatible with Raster Artwork using the ACP app.
This is a more powerful version of the text area synchronization feature, as it also takes surrounding words into account and dynamically changes the spacing to accommodate any number of characters. In scenario's where surrounding text is not a factor - it would be best to use the simpler Text Synchronisation feature.
Text Shuffle is most commonly used on multi-page products such as personalised story books, enabling the user to add their name to the entire story via a single input.
Another use case is personalised newpaper type products featuring article text, where name personalisation can be added within a preset article.
1. Line or Paragraph Text Shuffling
To enable dynamic "text shuffle" you need to use specific placeholder text within your text area.
First, create your Text Area and format as required.
In the Placeholder Text box, you must include a special reference code around your key input word, as shown in the example placeholder content below:
Happy Birthday ${Name} enjoy your day
The ${Name} part signifies that the software should substitute 'Name' (wherever defined) with the contents as input by the user. Adding this parameter automatically creates a text area for the end user to interact with. This means that the text areas that you create containing placeholder text can be disabled from allowing input (the user only interacts with one a opposed to multiple).
Any other Text Area can then be configured to feature the same ${Name} reference amongst the Placeholder Text, and any content will be shuffled automatically based on the single input. We can see in this example that a single input is driving two Text Areas and shuffling the surrounding Placeholder Text based on the configured formatting.
Interactive Example:
http://my.gateway3d.com/acp/app/?l=acp2#p=1039837&r=2d-canvas
Note that entering text into the “Cover Name” field will automatically update the text on the other pages.
2. Vertical Shuffling
Its possible to specify a multiline placeholder text such as:
${Line 1}
${Line 2}
${Line 3}
If the user enters values for “Line 1” and “Line 3” then “Line 2” will automatically be deleted and not leave a blank space between the other 2 lines.
Top Tip: This is ideal for address blocks etc