dropdown command with other blocks update (BOOTSTRAP ONLY)

Modified on Thu, Jul 13, 2023 at 5:49 PM

Add ability to update other text blocks when a dropdown list selection is changed


Procedure

  1. Use dropdown command normally.
  2. Add to status command

blocknames=block1,block2

  1. Surround blocknames with double quotes when any block name contains a space.
     blocknames="block 1,block 2"
  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"
  3. Textboxes and Dropdown Lists Blocks can be updated
  4. 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

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article