playing around with the most excellent Contour, but I've run into a problem I just can't figure out how to solve.
I have a bunch of hotels created as nodes in Umbraco. Almost each one of these hotels has a unique booking form created in Contour, and associated via a Form Picker.
When one of these booking forms are submitted, I want it send to the hotel owner, ie. an e-mail address specified on the hotel node.
Yup you can use a special syntax that is outlined in the developer docs to get values from request collection, property values, session values, member values ... So it should it's just a mather of knowing the alias and then setting the setting on the workflow to [#propAlias]
I have the exact same question, but [#propalias] don't work for me.. This is my first time using Contour by the way. The property is on the current node as well.
But my problem still persists.. The form works if I type in the selected email adress in the textfield, but it just won't get the value from the node property.
Mail to e-mail address specified on node
Hi there,
playing around with the most excellent Contour, but I've run into a problem I just can't figure out how to solve.
I have a bunch of hotels created as nodes in Umbraco. Almost each one of these hotels has a unique booking form created in Contour, and associated via a Form Picker.
When one of these booking forms are submitted, I want it send to the hotel owner, ie. an e-mail address specified on the hotel node.
Any clues on how to accomplish this?
Best regards,
Soeren Sprogoe
In the email field in the workflow, put [#propertyAlias] where property alias is the name of the property that the email is stored in.
Comment author was deleted
Yup you can use a special syntax that is outlined in the developer docs to get values from request collection, property values, session values, member values ... So it should it's just a mather of knowing the alias and then setting the setting on the workflow to [#propAlias]
@Jonny: Thanks, worked perfectly!
@Tim: Wait... There's docs? Isn't this an Umbraco project? :-P
Sweet, I guess I should really go read it. Thanks mate!
Comment author was deleted
@Soeren and 30 pages of it, well at least we hide them a bit :p
I have the exact same question, but [#propalias] don't work for me.. This is my first time using Contour by the way.
The property is on the current node as well.
I'm using Umbraco 6.1.3 and Contour 3.0.17.
Comment author was deleted
Is your form on the page containing the property?
@Tim Yes it is.
Let's say it was on a different node, is there a way that I could find it then, like Xpath?
Comment author was deleted
Nope no xpath only recursive option of you use $, + make sure to use the alias in correct casing
Ah ok, thanks!
But my problem still persists.. The form works if I type in the selected email adress in the textfield, but it just won't get the value from the node property.
Is there a proper way troubleshoot this?
Comment author was deleted
Running site in MVC mode? Let me test if it isn't a bug :)
Yes I am!
Thanks, that would be great :)
Comment author was deleted
Ok might be due to changes there then, will let you know what i find
Hello again!
You've had the time to look at it yet? :)
Thanks
Comment author was deleted
Not yet, will do it later today
Comment author was deleted
Yeah it' due to changes in the way the webforms and mvc engine handle the page values, will need to update, planned for this week
Oh I see.
Thanks a lot for the information! I'll keep an eye out for updates :)
Comment author was deleted
Looking into a solution now so hopefully I'll have a fix later today :)
Comment author was deleted
Sorry for the delay, back on the bug today :)
Hehe no worries, good luck :)
is working on a reply...