Re: Formbuilder - scroll down to error on reload
Posted: Fri Oct 10, 2014 5:32 pm
You might try adding some JS to rewrite the URL with a hashtag.
maybe add an onsubmit
onsubmit=""
That would have to go into the form tag itself which means adding some smarty regex replace in the FB template.
OR, use that as an example to write a JS function, maybe with jQuery
maybe add an onsubmit
onsubmit=""
That would have to go into the form tag itself which means adding some smarty regex replace in the FB template.
OR, use that as an example to write a JS function, maybe with jQuery
Code: Select all
$(function() {
var onSubmit = location.href=this.action+'#MY-ANCHOR='+this.s.value; return false;
$('#MY-ANCHOR form').attr('onsubmit', onSubmit);
});