logo

Response

« Return to the main article

You are viewing this page out of context. To see it in the context it is intended please click here.

About This Page

Reply posted by Niel Revelle on Mon 8 Mar 2004 in response to Controlling the Size of Uploaded Files

Content_Length

I just tested the following on R5:


Create Content_Length as a hidden editable field with a default value of
Content_Length. Use the following for a Validation Formula:


@If(@IsError(@TextToNumber(Content_Length));@Success;@TextToNumber(Content_Lengt
h)>1024;@Failure("Your post is too large ("+Content_Length+")");@Success);