I am shooting here but have you tried changing: @ function custom_form_alter --> to @ function get_user_login_form_alter --> </ryan> On Wed, May 19, 2010 at 8:04 PM, Ben DJ <bendj095124367913213465@gmail.com>wrote:
On Wed, May 19, 2010 at 5:43 PM, Lee Rowlands <leerowlands@rowlands-bcs.com> wrote:
Hi ben In which case you are looking at a multi-step form again I'm trying to think of a good example to refer you to but are coming up blank :-(
np! appreciated :-)
as 'flexible' as Drupal is, I find the same lack of 'real world' examples for anything but the simplest matters ...
"Pro Drupal Development" sums it up nicely:
"If you come from a background where you have created your own forms directly in HTML, you may find Drupal’s approach a bit baffling at first."
Imo -- amen!
In DIY HTML/PHP, 'this' is all trivial.
In Drupal,
Creating a new form with Webform is trivial. Creating a new form programatically via module takes a bit of reading-up.. Altering a core-form is pretty straightforward.
Building a non-standard workflow around core forms, using Drupal internals and 3rd party module extension is ... a bit challenging.
Trying to contact the developers whose modules I'm trying to understand/extend has been less than fruitful, receiving a sometimes cool reception ... though I _have_ received offers to take my money for paid consulting ;-)
This list, and Pro Drupal have been the best help so far.
Cheers,
Ben