I have a form which allows a user to attach a file. However, when I look at the record in table view mode (or edit) and when the file is an image file (PNG in this case) it display the image and not the filename.
How do I ensure that the file name is displayed rather that the image itself?
Thanks in advance
Hi
you can transform it through the asAttachment function getting the file name
myfield.asAttachment.fileName
Alex
Can you give me an example of where in the form I would use that?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In ConfiForms Field macro, field name parameter (as usual :-))
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ok, tried that. And updated the table view the same. Both table view and form view show the filename (instead of the actual image). However, when I click on edit (which also uses the form view) the filename is not displayed (no file chosen).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Well, of course it will say no file chosen, if you have not chosen any in this update
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.