98 Posts
Edwin
6 years ago
2
Topic

Hello Sebloders

I have searched the forum but am unable to find what I am looking for. Maybe I did see it somewhere, in the old V2 forum perhaps. Anyway, I want when the user submit content to my classifieds, the set publish up date must be 30 days. This must be preset. Nobody chooses the time. It is automatically set to 30 days when the user submits the form.

Thank you

Get a VIP membership
1283 Posts
Bucklash
6 years ago
1
Level 1

Hi

So what have you tried so far?

Have you tried php' methods in beforerender or beforestore fields?

http://php.net/manual/en/datetime.add.php

What about in a calendar field based on these posts:

https://www.seblod.com/community/forums/fields-plug-ins/fields-date-birthday-old

https://www.seblod.com/resources/tutorials/set-calendar-to-today-or-calculate-from-today

98 Posts
Edwin
6 years ago
0
Level 2

@Bucklash

Sorry I have been away for a while. I will try all your suggestions and see what works. Thank you very much.

Ed

Get a VIP membership