DNNDev.com Forums Minimize
Fat George File Upload
Last Post 11 Oct 2011 08:31 PM by Portimo. 7 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Robert Loree
New Member
New Member
Posts:2
Avatar

--
24 Sep 2008 10:58 PM  
We are trying to upload more than 1 file on a form and when isrequired is set to true for all uploads, it will not upload file 1 unless you first browse for file 2 and file 3.

Is there a way to have isrequired set so that it only checks for the file that you are trying to upload regardless of the condition of other file uploads on the form?

We are trying to upload 3 separate files from 1 form.
Tony Harrison
Advanced Member
Advanced Member
Posts:851
Avatar

--
25 Sep 2008 11:39 AM  
Hi Robert,
I haven't come across this problem before, I will look into it.
we don't make XMod, we make it better!
Robert Loree
New Member
New Member
Posts:2
Avatar

--
26 Sep 2008 10:26 PM  
I realize this is probably a fatgeorge problem, but indirectly it is also yours because fatgeorge is obviously trying to fill a void in your product.

I originally bought XMOD 4.5 and at the time ruled it out as being too difficult to master. When I saw that you had a new form designer in version 5 I elected to give the product a second chance. Too my dismay, I found that the features we wanted in a form required a custom form which renders the designer useless.

So, we learned to code custom forms but still could not accomplish one of our principle needs which is to NOT let the user submit a form until they have uploaded the required photos.

We have anywhere from 1 to 3 required photos per form.

I somehow got it in my mind that the fatgeorge file upload had features that would force the user to upload before submitting a form. As it turns out, this is not true and as I go back over the marketing literature, I can't figure out where I got such an idea.

Then we ran into the bug which we reported in the forum which apparently you were not aware of.

To make a long story short, neither Xmod or fatgeorge allow us to accomplish the simple task of verifying that the user has uploaded a file before submitting a form and thus fail to help us accomplish our task. This is disappointing, because the hype would lead one to believe they are both the greatest thing to ever hit DNN.

Do you have any grand suggestions as to how this can be accomplished or is our next project php and java school?
Jimmy Z
New Member
New Member
Posts:7
Avatar

--
15 Nov 2009 05:00 AM  
IMHO this a fundamental piece of functionality that should be there. If the objective is to upload something, then it's paramount to ensure that the file is actually uploaded.

I've have two sites that have the upload feature and presently I have about a 70% occurrence of users submitting the form without hitting the upload button. And, placing instructions didn't help, then bolding the instructions didn't help...so if the next version of XMOD Pro or FatGeorge could fit it in...it would be the bees knees.
Jimmy Z
New Member
New Member
Posts:7
Avatar

--
16 Nov 2009 06:10 AM  
Robert - I'm about 95% complete on having a solution for this. I want to clean things up a little before calling it a solution.

Basically I'm using CSS to modify the "Upload" link to make it stand out, but more importantly, I'm using JavaScript to catch and see if the file has been uploaded - prompting the user if he/she has not, and canceling the submit.

Hopefully I'll have it completed within the next 24 hours - and I'll post the details.
Jimmy Z
New Member
New Member
Posts:7
Avatar

--
20 Nov 2009 11:45 PM  
Eureka! I think I've got it. Basically I am using javascript and a SPAN to make this work.

I've used CSS to redo the "file upload" link. Although it looks like a button, it is actually a background image on the element id that I set through my skin's CSS. I've also used CSS to position it under the upload button versus next to it.

The next step was to wrap the "Submit" button in a span and set the visibility to hidden.

The last step was to create the "I agree" link which triggers the javascript to check for the FatGeorge "Photo_upl" elementID. If the .js detects the element, then the picture was not uploaded. If the elementID is not detected, than the span is made visible - and the submit button appears.

You can see the solution on snuggiehumor.com. And, yes, "snuggie" as in, "the blanket with sleeves".
JaniceM
New Member
New Member
Posts:3
Avatar

--
10 Oct 2011 07:14 AM  
I also need this functionality. I see the issue first got raised 3 years ago. Is it on any roadmap? I'll upgrade to XMOD 3 if the functionality is included there. Or Jimmy Z would you be able to help me with a javascript solution?
Portimo
New Member
New Member
Posts:9
Avatar

--
11 Oct 2011 08:31 PM  
I also need this too.
Jimmy Z, could you share some code?
Timo
You are not authorized to post a reply.

Active Forums 4.1
spacer
dummy