Forums / Setup & design / Form and attached files

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Form and attached files

Author Message

laurent le cadet

Monday 23 August 2004 9:06:42 am

Hi,

Is it possible to create a form (classe) with a button (Binary File ?) that send the informations collected and the attached file ?

I can do the form without any problem (like a feedback form) but can't find something for the attached file.

Any idea ?

Thanks

Laurent.

Gurudutt Verma

Wednesday 25 August 2004 1:03:23 am

Hi,

I guess you have to create new extention of Binaryfile datatype, and convert it in to information collector, for that you need to copy following files and do the necessary changes, this may work for that.

kernel/classes/datatypes/ezbinaryfile/ezbinaryfile.php
kernel/classes/datatypes/ezbinaryfile/ezbinaryfiletype.php

It is a good idea to spend some time to know how to create new datatype to understand the basics before moving on.

laurent le cadet

Wednesday 25 August 2004 2:24:30 am

Thanks.

I'll try that way (I'm not a real "Mister code" ;)

Laurent.