Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
When you submit a form and displays a message the page jumps to the top.
Is it in any way possible to set the return URL to the following
/#contour_form_@{@Model.FormName.Replace(" ", "")}
This will make the browser jump to the DIV surrounding the form.
I've been looking in the Form.cshtml, but the markup for the
I had the same requirement and fixed it using jQuery (using Umbraco Forms 6):
$('.umbraco-forms-form[id]:has(form)').each(function () { var umbForm = $(this), form = umbForm.find('form'); form.attr('action', form.attr('action') + '#' + umbForm.attr('id')); });
Make sure the id is set on both the form and submit message (<div id="[email protected]" class="...">).
id
<div id="[email protected]" class="...">
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Go to form location on submit
When you submit a form and displays a message the page jumps to the top.
Is it in any way possible to set the return URL to the following
This will make the browser jump to the DIV surrounding the form.
I've been looking in the Form.cshtml, but the markup for the
I had the same requirement and fixed it using jQuery (using Umbraco Forms 6):
Make sure the
id
is set on both the form and submit message (<div id="[email protected]" class="...">
).is working on a reply...