I was wondering, is it possible to let the iLogic form eliminate wrongly entered values and replace it with the previous (correct) value, before the model gets updated? My iLogic-form has a text field in which the user should enter a number that's multiplyable by 4. I tried to do this by setting the field to a 'slider'-control, with a minimum of 8, a maximum of 32 and stepsize 4. But still it's possible to enter any other number in the field. I'm missing some sort of multi-value-list, like in the parameter-list of the part. That would also be a solution. The strange thing however is that I created a multivalue-list for this parameter in the parameter list, but the iLogic form doesn't adopt this multivalue list.
Any help is greatly appreciated.
Solved! Go to Solution.
Solved by danvang. Go to Solution.
Hi There,
Would you mind sending me your part so I could have a look at your rules? If you dont want to post sensitive content I could send you my email address in a private message if that would help
Most likely when you created the form the parameter was not a multi-value parameter. So now that it is, the form is not showing the list. All you have to do is edit the form and delete the parameter and place it back in. you should now have a list.
You can probably write a rule to check that value. But you will need another parameter to store the previous value. Here's a quick and dirty rule. Length and LengthOld are parameters.
If Length Mod 4 = 0 Then
LengthOld = Length
Else
Length = LengthOld
End If
Hope that helps.
Dan
You can also insert a rule that when somebody inserts a wrong value it will give you a dialog box saying the value is incorrect and wont accept the value. You can also say in the rules something in the line of "Only values between 4 and 37 accepted"