By horaceho on
Is it possible to set a date's default value relative to another date field preceding it?
For example, in a Content Type, the fields are:
text: Title
date: 1st Interview
date: 2nd Interview
date: Final Interview
I'd like to have:
- "2nd Interview" date defaults to '+7 days' of "1st Interview"
- "Final Interview" date defaults to '+14 days' of "1st Interview"
How can I do that?
Thanks ~
Comments
Probably the easiest way is
Probably the easiest way is to use jquery. Add a listener for the first date field and then set the latter date fields based on that.