I have a site which contains several nodes of 'events'. I need to create a simple booking form which gives the user a list of events to choose in a drop-down along with standard details like name, email etc. The form needs to send the details by email (no requirement to store in Umbraco). The event drop-down may be pre-selected if the user has clicked through to the booking form from an actual event page (I'm thinking it would probably pass the event node id to the booking page in the querystring).
Question is, how is this best approached? Is this something Contour could do easily, or would I be best building a .NET UserControl, or could this even be done with XSLT (I'm assuming you can't send email through calls in XSLT)?
Should mention this site, which uses a js dependant xslt form that passes values to a hidden Doc2Form with javascript. I'm not sure if I'd recommend this approach to everyone though
Thanks Dan - so it is possible to send mail via XSLT, that's very helpful!
I think it should be a simple and static enough system to just code up with XSLT without having to do anything with doc-2-form, but that's an interesting reference so thanks for that.
Drop-down list of nodes - one preselected
Hi,
I have a site which contains several nodes of 'events'. I need to create a simple booking form which gives the user a list of events to choose in a drop-down along with standard details like name, email etc. The form needs to send the details by email (no requirement to store in Umbraco). The event drop-down may be pre-selected if the user has clicked through to the booking form from an actual event page (I'm thinking it would probably pass the event node id to the booking page in the querystring).
Question is, how is this best approached? Is this something Contour could do easily, or would I be best building a .NET UserControl, or could this even be done with XSLT (I'm assuming you can't send email through calls in XSLT)?
Opinions appreciated, thanks.
http://our.umbraco.org/wiki/reference/umbracolibrary/sendmail
never used it, but using xslt would make creating the dropdowns etc very easy
Should mention this site, which uses a js dependant xslt form that passes values to a hidden Doc2Form with javascript. I'm not sure if I'd recommend this approach to everyone though
Thanks Dan - so it is possible to send mail via XSLT, that's very helpful!
I think it should be a simple and static enough system to just code up with XSLT without having to do anything with doc-2-form, but that's an interesting reference so thanks for that.
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.