[eluser]theshiftexchange[/eluser]
Hey guys,
How can I solve this issue?
Summary: each user creates an 'event' for a particular day. They are allowed one event per day.
Currently my form runs a callback on the date field, and checks that the date has not been used. Thats pretty simple.
Now I'm trying to add an 'edit' page. The problem is that if I want to allow users to be able to 'change' the date, I need to check the date has not been used
unless it is the same day as was previously selected.
I cant see a way to do this with callbacks - because you can only pass the single variable from the field.
I'm thinking I maybe need to use a hidden field... any ideas?