I have a form that i would like to upload files with unique names based on 2 fields in the form. The values i want are stored in
The Incident ID is generated using Bobs fantastic Unique_ID[GH] Action
I would like these added along with $File_Name
so if the values were "PK8864G" for the Incident_ID and 12-12-2016 for the Date Reported I would like the file name to be
PK8864G_12-12-2016_Filename.doc
All i have managed to do is get partial values to work, any help with the syntax required to get this to work would be appreciated
$form->data[main][Incident_ID]
$form->data[main][Incident_DateReported]
The Incident ID is generated using Bobs fantastic Unique_ID[GH] Action
I would like these added along with $File_Name
so if the values were "PK8864G" for the Incident_ID and 12-12-2016 for the Date Reported I would like the file name to be
PK8864G_12-12-2016_Filename.doc
All i have managed to do is get partial values to work, any help with the syntax required to get this to work would be appreciated