Conditional Placeholders

Starting with ver. 1.4.0, RSDirectory! offers the possibility to set up conditional placeholders. This allows you to display any information (for example add some text, other field's placeholders) only if a value was submitted in a certain field. You'll need to use the following syntax:

{if field-name}Add any information here, including field placeholders: {another-field}{/if}

This syntax is available in all RSDirectory! areas where the use of placeholders is possible:

Nested conditionals

These special {if} conditions can be nested, as in the following example:

{if field-name-1}

{if field-name-2}Add your information here{/if}


Note: Make sure to replace field-name with your field's actual internal name.


6 persons found this article helpful.

Was this article helpful?

Yes No
Sorry about that