how to get file name from fileuploadfield using javascript?

  1. #1

    how to get file name from fileuploadfield using javascript?

    I have requirement
    i want to get fileuploadfield file name on client side because i don't want allow more that 100chracters file name files to upload.
    So i write code using java script.
  2. #2
    Hi,

    The getValue() method returns a file name.
    FileUploadField1.getValue()

Similar Threads

  1. [CLOSED] FileUploadField - cannot load twice the same file
    By voipswitch in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Aug 16, 2011, 1:28 PM
  2. FileUploadField getting the selected file
    By miukarnain in forum 1.x Help
    Replies: 3
    Last Post: Apr 18, 2011, 10:57 AM
  3. Remove file from FileUploadField
    By juredecman in forum 1.x Help
    Replies: 7
    Last Post: Aug 26, 2010, 8:18 PM
  4. copy a file using FileUploadField
    By Sameera in forum 1.x Help
    Replies: 2
    Last Post: Sep 08, 2009, 6:29 PM
  5. FileUploadField file name
    By Kamal in forum 1.x Help
    Replies: 2
    Last Post: Jun 29, 2009, 2:01 PM

Posting Permissions