title: How to set the field requried depends on condition?
body: <p>I am asking if it's possible to make the field required under condition like:
  to set a text box required if the other field is not empty otherwise it will be optional.</p>