form.yaml 828 B

1234567891011121314151617181920
  1. enabled: true
  2. built_in_css: true
  3. inline_css: true
  4. refresh_prevention: false
  5. client_side_validation: true
  6. inline_errors: false
  7. files:
  8. multiple: false # To allow multiple files, default is single
  9. limit: 10 # Number of allowed files per field (multiple required)
  10. destination: 'self@' # Where to upload the files (path and self@, page@, theme@)
  11. avoid_overwriting: false # Prevent files with the same name to be overridden. Date prefix will be added
  12. random_name: false # Generate a random 15 long string name for the uploaded files
  13. filesize: 0 # Maximum file size allowed (in MB)
  14. accept: # List of mime/types or file extensions allowed (ie, image/*,.zip,.mp4)
  15. - image/*
  16. recaptcha:
  17. version: 2-checkbox
  18. theme: light
  19. site_key:
  20. secret_key: