hi
in a table view i have a field called document that have the path to a file or to a folder (the folder is ever \media\uploads\)
i want to use a switch so i can view
- when the value is a file it should show a button
- when the value is "\media\uploads\" it should show "no files to open"
i know how to use switches but the "empty solution" (var.empty:read_data......) is not usefull cause i need to evaluate a value or a NOT(value) condition
is there a way to control conditions of the swtch?
something like this
NOT(\media\uploads\):{view:apri_chat_file}
\media\uploads\:no file uploaded
thank you
in a table view i have a field called document that have the path to a file or to a folder (the folder is ever \media\uploads\)
i want to use a switch so i can view
- when the value is a file it should show a button
- when the value is "\media\uploads\" it should show "no files to open"
i know how to use switches but the "empty solution" (var.empty:read_data......) is not usefull cause i need to evaluate a value or a NOT(value) condition
is there a way to control conditions of the swtch?
something like this
NOT(\media\uploads\):{view:apri_chat_file}
\media\uploads\:no file uploaded
thank you