I want to create a field in which we can write & drag & drop a pdf, jpg or other document file as attachment

Require a field in a form which can allow the user to write in the field & also allow the user to drag & drop any image file/txt file/xls file. An example is attached herewith.

If you make two fields

  1. Comment html based
  2. File file name ( stored in db)

Youre fine

Dear rotrax,
Thanks for support, but my requirement is a common field which holds both the things as per user wish. if user wish to just add text he is free to do so, if he wish to add just the attachment it is ok or both is also fine.