Go Back   Novahq.net Forum > phphq.Net > phphq.Net Forums
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-27-2007, 11:03 AM
Lex is offline Lex
Registered User

Join Date: Aug 2007
Posts: 1

Form verify phUploader so they MUST upload?

so, on most forms when you hit "submit" - or in this case Upload File(s) - if you have not filled out the form field (selected a drop down, put in some text, clicked a radio button, etc.) a warning pop-up comes up saying you need to do so. Essentially, a very simple method of form verification that they in fact filled out the fields.

How can that be added here so that at least 1 "choose file" must be completed? As it is, if you do not choose a file, it just sits there... would be nice to pop a warning message that says "you need to select and upload at least 1 file to proceed".

just to help prompt the user along.....

how can this be done? I am not good enough at php to know how to integrate a form check in the upload buttons and then pop a warning if they do not upload at least 1 file (as I have the ability set to upload a max of 4)
Reply With Quote
  #2  
Old 08-27-2007, 06:13 PM
DevilDog#1 is offline DevilDog#1

Join Date: Jul 2002
Posts: 7,040

Sounds like JScript ... check out my site under www button. Click on Upload file. I think it does the same thing.
__________________








Quote:
If I don't do that doesn't mean I can't - DD#1
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
incorporate php file upload with MySQL form? pauldridge Tech Support 1 06-16-2010 08:46 AM
phUploader Customize hysteriksmile phphq.Net Forums 4 03-24-2010 11:41 AM
phUploader File Upload Vulnerability gopat phphq.Net Forums 7 05-27-2008 12:55 PM
phUploader sof-com phphq.Net Forums 1 05-25-2008 02:50 AM
phUploader help lodupersempre phphq.Net Forums 0 05-12-2008 08:30 AM


All times are GMT -5. The time now is 12:28 PM.




Powered by vBulletin®