103 Posts
Osep45
7 years ago
Topic

Hi, 

How to set on a date field, the live value : next sunday ?

For example : today is 2017-05-24

I want that my field display: 2017-05-28

Is it possible with Seblod ? How ?

Thanks in advance,

Osep45

Get a VIP membership
4229 Posts
Kadministrator
7 years ago
0
Level 1

You can calculate from today, but I'm not sure whether "next sunday" function exists, that would probably require some javascript to do the calculation

103 Posts
Osep45
7 years ago
0
Level 1

Thank you, Klas.

Yes it works !

I have entered "next Sunday" (without quotes) in the "Defaut value", and nothing in the Live value.

Get a VIP membership