By dhruvahuja on
Hello
In my program, I have moved several fieldsets into a parent fieldset. However, when I move the File Uploads (Attachments) fieldset into the parent fieldset, the form becomes unusable. All the fields since the fieldset begins vanish. Just the title texts remain.
I have traced the error to be caused by the following array element:
$form['attachments']['wrapper']['attach-url']['#attributes']['class']
If I unset it before moving attachments into a parent fieldset, the form renders fine; but the functionality of listing the uploaded files goes...
Any insights?
Thanks!
Comments
A couple of things, cross
A couple of things, cross posting is a no-no, please don't do it again (I cleaned up the other posts).
Also it would help if you posted the code in question, it is hard to guess what your problem might be. And please place the posted code between <code> and </code> tags. Thanks.