jdform http request problem

  • Bruno Nadeau
  • Topic Author
  • Offline
  • New Member
  • New Member
More
14 years 1 month ago #2622 by Bruno Nadeau
jdform http request problem was created by Bruno Nadeau
Hi. I started using the Joom Donation component a few days ago, and for the most part it's been really helpful, but today I found an issue that I can't get my head around.

I use the 'jdform' plugin to embed the donation form into an article. I have Joom Donation setup to work with Community Builder.

My problem is that when I click the "Next" button of the form produced by 'jdform', the script will not check if the username and the email are already in the database. The form submits and goes to the next page.

What is strange is that, from the confirmation page, if I click "Back", and then click "Next" again without changing any values, the script will alert me that the email and/or username are already in the database, as it should.

I noticed that the 'jdform' form, and the form produced when click the "Back" button are stored in two different files, but I can't tell why one works and not the other.

Last thing, when clicking "Next" from the form produced by 'jdform', the HttpRequest that check for username and email duplication returns http.status = 0, as if the request never went through.

Any help would be greatly appreciated.

Please Log in or Create an account to join the conversation.

  • Bruno Nadeau
  • Topic Author
  • Offline
  • New Member
  • New Member
More
14 years 1 month ago #2623 by Bruno Nadeau
Replied by Bruno Nadeau on topic Re:jdform http request problem
Solution: there is an error in the "jdform.php" file, you need to remove the last "form.submit()" line of the checkData() function.

Please Log in or Create an account to join the conversation.

Moderators: Mr. DamDũng Nguyễn Việt