Dear All,

I am preparing one custom module. But In that custom module I want to add image upload filed is same as like cck imagefield. So, Is there any way to create form field like cck imagefield.

Thank you,
Mrugesh Panchal

Comments

beautifulmind’s picture

You should use the 'file' type field.

Regards.

mrugesh_drupal’s picture

I want to build a image upload filed in custom module as in CCK.
With like add another item option in custom module.
So, How to make add another filled in custom module in drupal standard.

beautifulmind’s picture

its quite simple, u have to use Jquery for easy navigation & appearance of the field. You have to create fields dynamically and have to keep track all of them. Its quite easy but time consuming. It can take up to 4 hours. I remember I have done similar task on my first encounter with Drupal, way back in 2008.

mrugesh_drupal’s picture

yes i have build it using jquery. But is there any drupal module which gives us the facility to add form api like drupal CCK having "add another item".

beautifulmind’s picture

Nop. But you can contribute the one. Nice Idea!