Hi all,
ok so I'm just getting back into Drupal since working with D7 (and previous versions) many years ago and I'm loving some of the new additions and ways of doing things. I have been looking at ECA and am currently trying to establish a way to create some dynamic date fields... so this is the setup:
I have a Boolean (Toggle if the state is currently active or retired) and 2 date/year (using the year module) fields. I have managed to get ECA working so that if the Boolean field is set to active the 2nd year field (End Date) is hidden and if the state is set to retired then the 2nd date field (End date) is visible and required. The 1st field (Start date) is always visible and required. I have configured both fields so that their max value cannot exceed the current year (now) but what I would love to do is have the 2nd fields values restricted so you cant set any lower than the date entered into the 1st year field as it wouldn't make sense for an end to be complete before the start. has anyone achieved this with ECA? If so could you give me a run down on the best way to tackle this please. :-)
Thanks all