Newbie Question: How to create a simple contact form
Hi Folks,
I'm pretty new to .NET and Umbraco and I have a simple request. I've inherited a site running Umbraco 3.5 and I need to create a simple contact form for use in the site - can anyone advise a way of doing this.
Apologies if this has been answered elswhere on this forum!
I use the RV Contact form on my projects which I have found to be pretty good. (I'm on 4.6.1 with my installs at moment so I don't know how well it will work for v3.5).
Have a look on link below. This is a list of all the packages you can install.
Fuji, I've downloaded the Doc2Form package and, please forgive my ignorance, have no idea where to start - this is my first Umbraco project. Would it be too much trouble to ask for an instruction (or a pointer to a forum post) to add a simple form (name, email, comment) to the text area of my page?
No need to make appologies - we're all here to help and this is the most friendly community in the world! :-)
Are you sure that the Umbraco version you're running is 3.5? Because the last release of version 3 was 3.0.6 so maybe the site you have overtaken is another version but based on the .NET 3.5 framework perhaps?
If you're using version 3 of Umbraco then none of the above mentioned packages will work - at least not the versions found on the project page since they require v4 of Umbraco and one of them requires .NET4 framework.
You could easily make a simple form with XSLT and I will be happy to provide some simple code for this if you're interested?
No, I've checked this morning and it's Umbraco 4 our client has installed.
If you could provide me with some code (and an idiot's guide for installing!) that would be fantastic ! It's just a simple form to email that I require.
Thanks
Darren
PS. You're right, this is indeed a very friendly community!
Cool, I'll provide yout with an example on how to do it simply with an XSLT macro.
In the mean time I would like to encourage you to make a local installation of Umbraco on your own machine and then go to the package repository in the developer section. And install the Creative website starter package, created by Warren Buckly and then play around with it to see how everything is made up. (Developer - Packages - Umbraco package repository - Creative Website Starter).
I encourage you to do this since it's good to have an environment where you can play around with things without worrying about breaking something on a live site.
In the mean time I would like to encourage you to make a local installation of Umbraco on your own machine and then go to the package repository in the developer section. And install the Creative website starter package, created by Warren Buckly and then play around with it to see how everything is made up. (Developer - Packages - Umbraco package repository - Creative Website Starter).
I think this is something I will look in to doing.
If you're using v4.7 of Umbraco you should checkout the new Razor based one he has just released. It's still featured in the top5 new packages on the frontpage.
That's me managed to get the CultivForm installed and working - easy! One question though - how do I get the form to appear within one of my templates, at the moment it just appears as the form in a browser window by itself.
Darren sorry i didnt really understand what you said before......if am right you are using one template so only one layout??
What you can do is use contentPlaceholder to achieve this by using only one main Layout but with different content.
Under your main Template just create another one by selecting the main one > right click > Create. Then in your main template > Insert content area placeholder (give it a name) > then just go in the child template you created before Insert Content area (you will get the name of your created placeholder) > then just insert the Macro as in the Cultiv Razor Contact Form documentation.
I'm using two templates - a homepage and textpage. Basically I want to display the form in the textpage template - see attached. I'm using the older version of Cultiv Form which, I might be wrong, doesn't have an instruction manual.
I havent used the Older Version of Cultiv Form but it should be working under the same process i mentioned earlier. So bascially try to follow the steps by using the textpage template.
" Under your textpage Template just create another one by selecting the main one > right click > Create. Then in your textpage template > Insert content area placeholder (give it a name) > then just go in the child template you created before Insert Content area (you will get the name of your created placeholder) > then just insert the Macro as in the Cultiv Razor Contact Form documentation. "
I think I'm getting somewhere! I've installed the package without any issue, followed Fuji's instruction above, however when the page is live I only get the intro text - no fields or title - I must be missing something on my template. Any ideas? When the CultivForm default template is selected it works.
Please don't hesitate to ask further question as you are beginning to use Umbraco more on a regular basis. As you know by know we're a friendly bunch who likes to help each other out no matter the level of experience :-)
And please mark Fuji's answer as the solution so others can benefit from it in the future should they have the same issues.
Another question - all is working with the form, however, my client isn't receiving the mail. When I try their personal address or mine it works. What might be causing this, I've tried the SSL tick box but this brings up a server error.
Newbie Question: How to create a simple contact form
Hi Folks,
I'm pretty new to .NET and Umbraco and I have a simple request. I've inherited a site running Umbraco 3.5 and I need to create a simple contact form for use in the site - can anyone advise a way of doing this.
Apologies if this has been answered elswhere on this forum!
Thanks in advance
Darren
Hi Darren,
If you are looking for a very simple one, try Doc2Form package which is very easy to use and configure.
//fuji
Hello there,
I use the RV Contact form on my projects which I have found to be pretty good. (I'm on 4.6.1 with my installs at moment so I don't know how well it will work for v3.5).
Have a look on link below. This is a list of all the packages you can install.
http://our.umbraco.org/projects ;
Hope that helps
John
Thanks for your help guys.
Fuji, I've downloaded the Doc2Form package and, please forgive my ignorance, have no idea where to start - this is my first Umbraco project. Would it be too much trouble to ask for an instruction (or a pointer to a forum post) to add a simple form (name, email, comment) to the text area of my page?
Apologies for the request.
Darren
Hi Darren
No need to make appologies - we're all here to help and this is the most friendly community in the world! :-)
Are you sure that the Umbraco version you're running is 3.5? Because the last release of version 3 was 3.0.6 so maybe the site you have overtaken is another version but based on the .NET 3.5 framework perhaps?
If you're using version 3 of Umbraco then none of the above mentioned packages will work - at least not the versions found on the project page since they require v4 of Umbraco and one of them requires .NET4 framework.
You could easily make a simple form with XSLT and I will be happy to provide some simple code for this if you're interested?
/Jan
Hi Jan,
No, I've checked this morning and it's Umbraco 4 our client has installed.
If you could provide me with some code (and an idiot's guide for installing!) that would be fantastic ! It's just a simple form to email that I require.
Thanks
Darren
PS. You're right, this is indeed a very friendly community!
Hi Darren,
As Jan mentioned earlier this forum is intended to help each and everyone, so no APOLOGIES.
So you are running v 4.0? have you been able to install the package?
//fuji
Hi Darren
Cool, I'll provide yout with an example on how to do it simply with an XSLT macro.
In the mean time I would like to encourage you to make a local installation of Umbraco on your own machine and then go to the package repository in the developer section. And install the Creative website starter package, created by Warren Buckly and then play around with it to see how everything is made up. (Developer - Packages - Umbraco package repository - Creative Website Starter).
I encourage you to do this since it's good to have an environment where you can play around with things without worrying about breaking something on a live site.
If you don't know how to install Umbraco it can be done manually or using the Web platform installer. If you want to install it manually you can use this guide: http://our.umbraco.org/wiki/install-and-setup/how-to-install-umbraco-on-windows-server-2008
You can probably also benefit from this guide: http://our.umbraco.org/wiki/how-tos/a-complete-newbie%27s-guide-to-umbraco
I'll provide you with some XSLT in a minute.
/Jan
Hi Jan,
In the mean time I would like to encourage you to make a local installation of Umbraco on your own machine and then go to the package repository in the developer section. And install the Creative website starter package, created by Warren Buckly and then play around with it to see how everything is made up. (Developer - Packages - Umbraco package repository - Creative Website Starter).
I think this is something I will look in to doing.
Darren
Hi Darren
In my former post I totally missed that you're on a v4 install - then my idea of creating a XSLT snippet for you is totally cumbersome.
Instead I recommend that you install the Cultiv contact form package, which does exactly what you require. And it's also well documented how you should install it and what you should be aware of - So go grab it here: http://our.umbraco.org/projects/website-utilities/cultiv-legacy-contact-form-%28pre-47!%29
Let us know if you have any issues with installing this nice package from Sebastiaan Janssen :-)
/Jan
Hey Jan,
I myself will install the Cultiv Contact Form package from Sebastiann.
//fuji
I'll give this a try!
thanks
Darren
Hi Fuji
Cool :-)
If you're using v4.7 of Umbraco you should checkout the new Razor based one he has just released. It's still featured in the top5 new packages on the frontpage.
/Jan
Yes thats the one am installing right now.
//fuji
Jan/Fuji,
That's me managed to get the CultivForm installed and working - easy! One question though - how do I get the form to appear within one of my templates, at the moment it just appears as the form in a browser window by itself.
Thanks
Darren
Darren sorry i didnt really understand what you said before......if am right you are using one template so only one layout??
What you can do is use contentPlaceholder to achieve this by using only one main Layout but with different content.
Under your main Template just create another one by selecting the main one > right click > Create. Then in your main template > Insert content area placeholder (give it a name) > then just go in the child template you created before Insert Content area (you will get the name of your created placeholder) > then just insert the Macro as in the Cultiv Razor Contact Form documentation.
Hope it makes sense :)
// Fuji
Hi Fuji,
I'm using two templates - a homepage and textpage. Basically I want to display the form in the textpage template - see attached. I'm using the older version of Cultiv Form which, I might be wrong, doesn't have an instruction manual.
Thanks
Darren
I havent used the Older Version of Cultiv Form but it should be working under the same process i mentioned earlier. So bascially try to follow the steps by using the textpage template.
" Under your textpage Template just create another one by selecting the main one > right click > Create. Then in your textpage template > Insert content area placeholder (give it a name) > then just go in the child template you created before Insert Content area (you will get the name of your created placeholder) > then just insert the Macro as in the Cultiv Razor Contact Form documentation. "
I think I'm getting somewhere! I've installed the package without any issue, followed Fuji's instruction above, however when the page is live I only get the intro text - no fields or title - I must be missing something on my template. Any ideas? When the CultivForm default template is selected it works.
Thanks Darren
Jan/Fuji,
Managed to get this working - it was inexperience that was causing the problem. I'm getting the hang of it now. Thanks for your help today.
Darren
Hi Darren
I'm very happy to hear that.
Please don't hesitate to ask further question as you are beginning to use Umbraco more on a regular basis. As you know by know we're a friendly bunch who likes to help each other out no matter the level of experience :-)
And please mark Fuji's answer as the solution so others can benefit from it in the future should they have the same issues.
/Jan
Hi Darren.....
Great work if you got it working.....as Jan mentioned Do not hesitate to ask question and take part of the umbraco community.
//fuji
Hi Guys,
Another question - all is working with the form, however, my client isn't receiving the mail. When I try their personal address or mine it works. What might be causing this, I've tried the SSL tick box but this brings up a server error.
Thanks
Darren
Hi Darren
A few things to check.
1) Are you sure that the email is not ending up in the clients spam folder?
2) Are the SMTP settings correct? (If you are testing locally and using your default SMTP it might not be the same you should use on the server).
/Jan
Hi Jan,
How would I change the SMTP settings? It's strange that it's going to some addresses and not to others - could it be an issue with their set-up?
Darren
Hi Darren
Well if you receive the email when you're testing it's probably not an SMTP issue.
Are you sure the email has not ended up in their spam-folder?
/Jan
Hi i install Cultiv Contact Form. But when i add this macro nito my master template. it show the error message.
A page can have only one server-side Form tag.
Please help me. Thank you
I userd Cultiv razor macro but mail does not goto the email.... Any idea why
Hi Md
Have you checked that the e-mail does not end up in the spam folder?
And have you made sure that your SMTP settings in the web.config file are correct?
/Jan
I did every thing but nothing happen. Any idea...........
Check the Umbraco Log table for errors.
Rich
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.