I have two buttons submit and cancle in a form.How can I disable the validation

I have two buttons submit and cancle in a form.How can I disable the validation of form's required fields if i have a vancel button inside form.I dont want any validation to apply when i click on Cancel button....

OriginalPostID-74445

OriginalPostID-74445

  Discussion posts and replies are publicly visible

Parents
  • Hi, Himanshu,
    Currently there is no out of the box functionality that will allow this. One way you can accomplish this is to not use the built in required option, but rather to route the exit flow through an XOR gateway that conditionally validates your submission, and routes back to the original input task (with an error statement) if a 'required' constraint was not met.
    Hope this helps!
Reply
  • Hi, Himanshu,
    Currently there is no out of the box functionality that will allow this. One way you can accomplish this is to not use the built in required option, but rather to route the exit flow through an XOR gateway that conditionally validates your submission, and routes back to the original input task (with an error statement) if a 'required' constraint was not met.
    Hope this helps!
Children
No Data