Warning; in_array() expects parameter 2 to be array, string given in /path/to/core/cache/exconfig/includes/elements/modsnippet
<label>Firm type <span class="red">*</span> <span class="error">[[+fi.error.firmtype]]</span> <select name="firmtype" value="[[!+fi.firmtype]]"> <option value="">PLEASE SELECT</option> <option value="endowment" [[!+fi.firmtype:FormItIsSelected=`endowment`]]>Endowment</option> <option value="familyoffice" [[!+fi.firmtype:FormItIsSelected=`familyoffice`]]>Family Office</option> <option value="fundOfFunds" [[!+fi.firmtype:FormItIsSelected=`fundOfFunds`]]>Fund of Funds</option> <option value="highNetWealth" [[!+fi.firmtype:FormItIsSelected=`highNetWealth`]]>High Net Wealth</option> <option value="institution" [[!+fi.firmtype:FormItIsSelected=`institution`]]>Institution</option> <option value="pensionFund" [[!+fi.firmtype:FormItIsSelected=`pensionFund`]]>Pension Fund</option> <option value="sovereignWealth" [[!+fi.firmtype:FormItIsSelected=`sovereignWealth`]]>Sovereign Wealth</option> </select> </label>
This question has been answered by glynszasz. See the first response.
<option value="endowment" [[!+fi.firmtype:FormItIsSelected=`endowment`]]>Endowment</option>
<option value="endowment" [[!+fi.firmtype:is=`endowment:then=`selected`]]>Endowment</option>
<option value="endowment" [[!+fi.firmtype:is=`endowment[b]`[/b]:then=`selected`]]>Endowment</option>