• Resolved pomwogs1

    (@pomwogs1)


    I recently created and uploaded a smart form for my contact us page, however, it does not appear on my website unless the page is refreshed?

    • This topic was modified 6 years, 10 months ago by pomwogs1.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author EDGARROJAS

    (@edgarrojas)

    Hello!

    Did you fix this already? I just checked with chrome and firefox and everytime the forms loads without refreshing.

    Regards!

    Thread Starter pomwogs1

    (@pomwogs1)

    It still doesn’t seem to be working with me, especially with safari or internet explorer…

    Plugin Author EDGARROJAS

    (@edgarrojas)

    I just tested it and it also works. The only way i could reproduce this issue is when you are in the ‘Contact Us’ page and click in the ‘Contact Us’ link in the top. That happens because when you click in the ‘Contact Us’ link (while in the contact us page) the theme loads the content of the page using javascript.

    That works great for static content like the text and images that you have in the page but unfortunately loading a page using javascript doesn’t automatically load the dynamic content (like the form in this example) it needs to be loaded manually. That is why it works fine on refresh (because refreshing a page will load the content the normal way which will also load all dynamic content).

    Unfortunately there is no way to fix this in the smart forms plugin since the problem really is that the theme is loading the content using javascript and not the standard way. To fix this either the theme needs to be modified to also loads the dynamic content using javascript or it needs to load the content of the page using the standard way and not javascript (generally the themes that load content using javascript also have an option to disable this feature).

    Regards!

    I am having this same issue. It happens in Google Chrome (Windows 10) and Safari (Mac OS X). Our test multi-page form is here. The WordPress 4.9.6 installation is using a very basic free theme and version 2.6.7 of your plugin. The error can be reproduced using the TwentySeventeen theme as well, although we’re currently using AgamaVersion: 1.3.3. We are a pro member, but a bit nervous because you’re using a FREE forum for PREMIUM support. Pretty scary!

    • This reply was modified 6 years, 10 months ago by toneee. Reason: Wanted to reiterate that this isn't a theme issue
    Plugin Author EDGARROJAS

    (@edgarrojas)

    Hello!

    I am actually not using this forum for premium support, and actually i can’t even give support to users who have purchased a license of the plugin here =) so could you create a support ticket at smartforms.uservoice.com please?

    Regards!

    Sure, thanks for letting me know. Your plugin’s support link in the dashboard directed me over here!

    I did poke around and found a temporary fix. Apparently, the form is hidden until it is completely constructed, but an error is thrown before it ever makes the form visible. I forced the form to show up by using CSS to reference the form’s ID. Sometimes the form’s ID was 0 and sometimes 1, so I just referenced both:
    <style>#sf0, #sf1 {visibility: visible !important;}</style>

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Form won’t load unless page is refreshed’ is closed to new replies.