TIPS - Custom fields and the law of relativity
Let's say you want to add a calendar custom field for some event (business, party, meeting)
and you want to have a default datetime for the event that is let's say 3 days from now.
The start date is now.For just 3 days it seems easy to calculate in your head,
but what if you don't want to bother do that and rather say something like:
Hey Joomla! I wanna 3 days from now please. Can you do that? Sure.
- Create two custom fields of type calendar: start-date and end-date
- Set default for start date by typing now
- Set default for en d date by typing now +3 days
That's it change and experiment with other values it should work.