In my form I have several fields that are required. I also have Cancel submit button, which should simply redirect to some page. But when I press Cancel the redirection doesn’t happen cause it tries to validate those fields and validation fails.
Is there a way to turn off validation just when user clicks Cancel button?
I'm making a website for my sportsclub (track and field). I've created a page with php where users can check the club- and personal records. It's a form where the user can choose some variables (personal or clubrecords, male/female, search on name, etc). I don't use a redirect because a user may look for different records. It's working fine except for the problem that the output comes before the form. The form should stay on top of the output.
I'm looking for recommendations on the simplest way to handle updates required when a user changes their email address.
I use the Mailman Manager module (mailman_manager) to manage newsletter(s), and also the third-party package Amember ($$, not a module) to manage memberships. Both the Mailman & Amember email entries should be updated automatically when a user changes their email address in Drupal.
What would be the simplest way to approach the updates?
- A custom module
- The Actions &/or workflow modules
- Plan C (TBD!)
I am developing a new module for Microformats, and so far have managed to complete stage 1.
What it does is when a user creates or updates their profile it takes their $user->email and a custom profile field called profile_homepage, and generates a MicroID hash like this: