I created a test page outside of cmsms with an AJAX request. The code on my test page looks like this...
Code: Select all
var fcontactform = $('.contact-form');
fcontactform.submit(function() {
//..some jquery logic...
$.post("pear/index.php", fcontactform.serialize(), function(data){
//...now show jquery confirmation message...thank you...
});
return false;
}
So my question boils down to this...How do I adjust my $post() tag above, to connect to the right file so that formbuilder sends data?
Thanks for any advice, even if there is better way to submit via AJAX with Form Builder!
bh