Tagged: , ,

Viewing 4 reply threads
  • Author
    Posts
    • #5437
      vayu
      Member

      Hi, I was wondering what options there are with the file upload filed? I would like to be able to set a limit on the number of files. I would like to set limit to 1. Is it possible to limit to what type of files?

    • #5445
      Steve
      Keymaster

      @vayu– You can use the Piklist validate parameter limit.

      Since Piklist validates via the server, not javascript, the user will initially be able to add multiple files, but once they try and save they will see an error message.

    • #5451
      vayu
      Member

      Thank you Steve. This will work. Would have been better to have a limit, so the user simply cannot select more than one file.

    • #5455
      Steve
      Keymaster

      @vayu– We have plans to implement that. The priority for us was getting server-side validation just right because it’s way more secure than Javascript validation.

    • #5457
      vayu
      Member

      Great thanks

Viewing 4 reply threads
  • The topic ‘File upload options’ is closed to new replies.