This question has been flagged
1 Reply
3772 Views

Dear All,

How can I skip validate the field if button "Cancel" is clicked.

I have set some attibutes like required=True for some field. However, i do not need it as required when cancel button is clicked.

Avatar
Discard
Best Answer

You can't do it... which ever button you click on form,  it firsts saves the record and then proceeds with the functionality as per the Button definition...

Avatar
Discard