Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
4337 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit