开发者

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

开发者 https://www.devze.com 2022-12-14 10:28 出处:网络
I do have three text box, where all are required field. which is tightly coupled with a model Name* :

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

精彩评论

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