Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

259
Views
Form button only works when Logged in the WP backend

I have a custom-made contact form that only works when a user is logged in, in the backend. For all non-logged-in users, a disabled icon pops up when trying to click on the submit button.

I tried deleting cache, and deactivating all plugins to see whether that's causing the issue. But the issue still persists.

Can someone please help me out here?

This is the page I need help with - https://www.writtenlyhub.com/contact/

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0


window.onload = function() {
 
  const $form = document.querySelector('form');
  $form.addEventListener('submit', (event) => {
    event.preventDefault();
    console.log('prevented submit by code for demo');
  });
};

Did you not payed your developer? That code looks intentionally put there.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!