开发者

How to fire xval validation when the data of text is generated dynamically?

I do have three text box, where all are required field. which is tightly coupled with a model

Name* :

Age* :

Check Button

Date* : //This is a hidden filed

Continue Button

When i click on continue button all the validation error messages will get displayed. i am entering the Name and Age then click on Continue. then the validation should fire for click on check button before continuing.

if i clic开发者_开发知识库k on check button,date will be generated, and the validation error message still will be displayed on the page until i click on continue button.

I just want to clear of the validation message when click on verfiy button. how can i do that.


If you want to wire up the validation with dynamic content you can simply send down the xVal generated javascript with the content it should validate.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜