Quantcast
Channel: Using Optimizely Platforms
Viewing all articles
Browse latest Browse all 8020

Customised Validation Message on ListItems Attribute

$
0
0

I'm using ListItems attribute on IList which shows a validation message. 'The field Answers is invalid'

I want to show a customised message. How to do it?

[ListItems(2,int.MaxValue)]
public virtual IList<QuestionnaireAnswerBlock> Answers { get; set; }


Viewing all articles
Browse latest Browse all 8020

Trending Articles