Friday, April 11, 2008

Got a lot of things working

So I'm thinking it was a good move to start over since now I have a lot of things working. Form fields are now prepopulated with previously saved items on the case of an edit, and it seems like so far everything is working. 

I still need to find a way to validate that at least one track has been added and if a zip code was added, I should validate that too. It wouldn't be so bad if dynamic_subform hadn't broken hook_validate! I think what is happening is that Drupal validates the $form_values once per session but since the mixcd module uses AHAH to dynamically update parts of the page, those parts don't get revalidated.

No comments: