PDA

View Full Version : Choice of acceptable file format request


mustang_sally_85344510
03-02-2009, 09:06 AM
Would like to see a choice of acceptable file formats added to Digital File Pro. Until then, ...What can I do to add this to my pages now? Thank you in advance.

Ray Borduin
03-02-2009, 09:09 AM
You can do this with validation toolkit.

mustang_sally_85344510
03-03-2009, 10:32 AM
Hey~
Thank you~ :)
So, do I run digital file pro first then validate?
Is there a recipe for this?
Which came first the chicken or the egg? LOL.
I am grateful for your input!
Patty

Ray Borduin
03-03-2009, 10:41 AM
It doesn't really matter which comes first if you use the client side validation.

If you want to use server validations, maybe add the upload first. That way you can validate the uploaded properties for things like file size and extension.

You may have to manually move the code so that the upload takes place before the validaiton in some cases. For instance if you are validating the file size or another variable from the uploaded bindings besides the form name, it won't be available until the upload code runs.

mustang_sally_85344510
03-04-2009, 10:13 AM
Thank you ! :)