This topic is locked

Blocking use of special characters and spaces in file names

7/17/2009 9:39:56 AM
ASPRunnerPro General questions
M
mfred author

i would like to at least see if there is a way to block people from using characters like #, %, ? in files that they upload. Secondly, it would be good if I had a way to block files names from having spaces.

J
Jane 7/20/2009

Hi,
use Before record addedevent on the Events tab to check file names and show error message if needed.

All entered values are stored in the values array (for example check values("FieldName")).