• Resolved preeton

    (@preeton)


    I was planning to use Apply Online for an event tomorrow, but after trying it out on a test server, it only seems to work if I’m logged in as a WordPress administrator. If I’m not logged in, then on Submit the page with the form is simply reloaded (so you see the same form, but empty), there are no messages and no application sent to the backend, and the URL gets the form parameters tacked onto the end (e.g. jobs/my-form/?_aol_app_Name=Testname&_aol_app_Email=name%40email.com, etc). This happens regardless of which browser is used.

    Does anyone have any idea why this happens?

    Sorry, the site I’m working on isn’t public yet, so I can’t provide a link.

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

    (@farhannoor)

    Hi Preeton,

    Try some debugging techniques.
    1. Switch theme to a default WordPress theme e.g. twentyseventeen. Now check form submission from the front-end.
    2. Try deactivating all plugins except ApplyOnline, now check from submission from the front-end.

    Above techniques will help you to identify the problem.

    Best Regards.

    • This reply was modified 7 years, 7 months ago by Farhan Noor.
    Thread Starter preeton

    (@preeton)

    Thank you for replying so quickly! I had already tried deactivating the plugins, but it turned out to be the theme that was the problem. A line in functions.php checked if the user was logged in, and if not, a function was activated that blocked various js files from loading, including applyonline-public.js. Removing the line fixed the problem, just in time before the event mentioned above.

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

The topic ‘Forms only submitted when logged in’ is closed to new replies.