Add ability to update other text blocks when a dropdown list selection is changed
Procedure
- Use dropdown command normally.
- Add to status command
blocknames=block1,block2
- Surround blocknames with double quotes when any block name contains a space.
blocknames="block 1,block 2" - Do not add empty spaces after the block names if they are not parts of the name. blocknames="block 1, block 2". This is not correct if the second block’s name is “block 2”, remove the space after the comma: blocknames="block 1,_block 2"
- Textboxes and Dropdown Lists Blocks can be updated
- Values of dropdowns must have one part more than the block names list.
Block values start from the second value of a multiple parts (separated by ////). The First value is used for own dropdown update
Example:
status: blocknames=City,Street
dropdown: Ontario::::Ontario////Toronto////Front Street;Quebec::::Quebec////Montreal////La Monde
Important
If any value that goes into a control starts with ~/ then an attempt is made to load the content of the file and not just the file name
Example:
One::::One////<strong>One</strong>////One;
Two::::Two////<strong>Two</strong>////Two;
Three::::Three////<strong>Three</strong>////Three;
Four::::Four////~/Resources/Templates/Email-Proof/basic.html////Four
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article