Dynamic set form field required or not.

Discussion created by ken_huynh on Sep 20, 2012
Latest reply on Sep 21, 2012 by ken_huynh
In version 4.0 SP1.

I have a form that depending on what the user do, it need to be able to make specific field required or not.

I don't see example or document on this kind of usage.

Or even attach a script to on submit it would check and if fail, it would not submit the form.

Anyone has example or idea of this kind of script?