We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 9995
    • 1,613 Posts
    I have a singlepage website, when using the contactform I need to redirect to /#contact
    Is there any way to do this?

    I tried to place a redirect on resource with ID 2.
    That works but there is no report message like; The contact Form has been sent.

    (An ajaxform probably will be to difficult for me because I'm not a good coder.)

    Does anyone knows an other way to fix this?

    [!eForm? 
    &formid=`contactFormId` 
    &to=`[email protected]`
    &from=`[email protected]`
    &fromname=`Name here`
    &ccsender=`1`
    &language=`nederlands`
    &subject=`Contactformulier`
    &tpl=`contactFormInhoud`
    &report=`contactFormReport`
    &thankyou=`contactFormBedankt`
    &gotoid=`2`
    !]


    This question has been answered by Jako. See the first response.

      Evolution user, I like the back-end speed and simplicity smiley
    • discuss.answer
      • 13428 ☆ A M B ☆
      • 1,031 Posts
      <form action="[~[*id*]~]#contact" … >

      should do the thing.
        • 9995
        • 1,613 Posts
        Thank Jako,

        (I had to use /#contact because else I got /homepage#contact.)
          Evolution user, I like the back-end speed and simplicity smiley