Aller au contenu principal

Set validation of a form item in run time modifications

Commentaires

1 commentaire

  • 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

Vous devez vous connecter pour laisser un commentaire.