This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

How to turn off validation for particular submit?

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?

Thanx for any help :-)

form output under original form

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.

Actions after user changes email - Best Practise?

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!)

How do I catch a node before rendering to alter it?

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:

form input as date-time, calendar

Hi,

I have an input field in a form where user have to select a datetime, is there a way to include a calendar (popup?).

regards

Sliding Menu

This is my work log for Sliding Menu

- Started Dec 1st
- early beta

check it out - http://www.thethisorthat.com/

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions