i checked it on with firebug on version 4.5 and 4.0.1 and didnt find this problem.
when you insert the contact form macro to your template, it automatically add references to few files:
<link href="/css/RVContactForm.css" rel="stylesheet" type="text/css"><script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script><script type="text/javascript" src="http://ajax.microsoft.com/ajax/jquery.validate/1.7/jquery.validate.min.js"></script><script type="text/javascript" src="/scripts/json2.js"></script><script type="text/javascript" src="/scripts/RVContactForm.js"></script>
the validation function exist in the file:
http://ajax.microsoft.com/ajax/jquery.validate/1.7/jquery.validate.min.js
what kind of browser/windows/umbraco do you use?
Hi Eran, I saw it puts the script tags in the marco so i moved it them out and put it into my masterpage and it works. I'm having problems getting it to send an email now, but that a different story
make sure to check your smtp setting in your web.config and also the RVContactForm.config
Thanks Eran but its still not working. I'm using the code below in my webconfig file (gmail) as i'm working locally
<system.net> <mailSettings> <smtp> <network host="smtp.gmail.com" port="587" userName="yourGmailAccount" password="yourGmailPassword" defaultCredentials="false" /> </smtp> </mailSettings> </system.net>
actually SMTP configuration is out of the scope of this forum, because its not a problem related for this packages and i'm not an smtp expert and i never tried to send email from local instalation.
but maybe i can help you with 2 examples of configuratins from two different umbraco sites:
the first, is from site that using softsys hosting and use there smtp:
<system.net> <mailSettings> <smtp from="info@tammy.co.il" > <network host="mail.softsys.com" userName="info@tammy.co.il" password="12345" /> </smtp> </mailSettings> </system.net>
the second, if from site that uses gmail smtp:
<system.net> <mailSettings> <smtp> <network host="smtp.gmail.com" port="587" userName="eran@thereturnvalue.com" password="12345" defaultCredentials="false" /> </smtp> </mailSettings> </system.net>
with enable ssl in the RVContactForm.config set to true:
true
i hope it helps,
Eran.
Thanks for your Help Eran, but its not working seems to be a problem somewhere else i guess
if you will solve it please write here that i know for sure thats it not some bug in the package and for future users that may run in with the same problems.
Thanks,
Hi Eran!
I tried the form, too. I also get a problem with validation. I can see, that you use #ContactForm as the jquery selector. The problem I found is, that there isn't a form with this id rendered in source. Can this be the problem?
Greets Mario!
maybe its a bug: please send me the xslt that generate the form and the js file, and i'll check it.
if its a bug in the name, i will fix it and update in the new version.
mean while, to solve it for now, try to change the jquery selector so that the selector name will match the form name.
please inform me it that fix the problem.
thanks!
Hey Eran,
I just changed the outer div and gave it the id #ContactForm.
I had to also replace the ajax webservice call url:
original - url: "umbraco/webservices/RVContactFormMailer.asmx/SendContactForm",
corrected - url: "/umbraco/webservices/RVContactFormMailer.asmx/SendContactForm",
Now I have the email in my inbox ;-)
Thanks!