Hi. I'm running CMSMS 1.12 and have a question about FormBuilder
I have a FormBuilder contact form positioned at the bottom of a long scrolling page. The form has ‘display form inline set’ checkbox ticked.
I want to link to a named anchor link on form submission so when the form is submitted it reloads the page and scrolls down to the position of the {FormBuilder}. The form is part of the template and is displayed on every page.
I’ve searched through the FormBuilder module pages but can’t see where I could add the anchor link. Any help would be much appreciated.
Thank you !
Display form inline - Add an anchor link
Re: Display form inline - Add an anchor link
How I sometimes do it:
Code: Select all
{FormBuilder|regex_replace:'/action="(.*)"/U':'action="$1#your-hash-tag"' form='contact-form'}

