Posted by jchatard on December 1, 2008 at 4:45pm
Jump to:
| Project: | Prepopulate |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
Hi all,
I'm on D6 using CCK2 with ImageField (FileField 3.0) and I can't prepopulate file/image fields. Which is not strange I guess because these are not regular form elements.
Do you guys gave it a try and succeed?
I tried something like this:
<?php
&edit[field_image][0][fid]=6
?>For something rendered like that:
<?php
<input type="hidden" value="6" id="edit-field-image-0-fid" name="field_image[0][fid]" />
?>Thank you!
Jérémy
Comments
#1
Old issue, did anyone find a solution to it?
#2
can you describe a bit what you would see the workflow as here? Are you talking about an already uploaded file or something else?
#3
Also updating to the 6.x-2.x branch as 6.x-1.x is not supported and is not secure. If you are using the 1.x branch please upgrade immediately.