In one of my Drupal projects, I had a requirement to submit data from a webform to an external application. hook_webform_submission_insert() helps to meet my requirement. In your custom module, call the hook function hook_webform_submission_insert().
WebForm
Webform is a helpful module that enables you to submit information such as contact forms, surveys etc. It is easy to configure webform in a drupal site. Now, what about displaying a webform inside a colorbox? Although it is easy to install colorbox module and write custom code to display webform, we also have to effectively handle form submission and validation errors. However, there is an easy way in drupal7 to display a webform inside a colorbox.
Whenever you need to create a contact/feedback form in drupal, everyone will be thinking of using "Webform" module. Using webforms to do so, is a good choice. Normally, the forms created using webform module are displayed as pages. There may be certain situations, where you need to display these as "blocks". If you need to know how to display webform as a block, read on.
If you have a webform with you, that you have already created, by adding the required fields, then follow the below steps:
Webform is a Drupal module that can help webmasters create submission forms like survey forms, contest forms, contact us form etc without any custom programming. Usually webform submissions will result in the data being inserted as a new row into table 'webform_submitted_data'. But our client requirement was to update an existing submitted data from the table 'webform_submitted_data'. If you want to know how to update an existing webform submission then continue reading
A few Drupal users wanted to know how to increase the size of a selectbox in a Webform. If you are faced with the same question with a Webform in your Drupal site then read on to know the possible workarounds.
A handful of Drupal users were complaining that the Webform Text area size cannot be changed even after altering the value in the Width Setting field. If you are facing the same scenario with Drupal webform in your Drupal site then read on to know the possible solution.
A lot of Drupal 6 users have encountered a situation in their Drupal site in which the Webform components were not visible after upgrading from 3.2. If you are facing the same situation in your Drupal site then read on to know the solution.
A lot of Drupal users were encountering "Undefined index: webform_client_form_112 in drupal_retrieve_form() (line 738 of /****/html/includes/form.inc)" on their Drupal site and the Webform module remained hidden until the cache was cleared. If you are facing the same issue with Drupal Webform in your Drupal site then read on to find out the solution.
Although the cause has not yet be determined it would likely be a conflict with another module in your site. Here is the workaround used by a Drupal user
A lot of Drupal users wanted to know how to add custom validation/submit code to a Webform. If you are faced with the same question with Webform in your Drupal site then read on to know the details.
A few Drupal users wanted to know how to grant users access to view Webform submissions rather than allowing only the admin user to access them. If you are faced with the same perplexing question in your Drupal site then read on to find out the solution.
A few Drupal users wanted to know how to limit select list submissions in a Webform. If you are faced with the same question with Webforms in your Drupal site then read on to find out more.
A Drupal user wanted to know how to access '/node/%nid/webform/components' in panels. If you are facing the same question in your Drupal site with regard to the Webform module then read on to find out the possible solutions.
A number of Drupal users have faced a situation where they were unable to open the collapsible fieldsets in the Advanced settings of the Webform module. If you are facing the same situation in your Drupal site then read on to find out the solution.
A few Drupal users wanted to know how to make checkboxes in a Webform remain selected by default. If you are facing the same issue in your Drupal site then read on to find out the solution.
A lot of Drupal users have faced a situation where the Drupal Webform module does not add new form components. If you are facing the same scenario in your Drupal site then read on to find out the solution.
A lot of Drupal users wanted to know how to display only the non empty fields in the Webform email. If you want to get the answer to the same question regarding the Webform module in your Drupal site then read on to find out the solution.
A number of Drupal users were frequently encountering a situation where the Webform module they had installed in their Drupal site was not sending e-mails. If you are facing the same scenario with Webform in your Drupal site then read on to find out more.
A Drupal user encountered an unexpected Access Denied error in a Webform. If you are faced with the same question with the Drupal Webform module in your Drupal website then read on to get the details.
A Drupal user wanted to how to position the submit button uniquely for two different Webforms. If you are faced with the same question with the Drupal Webform module in your Drupal website then read on to get the details.
A few Drupal users have encountered a "You may not submit another entry at this time" error message when using the Drupal Webform module. If you are faced with the same scenario in your Drupal website then read on to get the details.