fredcate Posts:5
 skipping stones
 |
| 01/02/2007 3:46 PM |
|
|
Hi Chad,
I can't get the file upload to work. I can browse and locate the file and put it in the Browse Box but it does not grab and send the attachment. When I send the completed form to me all of the fields are there with the information except the attachment.
Do I need to do any more configuring to make the file upload work?
I am trying to create a form that allows a job applicant to upload their resume attachment via email from their computer to the website owners email address.
Thanks,
Fred |
|
|
|
|
Chad Posts:2271
 river guide
 |
| 01/03/2007 7:40 PM |
|
Fred,
Hi. The way dynamic forms file upload feature works is that it uploads a unique filename to the server (which it sounds like you have found) and then it doesn't actually send the file as an attachment with dynamic email events but what you can do is include a link within the email that will point to the file. I will try and get an example of this setup on our demo page for dynamic forms but for now you can try this:
1. Setup the file upload field (as it sounds like you already did) 2. Make sure that the short field name for the file upload field has a value in it. For example name it MyFileField 3. Within the email use the parameter for that field within the email message. For example, $(MyFileField). This will include the full unique filename. 4. You will then be able to have the user download that file within the email message with a 'Click this link'.
Here are the ways you would want to put this in your email: Example 1: Copy/paste this URL in your browser http://www.yoursite.com/DynamicForms_Uploads/$(MyFileField)
Example 2: Please Click Here to download the resume attachment.
Within the actual HTML message the only thing the user will see is 'Click Here' along with a link to the actual file that was uploaded.
Hope this helps, let me know if you run into troubles.
-Chad
|
|
|
|
|
Journal Posts:5
 skipping stones
 |
| 01/08/2007 12:03 PM |
|
We're having the same issue as Fred is. We followed your instructions, but when the email arrives all we get is a blank where the $(MyFile) variable should be. I've double-checked the question Short Name and the email event and they're both correct. Am I missing another setting? Thanks.
|
|
|
|
|
Chad Posts:2271
 river guide
 |
| 01/08/2007 2:32 PM |
|
Hi guys,
We did find that there was an issue related to this and it wasn't working as described above. We have a patch/hot fix available now as v2.2.3 and will be posting it to Snowcovered soon (until its posted its available upon request). This patch/hot fix changes the file upload capabilities and also fixes the issue with including the file upload parameter into dynamic events and so forth.
A few things:
1. Files are now saved under the portals directory (i.e. portals/0/dynamicforms_uploads). Before files were being saved to the root and this has been corrected.
2. Now you just need to include the parameter and not the first part of the directory/url and the parameter. I.e. within the email message just type in $(myfile) and not actually yoursite.com/dynamicforms_uploads/$(myfile).
3. There is now a new option within the email message. If you include the text "AttachFiles" within the email message it is removed from the message and the file attachment is physically attached to the email instead of having to use a url. This option will be documented in future releases or we might include a checkbox when the email event is setup that states: "Attach form file attachments to this email". Either way, you should be able to attach files now using this method.
Thanks,
Chad |
|
|
|
|
Amy Posts:1
 new to the springs
 |
| 04/10/2007 3:51 PM |
|
Hi All.
I am currently using the dynamic forms module on our company intranet. I really like the way it's all coming together now that I've played with it several times.
One thing we are having trouble with, though, is using the upload button. It allows us to receive .doc, .txt., .xls and pdf files. But what we would also like is for it to recognize AutoCAD .dwg files.
Is there somewhere we can tell the module to recognize different file types? We can see that the program renames the uploaded file and we're guessing maybe it just doesn't know about .dwg files...
Thanks! Amy |
|
|
|
|
Chad Posts:2271
 river guide
 |
| 04/12/2007 12:21 PM |
|
Actually the list of files ext that Dynamic Forms looks at is setup within DNN directly. I think this is under Host Settings, Advanced, Other Settings, File Upload Extensions. The default is: swf,jpg,jpeg,jpe,gif,bmp,png,doc,xls,ppt,pdf,txt,xml,xsl,css,zip
Ummm.... Changing is there should fix you for Dynamic Forms too.
Oh and if you like 2.2 just wait for 2.3! Many performance enhancements to speed up form maintenance.
-Chad
|
|
|
|
|
Walt Posts:8
 skipping stones
 |
|
Chad Posts:2271
 river guide
 |
| 05/23/2008 12:19 PM |
|
Hi. What version of Dynamic Forms is this and what version of DotNetNuke? -Chad |
|
|
|
|
Walt Posts:8
 skipping stones
 |
| 05/23/2008 3:45 PM |
|
Chad - I'm running DNN 4.08.02, and this problem occured with DynamicForms v2.3 so I purchased the latest version (v2.6) and the problem still exists. |
|
|
|
|
Walt Posts:8
 skipping stones
 |
| 05/24/2008 5:05 PM |
|
| Chad - One more thing regarding the File Upload feature ... is there any to make the file upload field required or mandatory prior to the submission? |
|
|
|
|
Chad Posts:2271
 river guide
 |
| 05/27/2008 2:02 PM |
|
Hi. Yes if you set the field to be required and you choose to have server side validation enabled it should be checking... I am reviewing this now on our development environment and will also test email events when the URL for the site is not setup as the root domain. Also, when you go to Admin, Site Settings, HTTP Alias, what is the HTTP Alias for your site? Do you just have 1 setup? It should be http://www.comfortpublishing.com/content right? |
|
|
|
|
Walt Posts:8
 skipping stones
 |
| 05/27/2008 2:55 PM |
|
| Chad - I do have the "Required Field" option checked on "File Attachment / Upload" question, and the "Enable Server Validation" is checked, however I can still submit the form without anything entered in the File Attachment field. There is only one portal configured on this server and the alias is "www.comfortpublishing.com/content" |
|
|
|
|
Chad Posts:2271
 river guide
 |
| 05/27/2008 7:31 PM |
|
Walt, Hi. I am going to email you an update. We found this today and will have a patch out to everyone soon but I wanted to get your feedback first. There are a few fixes and this will be released as 2.6.54. The update includes a few minor fixes/enhancements and one of those is related to the file upload field type for required fields and also the file token that is referenced within email events (should affect sites such as yours that include a sub directory or sub virtual directory). Please follow up on this and let me know. -Chad |
|
|
|
|
Walt Posts:8
 skipping stones
 |
| 05/28/2008 7:17 AM |
|
Chad - This patch seems to address both issues that I reported ... I do not see any problems at this point - thank you. |
|
|
|
|
Chad Posts:2271
 river guide
 |
| 05/28/2008 8:53 AM |
|
Thanks... We will continue to test this and add the patch on Snowcovered shortly. -Chad |
|
|
|
|
Kevin Posts:4
 skipping stones
 |
| 05/28/2008 7:48 PM |
|
Hey Chad,
Anyway to get that fix - I am working on two websites and I am getting that same problem with the file upload.
Any help is appreciated I have version 2.5 - any immediate help would be greatly appreciated.
Kevin |
|
|
|
|