My customer wants a minor animation and I'm following the general pattern from this video but combining it with the latest library from Green Sock to create a simple text block moving up when the visitor scrolls to the copy.
Why is the form id of an exposed views filter always "views_exposed_form"? I have several exposed filters among my views. How am I going to tell the difference between them in hook_form_alter?
My question is more to get a better understanding about this Drupal form, not as much the specifics here. I cleaned it up a bit. I'm trying to figure out what is allowing this form to use the Drupal validation and can I replace it with custom ajax to validate field by field, so it displays the error text below each field rather than how it is now in one error block. Is it necessary to disable the built in validation or just override? So instead of "setMessage" can this be done with callbacks on each field?