Non-submit button in oTree

396 Views Asked by At

I have a form made of buttons and a submit button. I want to submit only from the submit button.

I tried to use button type="button", but when I try to submit I get a "This field is required" error. How can I accomplish this?

1

There are 1 best solutions below

0
On

Have you tried to set the Blank = True in models.py for the fields that do not submit?