AnsweredAssumed Answered

How do I implement filename validation?

Question asked by kalkus on Jun 30, 2008
Latest reply on Jul 4, 2008 by raweck
Hi!

Does anyone know how to implement content filename validation rules? For example I would like every filename in a specific space to match a certain regular expresion. If the file being added is not valid the user should be prompted to change the name before continuing the upload process. Is there an easy way of achieving this? I looked at the JavaScript API but I just can't seem to find a way to halt the upload process within a script. Can anyone help me please? Thank you in advance!

Martin

Outcomes