Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By deepak_mishra on
How to call a multiple submit handler Please provide a code with description and example
Comments
<?php$form['#submit'] = array
Add n number of submit handlers using below code -
Thank alot Hemant i will try with these code and let you know it
Thank alot Hemant i will try with these code and let you know its working or not
Push to the #submit array
Similar to @Jaypan's first comment, this worked for me: