By CWitt-1 on
I was told to
"create a custom module for your site, and write the right hook to modify a form. You have to write a hook_form_alter() function, grab drigg's form, and modify it before it gets sent to the user."
However, I am quite lost in how to do this. Can anyone point me in the right direction?
Thanks in advance!
Comments
The support in here in the
The support in here in the Module Development forum is basically non-existant. I will attempt to offer what little assistance I can give...
You basically are talking about altering a form before it's sent to a user and then getting back the info from the altered form. This read:
http://drupal.org/node/58689
Talks about using hook_form_alter() but like a lot of the Drupal documentation doesn't seem to offer any start to finish examples of HOW to use it. So I continued to dig and came across this:
http://drupal.org/node/227416
Which is a bug report but shows someones example of attempting to use it. That might give you an idea of what to do perhaps to get started. Best of luck to you!
Thank you for your reply and
Thank you for your reply and guidance, I will now attempt this.