need advise about convert list value

samani

Member
hi
i create an individual element from date.
now i want convert it when it show in the list. where i need to change code?
you can figure out i want show something other converted value of real value saved in database...i understand that i can use OnLoadData in list plugin but i want standalove work in my custom element. is there any way?
 
Samani,
I'm afraid you did not provide enough information. What do you mean by "convert?" What are you converting it to?
Do you mean that you just want to display the date in a different format?
For instance, do you want to display the date 2020-04-18 as April-18-2020?
If that is all, you can control the format in the date element itself. You can set it for lists or forms independently. See the attached screen shot.
date format.png
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top