form php validation image upload

They have: 2 posts

Joined: Dec 2005

I have created a form on which you browse for images, using a php form wizard (because I cannot create php myself). The problem with that wizard is:
validation!
All fields have a choice of validation, except for the image field. This does not allow a choice and is automatically validated.
However, I need this to be optional.
The question is:
what piece of coding would need to be deleted or inserted to make validation optional.
I did ask the producer of this software for advice but not luck, no response.
If you can help, I could publish part of the code relating to the image part.
Thanks

Gaby

JeevesBond's picture

He has: 3,956 posts

Joined: Jun 2002

Gabriele Trincz wrote: If you can help, I could publish part of the code relating to the image part.

Yes, that would be helpful. If the script is online though, maybe you could point us to it? Smiling

Gabriele Trincz wrote: All fields have a choice of validation, except for the image field. This does not allow a choice and is automatically validated.

By 'validation' do you mean it checks whether the person has attached an image to the form and complains if they haven't? Does it do anything else like check the image type? Just need to check these things. Smiling

a Padded Cell our articles site!

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.