Hoppa till huvudinnehållet

Set validation of a form item in run time modifications

Kommentarer

1 kommentar

  • Jessica Gould
    In case anyone else comes across this, I was able to acheive this by using the AddToCollection activity.

     

    --first I create a ComboBoxFormItem variable and initialize it

     

    --then the collection i'm adding to is ComboBoxFormItem.ValidationItems

     

    --The type of collecton is Geocortex.Forms.Client.Items.Validation.ValidationItem

     

    --The item I'm adding to the collection is new Geocortex.Forms.Client.Items.Validation.RequiredValidationItem() With { .Message = "This field is required" }

     

     

    User-added image
    0

Du måste logga in om du vill lämna en kommentar.