Hi there,
I would like to replace the default "Description" field of a picture inside an album by some fields which will create the title.
I would like to get 3 fields :
- one which will be a select file field: "Aircraft type"; I would like to put a list of aircrafts (I will put the values by myself of course).
- one which will be another select file field: "Airline"; I would like to put a list of airlines (I will also put the values by myself).
- one which will be a text field called "Registration".
So, for example, I would like that, if I choose "Airbus A380-800" in the "Aircraft type" field, if I select "Lufthansa" in the "Airline" field and if I write "D-AIMA" in the "Registration" field, the title of this picture will be "Airbus A380-800 Lufthansa (D-AIMA)".
I already try something in the /plugins/jsn/socialnetwork/app/View/Albums/edit.ctp file but It doen't works.
Thanks in advance for your help,
Best regards,
Yann Arnould