I have a "CMS_INPUT_COMBOBOX" and a "CMS_GROUP". Now i want to set the visibility of the group depending on the Value og the combobox.
I created the following rule:
<RULES>
<ON_EVENT>
<WITH>
<EQUAL>
<PROPERTY source="global_gui_setting_gtf_mailtransport" name="VALUE"/>
<TEXT>SMTP</TEXT>
</EQUAL>
</WITH>
<DO>
<PROPERTY source="#form.group_smtp" name="VISIBLE"/>
</DO>
</ON_EVENT>
</RULES>
But the rule didn't work and the group is always hidden. When i use a textbox instead of a combobox, it works.
This is the definition of my combobox:
<CMS_INPUT_COMBOBOX
name="global_gui_setting_gtf_mailtransport"
allowEmpty="no"
hFill="no"
length="10"
singleLine="yes"
useLanguages="no">
<ENTRIES>
<ENTRY value="MAIL">
<LANGINFOS>
<LANGINFO lang="*" label="PHP mail()"/>
</LANGINFOS>
</ENTRY>
<ENTRY value="SMTP">
<LANGINFOS>
<LANGINFO lang="*" label="SMTP server"/>
</LANGINFOS>
</ENTRY>
</ENTRIES>
<LANGINFOS>
<LANGINFO lang="*" label="Mail transport handler"/>
</LANGINFOS>
</CMS_INPUT_COMBOBOX>
So, is there something wrong with my rule or FS5?