I had been using the .net 4 version locally on my laptop and all was fine but I was working on a hosted website using .net 3.5 when I encountered this problem. So I decided to upgrade the hosted website to .net 4 and use the .net 4 pliable ajax form ... but I still got the same error. I made sure all the dictionary settings had been set.
After re reading your documentation I added the dictionary items into the appSettings in the web.config and all was fixed and the form works.
I think the problem is that it isn't reading the dictionary items. After some testing it looks like it pulls through the address to from the doctype so I just have to have the fromAddress in appSettings. Have you any idea what might cause this??
Thanks for posting this, I added the appropriate keys to the web.config too which fixed the problem. Glad I found someone with the same problem and an appropriate fix!
PliableForm(3.5)_.9.6.zip
Whenever I submit the form I get an error back saying
The parameter 'address' cannot be an empty string. Parameter name: address
I've checked all the settings in the doctype and set the addresses in the dictionary section.
Any ideas?
Thanks
Ben
Think it works now...
I had been using the .net 4 version locally on my laptop and all was fine but I was working on a hosted website using .net 3.5 when I encountered this problem. So I decided to upgrade the hosted website to .net 4 and use the .net 4 pliable ajax form ... but I still got the same error. I made sure all the dictionary settings had been set.
After re reading your documentation I added the dictionary items into the appSettings in the web.config and all was fixed and the form works.
I think the problem is that it isn't reading the dictionary items. After some testing it looks like it pulls through the address to from the doctype so I just have to have the fromAddress in appSettings. Have you any idea what might cause this??
Thanks
Ben
Thanks for posting this, I added the appropriate keys to the web.config too which fixed the problem. Glad I found someone with the same problem and an appropriate fix!
How did you guys added the keys? As I got a web.config error:
Hi Joel,
You've written key- instead of key=
<add key-"PliableForm.defaultEmailSubject" value="Contactform" />
should be
<add key="PliableForm.defaultEmailSubject" value="Contactform" />
same with the others.
Ben
ouch....
DidnĀ“t noticed the typo multiple times :/ Thanks for the extra pair of eyes, form works now :)
is working on a reply...