Skip to main content

Form Control Visibility and Validation

Comments

3 comments

  • Berend Veldkamp

    Did you try to remove all validations in the RuntimeModifications?

     

    form.Find(Of TextBoxFormItem)("TextBox1").ValidationItems.Clear()

    0
  • Permanently deleted user

    Yes I tried doing that in an assign, but got an "Invalid L-value expression" with form.Find(Of ListBoxFormItem)("ListBox1").ValidationItems. What activity should I be using?

    0
  • Berend Veldkamp

    The Clear method does not return a value, so it cannot be used in an Assign statement. In this case you should use the Invoke Method activity, with TargetObject set to form.Find(Of ListBoxFormItem)("ListBox1").ValidationItems and MethodName set to Clear .

    0

Please sign in to leave a comment.