1.Is it possible to get the fields in to Conditional fields to maintain dependencies?
2. I have a "field collection" field which is unlimited values filed, containing "start date" and "end date" using date field
i wanted to achieve the following
a) Start date>end date- should give error (validation already existing)
b)Start date= end date -should give error (is not available)
c)since i wanted to have multiple "durations" -validation to prevent overlapping periods can any one help please?

Comments

KarenS’s picture

Status: Active » Postponed (maintainer needs more info)

I have no clue what you are asking. I don't know what you mean by 'conditional fields', there is no such concept in the Date module. I can't tell what you are trying to do.

kaizerking’s picture

when "start date" and "collect end date" are enabled, We have Value and value2 which are not available as fields in conditional fields,If i am using conditional fields to maintain dependencies,These two fields are not available as "fields"in dependent fields list, I wanted to have a check box field to declare period as "current", where "checked" would disable "end date" filed vice-verse.I am not able to do this. I am not sure whether this should be posted in conditional fields issues or here

KarenS’s picture

Project: Date » Conditional Fields
Version: 7.x-2.x-dev » 7.x-3.x-dev
Component: Date API » Code

I don't have any idea how conditional fields works. You need to start there. Moving the issue.

kaizerking’s picture

Thanks

kaizerking’s picture

Status: Postponed (maintainer needs more info) » Active
kaizerking’s picture

In the date module when we have collect end date enabled we have "Value" and "Value2" fields (delta). Can you please make the dependencies for these field (fields?)

giuvax’s picture

I have the same request since I need to enable a field just in the time range between start date and end date.

sprucemoose’s picture

It sounds to me like the Rules module would be the best way to achieve this.

dqd’s picture

Issue summary: View changes
Status: Active » Fixed

Start and end date are just sub parts of the date field as a whole and can't be maintained by CF separately or somewhere in between. Therefor you need to change your setup by using to date fields (start,end).

Apart from that: Thanks for the report and all the efforts in here. But due to inactivity in this issue for some years and because of the upcoming EOL of Drupal 7, I will close this issue on the way by cleaning up the issue queue.

Feel free to re-open as "Needs review" if you found a solution or have a patch to be reported to help others on this outdated version.

If you think this issue or missing feature should be addressed in a newer Drupal core 8 and above compatible version of this project, then please file a new issue to the latest dev.

dqd’s picture

Status: Fixed » Closed (fixed)