0

I'm in a desperate mode trying to get the submission of the form in the returnUrl page/template with the Freeform Plugin.

I'm trying to achieve an overview / confirm your details functionality. So, the form is sent and then goes to the returnUrl. Is there any chance I can get (maybe a twig variable) the submission but not in the query param of course (security issues).

I saw something here (in the ApiController)

$returnUrl = \Craft::$app->view->renderString(
 $returnUrl,
 [
  'form'       => $form,
  'submission' => $submission,
 ]
);

From the overview page I need 2 actions: confirm (which will call another action - sync to some API) and one edit that will go back to the form.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.