Message 1 of 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all.
I am trying to create a model where users can either select a value from a predetermined list or toggle another parameter to make a "special" version, where they can enter an arbitrary value.
I have made a simple example of what im trying to do:
Sub main Dim x As UserParameter = Parameter.Param("param_1") If Special = True Then x.ExpressionList.AllowCustomValues = True Else x.ExpressionList.AllowCustomValues = False end if End Sub
However, when "special" changes, the parameter is updated but nothing has changed in the form. E.g the property "AllowCustomValues" is now true, but it still cant be edited in the form, or vice versa.
I have attached a simple model that demonstrates my problem.
Thanks in advance!
-Casper
Solved! Go to Solution.