Closed (fixed)
Project:
ImageField
Version:
5.x-1.1
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
17 Jun 2007 at 08:55 UTC
Updated:
17 Dec 2007 at 04:05 UTC
If a node submit form has required fields, the upload creates a validation error when all field requirements have not already been met.
I think this is quite irritating and probably confusing for a site user. It leads me to want to place the imagefield at the bottom of a form on the basis one tends to complete a form top-down.
Is there a workaround for this?
Straying into feature request: the inline upload (with AJAX progressbar) of the upload module, which doesn't require a page refresh?
Comments
Comment #1
bobdalob commentedDMV info:
1. 5.x-1.4
2. 5.x-1.1
3. files 755
4. public
5. Label: Images, 640x640, Image path: images, rest are unchecked
6/7/8. As explained above
Comment #2
dotidentity commentedAnybody?
Comment #3
bobdalob commentedI think the proposed implemetation of ajax uploading is the answer (http://drupal.org/node/144475). I have tried this - and it is great - subject I think to ironing out a couple of minor issues.
Not only does it rule out the need for my initial request but it is the logical step for this module and as far as I have heard it is to be implemented.
Comment #4
quicksketchYes I agree, as the AJAX uploading will solve the issue in 95% of cases. While it *is* possible to skip more advanced validation by other fields, the 'required' flag is not possible to skip and still validate any other fields.
Comment #5
dopry commentedajax upload is in 2.x. You can form_alter anything else you may need for your use case or write patches that you think may solve the problem.