I'm running 4.0.2.1 with doc2form. I have a form with some dropdowns on it that are loaded with prevalues. Doc2Form (is sweet!) emails the results nicely but it returns the id instead of the text for the dropdown results. Has anyone solved this problem before?
Thanks Casey that's the ticket. What took you so long to answer :) Now GO TO BED! Thank you for producing doc2form, it rocks. I had looked at the source at that spot but being a VB.NET transitioning to C# type of person, I didn't mess with. Your instructions worked a treat.
Dan,
I realized I could use a library function but doc2form is doing the work and I wasn't sure where to inject some XSLT. Thanks for a speedy response.
I know I must be having a brain fart here. Originally when implementing doc2form I was able to get it to send the results of the form completed to the owner of the site. Like
Name: John Doe
Address: 100 Main Street
etc.
Now I am unable to get it to do that. I have email results flagged to send. What am I missing that's so simple?
Doc2Form Returning DropDown IDs not Values...
Hi All,
I'm running 4.0.2.1 with doc2form. I have a form with some dropdowns on it that are loaded with prevalues. Doc2Form (is sweet!) emails the results nicely but it returns the id instead of the text for the dropdown results. Has anyone solved this problem before?
Thanks,
Tim
Try using umbraco.library:GetPreValueAsString, passing in the ID from the dropdown.
Although this doesn't help in the emails that get sent.
Dan
Very easy fix.
Search for "int key", and replace "val" in the next two lines with the word "key".
should read...
BTW, the file is located in app_code.
doc2form.ascx.cs
Thanks Casey that's the ticket. What took you so long to answer :) Now GO TO BED! Thank you for producing doc2form, it rocks. I had looked at the source at that spot but being a VB.NET transitioning to C# type of person, I didn't mess with. Your instructions worked a treat.
Dan,
I realized I could use a library function but doc2form is doing the work and I wasn't sure where to inject some XSLT. Thanks for a speedy response.
Regards,
Tim
I know I must be having a brain fart here. Originally when implementing doc2form I was able to get it to send the results of the form completed to the owner of the site. Like
Name: John Doe
Address: 100 Main Street
etc.
Now I am unable to get it to do that. I have email results flagged to send. What am I missing that's so simple?
Thanks
Any idea of how I can get the form to attach file to email when sending?
Thanks Scott
is working on a reply...