Widget configuration form: Conditional content
This form is used for the configuration of the "Conditional content" widget. This widget allows you to show content only when a configured rules engine condition is true for the current request
File path | /forms/widgets/conditionalContent.xml |
---|---|
Form ID | widgets.conditionalContent |
<?xml version="1.0" encoding="UTF-8"?>
<form i18nBaseUri="widgets.conditionalContent:" categories="system,default,rulesengine,email" feature="rulesengine">
<tab>
<fieldset>
<field sortorder="10" name="condition" required="true" control="conditionPicker" ruleContext="webrequest" quickadd="true" quickedit="true" />
<field sortorder="20" name="content" required="true" control="richeditor" />
<field sortorder="30" name="alternative_content" required="false" control="richeditor" />
</fieldset>
</tab>
</form>