This topic is locked
[SOLVED]

 View As File Without Filename

4/29/2013 11:45:59 PM
PHPRunner General questions
D
dkasing author

I would like a field that is set to View as File to display only the file icon instead of the icon plus file name. I would still like the user to be able to click on the file icon to launch the file. Is it possible to do this?
Thank you.
Sincerely,

Douglas

C
cgphp 4/30/2013

You can enable "Show custom expression" option in the file dialog to prevent file name to be shown.

D
dkasing author 5/1/2013

Thanks for this suggestion. What custom expression should I use?

Douglas

Sergey Kornilov admin 5/1/2013

It's very simple in fact:

$value = "";
D
dkasing author 5/2/2013

Sergey:

Thanks this worked perfectly.
Douglas