Sending contact form contents to user based on checkbox
Yeah, i know its a common question, and ive searched but nothing really gave me the answer im looking for. Or rather, i dont want to admit the answers ive found are correct.
Its just that what i want to do SEEMS very simple, so i hope the solution is equally simple.
On a relativly simple contact form, ive placed a single checkbox, if the user checks it a copy of the form is sent to the users email entered in the form. Standard stuff.
I can get it to work without checking the checkbox so i got that down. I cant really find anything in the standard workflows about checking checkboxes or similar. Is it possible, or am i forced to write an xslt?
Sending contact form contents to user based on checkbox
Yeah, i know its a common question, and ive searched but nothing really gave me the answer im looking for. Or rather, i dont want to admit the answers ive found are correct.
Its just that what i want to do SEEMS very simple, so i hope the solution is equally simple.
On a relativly simple contact form, ive placed a single checkbox, if the user checks it a copy of the form is sent to the users email entered in the form. Standard stuff.
I can get it to work without checking the checkbox so i got that down. I cant really find anything in the standard workflows about checking checkboxes or similar. Is it possible, or am i forced to write an xslt?
Thank you in advance.
I use an xslt for that... I'm not aware of any workflow that check a checkbox before doing something. It can probably be done with a custom workflow.
Well then it is sadly what i suspected.
Quick question then: How do you check the values of the checkbox in the xslt?
Either way, i have to solve this problem first before i can do anything: http://our.umbraco.org/forum/umbraco-pro/contour/24017-XSLT-transformed-Email-Expression-must-evaluate-to-a-node-set
Hi Frederik,
In my workflow, I put an xslt transform email. It sends the email to me, so I'm warn that someone filled the form. In the xslt, I do a
Some email formating to me...
then :
<xsl:/if>
is working on a reply...