• Resolved xianzen

    (@xianzen)


    Hello Sir,

    AF works great in my localhost without issues and it redirects to thank you page. But when using it in my live WordPress site, it has an error 404? I could not figure out to fix it because I could not find where to edit the redirect URL of the form action.

    Heres the example error I got when submitting the button: http://mydomainname.com/.com/mydomain/mydomain/sample-form/

    Can you help me where to fix it or edit the form action? your help and guidance are greatly appreciated. I would like to buy a pro advanced forms plugin if this issue will fix. Thanks, and please let me know.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author fabianlindfors

    (@fabianlindfors)

    That’s very weird! You shouldn’t have to specify a redirect URL as the form will automatically reload the page and display a success message. Could I get access to your site to check out the form?

    If you want to perform a redirect you can pass it as the “redirect” argument (https://advancedforms.github.io/guides/basic/displaying-a-form/).

    Thread Starter xianzen

    (@xianzen)

    Hello Sir Fabian,

    Yeah, that is so weird because upon testing here in my localhost everything went well. Now I’m trying to copy the entire site and database to my other hosting and upon testing it did not redirect to any URL but instead, it displays thank you message. I don’t know how to fix it actually or continue using the advanced forms? I will be supposed to order the pro version if things work but it didn’t.

    Do you think the web host PHP or MySQL version causing the issue? coz they already have the latest 7 of PHP version?

    Thanks

    Plugin Author fabianlindfors

    (@fabianlindfors)

    I’m not sure what might be causing this. Is there any way I can check out the site myself to see if I can identify the problem?

    Thanks!

    Thread Starter xianzen

    (@xianzen)

    Now it is solved. The ACF version was causing the problem and I have updated.

    Now I’m heading to the calculations? does it need additional codes to make it work? do you have demo for the pro so that I can try before purchase?

    Btw, you can close this thread as it is solved already, thanks for a very good and quick support.

    • This reply was modified 7 years, 2 months ago by xianzen.
    Plugin Author fabianlindfors

    (@fabianlindfors)

    Glad you figured it out!

    It depends a bit on what you want to achieve with your calculated fields. If you want to perform arithmetic (i.e. +, -, *, /) you’ll need to write some code. It’s really simple to do and the documentation has some example code: https://advancedforms.github.io/pro/configuration/using-calculated-fields/

    If you only want to display form data with some formatting you don’t need to write any code though.

    There is no demo for the Pro version but if you decide to purchase and discover that it wasn’t the right tool I’d be happy to issue a refund! 🙂

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Error 404 when submit’ is closed to new replies.