Closed (fixed)
Project:
Rules Forms Support
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Jan 2012 at 09:21 UTC
Updated:
6 Feb 2012 at 12:53 UTC
If you create one date field with a start and end value, there's no way to distinguish between the two when setting the default value for the field.
There's only an element ID on the form for my_date_field[0], but there's my_date_field[0][value] and my_date_field[0][value2]. However, only my_date_field[0] seems to have any effect when I fill it in on the rule form.
PS: We're using this on Drupal 6 but I can't select version 6 in the bug report form on drupal.org.
Comments
Comment #1
jordojuice commented> We're using this on Drupal 6 but I can't select version 6 in the bug report form on drupal.org.
Ahh... So, the Rules Forms Support module for Drupal 6.x is still maintained within the Rules core package. Open an issue in the Rules issue queue and hopefully someone on their queue team will get a hold of it. Also, link to that issue here and I can try to look into it as I'm very familiar with the 6.x version of Rules Forms.
I know it's a little confusing: Rules Forms Support originally shipped with Rules 6.x-1.x, but fago intends to create a replacement for Rules 7 that is more entity based, so I ported the original Rules Forms module to Drupal 7 and placed it in a separate project. So, for now Rules Forms Support 6.x-1.x issues are still handled in the Rules queue, though I like to help out where I can as the maintainer of this port. I just want to make sure this issue gets in their queue.
Comment #2
Peter Bex commentedThanks for the hint! I posted an issue there, see #1425976: Can't indicate end date for a date field
Comment #3
jordojuice commented