I've developed a specific form for a cllient and imported into Umbraco as a control and all is working well however if i was doing this in a .Net site i would be doing 2 things.
Capture data in the email and send to client.(i'm doing this for the umbraco control)
Capture data to database and allow the cllient view the form enquiry details via the cms.(not doing this)
as this is only my 2nd umbraco website I'm not sure how this should be done...can i just continue as normal and capture the data to umbraco database i'm using? I've seen some extra tabs on the umbraco install for other starter kit forms, is this done in the same way?
1) Add then as nodes in Umbraco using the API (easy to do), means your client can view/edit them in the admin system.
For this usually use a structure like this
-Content
----Home
------About Us Etc
----Settings
------Form Responses
-------- Response 1
-------- Response 2
-------- Response 3
2) Alternatively you can add them to a SQL Server table (either using the Umbraco datalayer or any you prefer) and then add a custom section for viewing the responses
Have you considered Contour, sounds like exactly what you need if you want to save some time, this saves results back to Umbraco and also allows your users to edit the form.
Yeah contour sounds like it ticks all the boxes but I have already quoted the client and the price did not include contour however they have moved the goalposts slightly with the number of forms they now want. I do enjoy developing my own .net forms and think it would be a worthwhile exercise delving into the API to help with my learning curve though...
Looks good, this is how we've done it on various projects, we use the doc types to create a 'form builder' which the client can create forms from themsealves, they can then drop them into any page they like.
I dont think mine needs to be as complicated, the form is not going to change and the client does not need access to it, just need to store the response's somewhere and let the client see it. Been reading up on the API cheat sheet are there any example projects or code out there?
Store info with my form control
I've developed a specific form for a cllient and imported into Umbraco as a control and all is working well however if i was doing this in a .Net site i would be doing 2 things.
Hey Stephen,
You have a few options.
1) Add then as nodes in Umbraco using the API (easy to do), means your client can view/edit them in the admin system.
For this usually use a structure like this
-Content
----Home
------About Us Etc
----Settings
------Form Responses
-------- Response 1
-------- Response 2
-------- Response 3
http://umbraco.com/help-and-support/video-tutorials/developing-with-umbraco/custom-sections,trees-and-pages/adding-a-new-section.aspx
Hey Rich, option 1 sounds cool and the API is something I've yet to tap into...do you know of any good example on the site?
Thanks for the reply.
Stephen
Hey Stephen,
The API is pretty simple once you get your Visual Studio solution set up and reference the correct dll's, here's the wiki http://our.umbraco.org/wiki/reference/api-cheatsheet
Have you considered Contour, sounds like exactly what you need if you want to save some time, this saves results back to Umbraco and also allows your users to edit the form.
Rich
Yeah contour sounds like it ticks all the boxes but I have already quoted the client and the price did not include contour however they have moved the goalposts slightly with the number of forms they now want. I do enjoy developing my own .net forms and think it would be a worthwhile exercise delving into the API to help with my learning curve though...
Cheers,
Stephen
So thinking this through with option 1, the simplified process could be as follows
Cheers,
Stephen
Hey Stephen,
Looks good, this is how we've done it on various projects, we use the doc types to create a 'form builder' which the client can create forms from themsealves, they can then drop them into any page they like.
Regards
Rich
I dont think mine needs to be as complicated, the form is not going to change and the client does not need access to it, just need to store the response's somewhere and let the client see it. Been reading up on the API cheat sheet are there any example projects or code out there?
Cheers,
Stephen
Hey,
Not sure how up to date this is but sample application from Umbraco TV here http://video.umbraco.org/developer/events/samples.zip
API / Events videos here http://umbraco.com/help-and-support/video-tutorials/developing-with-umbraco/events.aspx
Rich
is working on a reply...