if my user input an invalid value in a form, I return the page to him with the error details rendered using:
$app->render(‘form.twig’, [
‘Post’ => $this_post,
‘errors’ => $v->errors(),
‘request’ => $request,
]);
and most of the time, the form is too long that the error details can only be seen if the user will scroll down.
I am just wondering if there’s a way the rendered page’ url can be concatenated with a html anchor something like:
hxxp://site.com/form.html#form-3
Do you guys know any tricks for this?
Thanks!