Trying to submit .js form to database - how to in Umbraco?
I am not a .net developer and need some help.
I am Integrating a brief exit survey .js popup into Umbraco CMS and I have gotten to a place where I have integrated the popup form in the site... (to see the form go to this search results page and exit the viewport with your mouse... http://safeguard.customer.def6.com/storage/searchresults.aspx?size=&distance=-1&locale=10467 ) What I can't get is how to go about saving the results into a MS SQL database on the backend... Could anyone point me in the right direction?
You should submit the form fields to the server with some ASP.NET magic. There are numerous ways to present your data in the Umbraco backend. The easiest way is probably to build your own user control - or as it is called in Umbraco-lingo, a datatype - and then attach it to your document type.
Again, there are more ways to build your own datatype - this is probably the easiest (but also least flexible): http://www.nibble.be/?p=24
Your exit form submission would be processed by some c# code that would create a new 'feedback' page. This would therefore be stored in the DB the same as any page content.
Trying to submit .js form to database - how to in Umbraco?
I am not a .net developer and need some help.
I am Integrating a brief exit survey .js popup into Umbraco CMS and I have gotten to a place where I have integrated the popup form in the site... (to see the form go to this search results page and exit the viewport with your mouse... http://safeguard.customer.def6.com/storage/searchresults.aspx?size=&distance=-1&locale=10467 ) What I can't get is how to go about saving the results into a MS SQL database on the backend... Could anyone point me in the right direction?
Any help would be great...
THANKS!
W Rhodes
You should submit the form fields to the server with some ASP.NET magic. There are numerous ways to present your data in the Umbraco backend. The easiest way is probably to build your own user control - or as it is called in Umbraco-lingo, a datatype - and then attach it to your document type.
Again, there are more ways to build your own datatype - this is probably the easiest (but also least flexible):
http://www.nibble.be/?p=24
hi wrhodes
You could create a new content node via the API for every survey completed. This is a relatively straight forward task described http://umbraco.org/documentation/books/api-cheatsheet
Your exit form submission would be processed by some c# code that would create a new 'feedback' page. This would therefore be stored in the DB the same as any page content.
Cheers,
Chris
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.