This website requires JavaScript.
Explore
Help
Register
Sign In
tonyair
/
silverstripe-framework
Watch
1
Star
0
Fork
0
You've already forked silverstripe-framework
mirror of
https://github.com/silverstripe/silverstripe-framework
synced
2024-10-22 14:05:37 +02:00
Code
Issues
Projects
Releases
Wiki
Activity
397843a49f
silverstripe-framework
/
templates
/
forms
/
FileField.ss
3 lines
92 B
Scheme
Raw
Normal View
History
Unescape
Escape
BUG Consistently self-closing form field tags (#7557) This is reverting templates back to pre-3.0 conventions, which were dominated by XHTML templates. HTML5 allows both self-closing and unclosed tags, so opting for self-closing to achieve maximum compatibility.
2012-08-10 10:27:33 +02:00
<input
type=
"hidden"
name=
"MAX_FILE_SIZE"
value=
"$MaxFileSize"
/>
The MAX_FILE_SIZE field must precede the file input field. More here: http://php.net/manual/en/features.file-upload.post-method.php
2013-05-02 10:15:55 +02:00
<input
$AttributesHTML
/>
Reference in New Issue
Copy Permalink