SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Hybrid View

  1. #1
    SitePoint Zealot hvoice's Avatar
    Join Date
    Sep 2003
    Location
    New York
    Posts
    186
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Problem with upload in a form

    Hello All!

    We need a little bit of help.

    The thing is - there is this form: http://www.hostvoice.net/form/

    ... and it has an upload "feature" and everything works fine, except that the upload feature is for some reason a "requirement" and the form is not being processed unless a file is "uploaded".

    We use a script provided by email-form.com and according to their manual... well, we can't find anything wrong with it.

    Please clear up the confusion for us - why is the "upload" required and how do we get rid of that?

    p.s. You can download the file with the forms at: http://hostvoice.net/form/form1.zip

    Help is greatly appreciated.

    Boris
    - PayPerClickUniverse.com - Click Here for exclusive
    deals on Overture, FindWhat, Enhance, Search123 and more.

  2. #2
    Drupaler bronze trophy greg.harvey's Avatar
    Join Date
    Jul 2002
    Location
    London, UK
    Posts
    3,258
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    They must have a validation function built in. You just need to find it and tell it NOT to validate the upload field. Without seeing the code we can't help though...

  3. #3
    gingham dress, army boots... silver trophy redux's Avatar
    Join Date
    Apr 2002
    Location
    Salford / Manchester / UK
    Posts
    4,838
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    unless i'm mistaken, just remove the
    Code:
    if (!file) return;
    line from the page's javascript.
    re·dux (adj.): brought back; returned. used postpositively
    [latin : re-, re- + dux, leader; see duke.]
    WaSP Accessibility Task Force Member
    splintered.co.uk | photographia.co.uk | redux.deviantart.com

  4. #4
    SitePoint Zealot hvoice's Avatar
    Join Date
    Sep 2003
    Location
    New York
    Posts
    186
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Didnt work
    - PayPerClickUniverse.com - Click Here for exclusive
    deals on Overture, FindWhat, Enhance, Search123 and more.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •