• Resolved nomairkashif

    (@nomairkashif)


    I am displaying the USP form in a popup window. When the form submits, it does a URL redirect to a dead URL (‘#’). Example: https://prnt.sc/p73d8l

    How can I use Ajax form submission, so entire document is not submitted in POST?

    Nothing seems to be getting saved anywhere when i check the default WP Posts.

    Any suggestions for this problem?

    • This topic was modified 5 years, 5 months ago by nomairkashif.
    • This topic was modified 5 years, 5 months ago by nomairkashif.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jeff Starr

    (@specialk)

    Glad to help:

    1) “How can I use Ajax form submission, so entire document is not submitted in POST?”

    It is an interesting idea, but the plugin currently does not support Ajax posting.

    2) “Any suggestions for this problem?”

    You’re going beyond the functionality provided with the plugin, which is great. And I am happy to help answer any questions you may have about the plugin, how it works, hooks, etc. Implementing Ajax may be possible, but again it is not something that is included with the plugin at this time.

    Thread Starter nomairkashif

    (@nomairkashif)

    Sure.

    Why are no posts getting created when I hit the submit post button on the form ?

    The page is submitting to itself, but with a ‘#’ at the end of the url .

    • This reply was modified 5 years, 5 months ago by nomairkashif.
    Plugin Author Jeff Starr

    (@specialk)

    When you submit the form, the success page loads. Meanwhile behind the scenes, USP processes the submitted post and adds it to the WP database. If that is not happening in your case, most likely something like another plugin is interfering with normal functionality.

    Thread Starter nomairkashif

    (@nomairkashif)

    “Please do not load this page directly. Thanks!”

    This is the message I’m getting. I use Breeze and CaPtcha plugin…and tested by disabling the plugins also.

    Also, I removed from popup and posted form directly on page.

    No change after deactivating the plugins. Please suggest , what else to do in this scenario ?

    Post is not getting created and displaying
    “Please do not load this page directly. Thanks”

    • This reply was modified 5 years, 5 months ago by nomairkashif.
    • This reply was modified 5 years, 5 months ago by nomairkashif.
    Plugin Author Jeff Starr

    (@specialk)

    That usually means there is a cache plugin or service that preventing the plugin from processing the form. Another thing to check would be your theme, maybe it is doing something weird. And if all else fails you can set up a quick 5-minute WP installation, leave everything at the defaults (plugin, theme, settings) and try again with only USP installed. In that case you will see that the error does not happen and everything works normally. This would give you a fresh starting point for testing, etc.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Ajax Submission’ is closed to new replies.