Hello
I've got the same error message as below.
But I don't know where my issues are.
I got this error when I press the submit button in the form on browser.
And this is an error message I've got.
Hello
I've got the same error message as below.
But I don't know where my issues are.
I got this error when I press the submit button in the form on browser.
And this is an error message I've got.
Please provide a link where we can check this.
thanks,
Please go to http://174.138.46.199/create_a_new_event/
(now I removed security provider enforcer)
Sorry - when exactly do you see this error i see a multi-step form there?
I saw this error when I press the submit button, which is the end of multi steps form.
What is this action added on your form and whatâs its purpose?
dmx-on:submit.prevent="serverconnectform1.submit()"
this is for this multi-step form submit to the database.
I donât think this event should be there. Please remove it.
ok then, should I add âsubmitâ on the button itself (btn10)? how about other dynamic events âerrorâ and âsuccessâ? should I add them on the button âbtn10â?
Your form should be submitted by a button. Add a button and set its type to Submit. Thatâs how you submit a form.
Ok, I try it!
I did this
<button id="btn10" class="btn btn-primary" type="submit"
dmx-on:click="run({run: {action:`serverconnectform1.submit();serverconnectform1.reset();browser1.goto(\'/search/\');toasts1.show({message: \'Your contest application has been successfully submited!\', delay: 500000})`,name:'submit'}})">SUBMIT</button>
but, I donât know how to capture an error on this button. and the browser jumped to /search/ without submitting inputs. how can I solve this?
But this makes no sense.
Either use a submit button OR use a regular button and run your flow. You canât have both. IF you want to use flow, just set the button type to regular.
oh I seeâŠok then, if I use a regular button with work flow, how can I capture error from server action? I donât know how to set after âConditionâ?
I could submit the form finally, thank you so much!