• Resolved maniuni

    (@maniuni)


    Hi,

    I am using a slider for my website and one of the slides is the Contact Form. When there is a mistake or unfilled field, after the submit button is pressed the form goes 400px to the right. I think this is because my slider is dependent upon the site url – it has to end with /#1/3 so that it looks nice but the form changes the url to #cntctfrm_contact_form. I think this is the reason the layout changes.

    Is there a way that I can make it stay the same url as before submitting?

    https://www.ads-software.com/plugins/contact-form-plugin/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author bestwebsoft

    (@bestwebsoft)

    Hi,

    We have received your request and it is now being processed. We will get back to you on this forum as soon as we can.

    Regards,
    BestWebSoft Support Team

    Plugin Author bestwebsoft

    (@bestwebsoft)

    Hello,

    To do it, please make changes to the plugins code.
    Find the string:

    $page_url = $cntctfrm_protocol . $_SERVER[ $cntctfrm_options[‘cntctfrm_site_name_parameter’] ] . $cntctfrm_port . $_SERVER[‘REQUEST_URI’] . ‘#cntctfrm_contact_form’;

    and change it with:

    $page_url = $cntctfrm_protocol . $_SERVER[ $cntctfrm_options[‘cntctfrm_site_name_parameter’] ] . $cntctfrm_port . $_SERVER[‘REQUEST_URI’];

    Please, note that after you update the plugin all changes will be overridden.

    Regards,
    BestWebSoft Support Team

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘The form changes url when submitted’ is closed to new replies.