- Sun Jul 14, 2019 5:39 am
#825411
Hi,
I write a trigger before my form:
How can I set data and download link for file field in my form with trigger.
Thnaks
I write a trigger before my form:
Code: Select all
when I use thie trigger in before my form, the multiple file is correct and get data, but the file field don't show download link in the form.//This is exist in my server and my database
$aFileVar = array (
'appDocUid' => '4451428635d2af3e2734131096936236',
'name' => 'test.pdf',
'version' => 1
);
//This work
//for multiple file type
@=multipleFileVar005 = array();
@=multipleFileVar005[0] = $aFileVar;
//This don't work!
//for single file type
@@fileVar003 = json_encode(array($aFileVar['appDocUid']));
@@fileVar003_label = json_encode(array($aFileVar['name']));
How can I set data and download link for file field in my form with trigger.
Thnaks