you can use the Server Validation Server Behavior of CSS Form builder to validate the file size.
with a file field named imageUpload, one of the bindings under the form collection will be named "imageUpload File Size"
Use number validation, select the "imageUpload File Size" as the server variable.
Set the maximum to the number of bytes you wish to restrict file upload to.
I ma attaching screen shots to demonstrate.