Possible to change yes/no column text?

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
lueu
Posts: 89
Joined: Tue Mar 07, 2023 11:49 pm

Possible to change yes/no column text?

Post by lueu »

Hi helpful people!
Is there any way to display something other than yes/no in my yes/no columns? I would like to change the laguage, but setting that in the 'Yes' string for the attribute does not seem to help. I can change it in forms, but not when displaying query results. Adding a picture to clearify what I would like to change.
2023-06-01_10-31-03.png
2023-06-01_10-31-03.png (13.61 KiB) Viewed 3519 times
hpl123
Posts: 2579
Joined: Fri Feb 01, 2013 1:13 pm
Location: Scandinavia

Re: Possible to change yes/no column text?

Post by hpl123 »

lueu wrote: Wed May 31, 2023 10:37 am Hi helpful people!
Is there any way to display something other than yes/no in my yes/no columns? I would like to change the laguage, but setting that in the 'Yes' string for the attribute does not seem to help. I can change it in forms, but not when displaying query results. Adding a picture to clearify what I would like to change.

2023-06-01_10-31-03.png
1+ and this cannot be set in attribute, presentation etc. or locale settings. I do a workaround where I have a plain text attribute where I write (based on checkbox value) what I want too see in queries. I shouldn't have to do this though so this is probably a bug.
Henrik (V8 Developer Ed. - Windows)
lueu
Posts: 89
Joined: Tue Mar 07, 2023 11:49 pm

Re: Possible to change yes/no column text?

Post by lueu »

Thank you for the reply. Let's hope this is a fixable bug so the workaround is not needed.
Thanks anyway for the workaround, nice to know it is a possibility.
joben
Posts: 221
Joined: Wed Nov 06, 2019 9:49 pm
Location: Sweden
Contact:

Re: Possible to change yes/no column text?

Post by joben »

I know this doesn't answer the question properly, but it is possible to display an icon representing yes or no in queries.
This might be a feasible workaround, and in my opinion, looks more nice:
yesno.png
yesno.png (27.19 KiB) Viewed 3514 times
This works by setting the Presentation rules on the attribute level:
yesno1.png
yesno1.png (77.4 KiB) Viewed 3514 times
Then setting the query "Display as" like:
yesno2.png
yesno2.png (113.42 KiB) Viewed 3514 times
Regards, Joakim

Image
lueu
Posts: 89
Joined: Tue Mar 07, 2023 11:49 pm

Re: Possible to change yes/no column text?

Post by lueu »

Thanks, Joben! A nice alternative!
customaware
Posts: 2392
Joined: Mon Jul 02, 2012 12:24 am
Location: Ulaanbaatar, Mongolia

Re: Possible to change yes/no column text?

Post by customaware »

And.... if you you add fa-2X to your css string they look heaps better...

fas fa-check fa-2X greenbutton
fas fa-times fa-2x redbutton

where greenbutton and redbutton are css classes in your css file
Cheers,
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
Image
Post Reply