I have installed pliableforms in my umbraco 7 installation but having a bit of trouble. Have created the form, added macro etc which is all fine and the form appears on my page.
However when i submit the form it shows the loading image but goes no further and sends no mail. i am getting the following error when i inspect element
**Uncaught TypeError: $form.find(...).placeholder is not a function**
PliableForm @ PliableForm.js:256
(anonymous function) @ PliableForm.js:3
b.extend.ready @ jquery.min.js:29
u @ jquery.min.js:37
**Uncaught TypeError: jQuery.toJSON is not a function**
submitForm @ PliableForm.js:85
(anonymous function) @ PliableForm.js:237
m.event.dispatch @ jquery.min.js:3
r.handle @ jquery.min.js:3
I only have the two required JS files being called (have read about interferance?)
Does anyone have any ideas? i have not modified the plaiableforms scripts, xslt or anything and calling the form from a macro as per normal. Used to use pliableforms a lot a few years back and never had any problems?
Umbraco 7 & PliableForms
Hey all,
I have installed pliableforms in my umbraco 7 installation but having a bit of trouble. Have created the form, added macro etc which is all fine and the form appears on my page.
However when i submit the form it shows the loading image but goes no further and sends no mail. i am getting the following error when i inspect element
I only have the two required JS files being called (have read about interferance?)
Does anyone have any ideas? i have not modified the plaiableforms scripts, xslt or anything and calling the form from a macro as per normal. Used to use pliableforms a lot a few years back and never had any problems?
Thanks
Nevermind people! Gave up and managed to sort a form straight from the partial view macro file, here it is if anyone else gets any trouble.
You might want to consider Formulate (disclaimer: I built Formulate): http://www.formulate.rocks/
It only works on the latest versions of Umbraco, however, so keep that in mind.
Regarding your Pliable error, perhaps you need to include something like this jQuery Placeholder JavaScript: https://github.com/mathiasbynens/jquery-placeholder
Regarding your other JavaScript error, perhaps you need to include this on your page: https://github.com/krinkle/jquery-json
And also make sure you have SMTP configured in your web.config.
By the way, it seems Pliable has a couple forums at the bottom of this page (you may have more luck there getting an answer): https://our.umbraco.org/projects/website-utilities/pliable-ajax-contact-form/
Thanks Nicholas ill have a look at the Formulate if it's a better way of doing things, would have like AJAX rather than POST so no page reload.
You can probably guess i'm no hardcore developer/programmer but i tend to be able to piece things together with some determination!
Thanks
Cool, if you decide to give Formulate a try, here's the TLDR version:
is working on a reply...