Using depends with the jQuery Validation plugin

前端 未结 8 563
[愿得一人]
[愿得一人] 2021-01-12 11:52

I\'ve got a form with a bunch of textboxes that are disabled by default, then enabled by use of a checkbox next to each one.

When enabled, the values in these textbo

8条回答
  •  渐次进展
    2021-01-12 12:32

    I had the exact same problem.

    I solved this by having the radio-button change event handler call valid() on the entire form.

    Worked perfect. The other solutions above didn't work for me.

提交回复
热议问题