Open Nakilon opened 11 months ago
Hi @Nakilon, sorry you experienced this problem. Would you be interested in attempting to implement this in a pull request?
I think it can be handled by modifying Form#submit
:
def submit button = nil, headers = {}
+ warn "Multiple SUBMIT buttons available on the form." if submits.size > 1
@mech.submit(self, button, headers)
end
@weshatheleopard Thanks, I'd love a PR for this if you have the time and inclination.
Just spent an hour or more installing different debugging tools until found the cause of my error.