Regarding Solspace Freeform: I want to have a custom message when submitting a form via AJAX. In the docs, there is some JS I used (see below). It works, but I want to know what to replace the code below with to have it work with just one specific form... what is the form ID? I tried putting in the form name in various formats without luck.

// Find the form element, can be a specific ID or just look for any forms
var form = $('form[data-id]');

The page in the docs: https://docs.solspace.com/craft/freeform/v3/guides/ajax-return-loads-success.html#from-existing-div

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.