0

I have Created a form to upload images, where i should display error message if i upload more than 3 images and should disable submit button to delete already uploaded image if i want to upload more images

1
  • Is this form a form API form? Content type? Or what?
    – Mołot
    Commented Nov 5, 2014 at 16:08

1 Answer 1

2

Follow the steps

Go to image field settings of you content type.

Then Go to Image Field Settings and select '3' for number of values for the image

enter image description here

That's it. When user reaches their upload limit (3) the submit button will be disappeared automatically. and display like follows.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.