ChronoEngine.com homepage

Forums

Please write a review for the extension you are using on the Joomla extensions directory before posting a new question as we are being spammed by many negative reviews.

Thank you for your support!

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:
Screenshot_20190508_162152.png
Screenshot_20190508_162255.png

The form is displayed ok, but when I use a "submit" button,
Screenshot_20190508_162556.png
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?
Screenshot_20190508_162650.png

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:
Screenshot_20190509_114747.png
…and this points to the link and transmits the id:
Screenshot_20190509_114802.png

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.

2Checkout.com

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for goods and services provided by ChronoEngine.com