Announcement

Collapse
No announcement yet.

New Option +21 Month in Date field

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • New Option +21 Month in Date field

    Hello,

    I can not find the setting to fill a field automatically. Here in the example I would like that the date field +21 months is filled automatically. I do not find the setting to be an extra datetime \ addMonths function. maximum is 1 year but i need + 21 Month

  • #2
    Hello
    Select +11 months, save, open custom/Espo/Custom/Resources/metadata/entityDefs/{YourEntity}.json, replace 11 with 21 in your field default option

    Comment


    • #3
      ok and the same with 2 years ?

      Comment


      • #4
        yes
        javascript: return this.dateTime.getDateShiftedFromToday(2, 'years');

        Comment


        • #5
          ok Thanks :-)

          Comment

          Working...
          X