Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Hi
I have created a criterion to be used in visitor groups. The criterion has three properies: Key (input field), Condition (dropdown), and Value (input field).
The three properties are declared like this in my model (inheriting from CriterionModelBase):
[Required]
public string Key { get; set; }
[Required, DojoWidget(SelectionFactoryType = typeof(EnumSelectionFactory), AdditionalOptions = "{ selectOnClick: true }")]
public RequestHeaderValueCondition Condition { get; set; }
public string Value { get; set; }
Key is always to be shown, but suppose I only want to show Value, depending on what is selected in the Condition-dropdown. Is this possible?