File validation

QuestionsFile validation
Gustavo lazaro asked 2 weeks ago

Is there any way to validate the name of a file when we upload an attachment? We have problems with special characters (ñ, á), these characters are not recognized by the URL. What is the way to solve this?

1 Answers
Abu answered 1 week ago

You can use callback events and check on server if the uploaded file name is correct, like it checks the extension in the demo code.

https://www.gridphp.com/demo/demos/editing/file-upload.phps

LIne 153, 156, 162

Your Answer

17 + 0 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?