I have used the custom link to open a webform using the modal form, but when I click on the link, the popup opens but then I get an Ajax HTTP Error:404, and it says that the custom path for the form, "/modal_forms/ajax/webform/2." Not sure why that is that path that is created, when the hardcoded custom path in the template is "/modal_forms/nojs/webform/2."


jcmartinez’s picture

You may want to try updating JQuery.

I was about to post my error code and I installed jQuery Update. It solved the problem for me.

Set jQuery Update to the version of jQuery 1.7 instead of 1.5 that comes with Drupal 7.

Hope it helps!

zil0484’s picture

I also encounter similar problem. Tried installing latest jQuery update but still the same problem occurred. Please help

Gabox’s picture

Issue summary:View changes

I changed the url, didn't use absolute and it works.
I know is not the best soultion, but works :)

ioustini’s picture

I changed the url from relative to absolute and the 404 errors stopped appearing.
Thank you :)

abarpetia’s picture

I am also getting same error message and I tried all the suggestions mentioned above but still its not working. So, Does any one found the correct solution for this?