Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
Farmacity  
#1 Posted : Wednesday, February 21, 2007 8:36:07 PM(UTC)
Farmacity

Rank: Member

Groups: Member
Joined: 2/21/2007(UTC)
Posts: 1

Hello,
We are registered user of Image Uploaders and we're facing a problem.
Let's say that a user select 4 images. If we leave the default settings of image uploader, the user can select up to 3 combinations of format-paper-amount for each image to fill a photo order.
What we are trying to do is to validate the upload with javascript in order to check that each image has at least one correct combination of format-paper-amount. Of course this validation implies that the amount input should be numeric.
We can perform this validation server side, but to do this the image has to be uploaded.
Any ideas or code?

Thx in advance.

Leo
Alex Makhov  
#2 Posted : Sunday, February 25, 2007 5:51:53 PM(UTC)
Alex Makhov

Rank: Advanced Member

Groups: Member
Joined: 8/3/2003(UTC)
Posts: 998

Hello Leo,

The best place for validation is BeforeUpload event handler. You can iterate via all image properties using UploadFileXXX properties.

Edited by user Thursday, February 21, 2008 6:43:21 PM(UTC)  | Reason: Not specified

Sincerely yours,
Alex Makhov

UserPostedImage Follow Aurigma on Twitter!
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.