i am creating a form as shown in image which saves detail in csv in background by putting php code in body block which works fine but can anyone tell me how to add the image upload option in form and to save the same in other place
2 | First do not add code in body block. Create a custom module. To add image field please refer Drupal Form API. Eg.
| ||
来自 http://stackoverflow.com/questions/21214526/how-to-add-image-field-in-form-drupal-7