Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
6680 มุมมอง

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 


อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
5
เม.ย. 20
7882
0
ก.พ. 17
4891
ACTIVATE DEVELOPER MODE แก้ไขแล้ว
1
ส.ค. 24
3684
3
ต.ค. 23
8792
1
ก.ย. 23
3321