Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
6619 Vues

Hi , i want ask you if it is possible to create(add) a calculated field just from developer mode into your model

for example create a field called duration 

duration = start_date - expiration_date 


Avatar
Ignorer
Meilleure réponse

Hi,

You can do it from the front-end after activating the developer mode, You have to Navigate to Settings -> Technical -> Database Structure -> Fields, search your field there and you can set the compute function over there.




Please see the last part of the video and see how it is done: https://www.youtube.com/watch?v=0qPVrLoIiOM

Thanks

Avatar
Ignorer
Publications associées Réponses Vues Activité
5
avr. 20
7827
0
févr. 17
4858
1
août 24
3475
3
oct. 23
8655
1
sept. 23
3252