Are AC flows compatible with form submits?

@George @Teodor

Can I run a flow on submit and then POST(needs to be a POST) the request to SC from the same flow?
It’s driving me crazy and I see this use case as a pretty basic one for flows and forms :slight_smile:
I’ve tried several combinations and haven’t managed to do it.

I want to achieve this.

$('#myform').submit(function() {
    return myflow.run()
    });

...

//flow run function
function run() {
  if (condition)
   return true //submit form
  else
   return false //cancel submit
}

Community Page
Last updated: