Viewing 3 reply threads
  • Author
    Posts
    • #3377
      pupppet
      Member

      Does the file field not support columns? It seems to be ignoring my columns setting altogether, I’m not seeing the data-piklist-field-columns=”#” attribute on the div despite having a ‘columns’ => 6 in my file field array.

      Also, is it possible to limit the number of files (before the user has published)?

    • #3382
      Steve
      Keymaster

      @pupppet– It looks like that may be a bug with the file field type. We’ll look into that.

      As for limiting the number of files a user can upload, you can use the limit validation rule. However, this doesn’t trigger until after the user saves their data. This is because Piklist uses the server to validate data, not javascript. The server is way more secure than javascript.

    • #3386
      pupppet
      Member

      As for limiting the number of files a user can upload, you can use the limit validation rule.

      I hear ya, I guess I was hoping for something client-side as well for a better use experience (a user shouldn’t see an ‘add’ button if it’s not an option).

    • #3390
      Steve
      Keymaster

      @pupppet– We may include both in the future. Both for now we are focusing on the security aspect of validation.

Viewing 3 reply threads
  • The topic ‘File field issues’ is closed to new replies.