I'm setting up a registration site for online courses, and I setup a date attribute for student's to enter their desired start date. I'm using the date module for cck on either fields, and I'm wondering if there's anyway to do the same thing for an attribute field. Does anyone know? I'd rather not have users just entering free form dates.
The attribute system was only designed to handle selecting options from a list. Having a textfield when there weren't any options was more of an afterthought than a design goal. Dealing with complex structured data like dates is just beyond what it can deal with. It might be possible for a module to change the form element type to 'date', but it would then have format it into a flat string before it gets added to the cart, and I'm not sure that's possible with the way form_alter works.
As far as I get you, you offer a selection of possible dates the students ought to pick from and this can EASILY be done without cck dates, but by ubercart attributes. You need to install the inventory module contribution here from the site and then you have seats for each date attribute by a new SKU number!! so, now ubercart 101 can be taken on date1, 2, 3, 4, and each still having x free seats ...
I'm setting up a registration site for online courses, and I setup a date attribute for student's to enter their desired start date. I'm using the date module for cck on either fields, and I'm wondering if there's anyway to do the same thing for an attribute field. Does anyone know? I'd rather not have users just entering free form dates.
Did you find a solution to this?
This may provide you a date attribute....
http://drupal.org/project/uc_attribute_cck
jwant
Hi,
I tryed to use this interesting module. But when making a product with a special price for a special dtae, you are not allowed to choose for the date. Dates are neither attributes nor options, just informations.
Using dates as attributes or options seems to be a "3 legs duck". 

