Forums

Connection → Form → Submit problem

Axel Richter 08 May, 2019
Hi all,

I have a connection and use a link to point to an event which reads a single row and switches to chronoform:



The form is displayed ok, but when I use a "submit" button,

not the action in "submit" is executed, it just returns to the connection event "submit", but without any data.

Is there a way to run through the "submit" actions of the form first?


Thank you in advance,
Axel.
healyhatman 09 May, 2019
If you have a look at the form tag (right click, inspect) where is the "action" URL pointing?
Axel Richter 09 May, 2019
Hi healyhatman,

the action points to
action="/index.php/de/service-2/reserve-your-opportunity?conn=reservationlist&reservation_id=77&event=submit" 
method="post"
…which is the connection - exactly what the browser does. Unfortunately when I create a "submit" event in my connection and assign a debugger to it, no data arrives.

Update: maybe the problem is the surrounding form (reservierung_edit_form) which has "submit" as submit event.

Thanks for any clue…
Axel.
Axel Richter 09 May, 2019
Answer
Hi all,

thank you for reading - I solved it using a "redirect" in my event:

…and this points to the link and transmits the id:


The form does a 'Read Data' and fills the values. Then the "submit" works as expected.

Axel.
This topic is locked and no more replies can be posted.