To keep the default values of the step one form after successfully submitting the step 2 form, then here is an easy way to do this. Just pass the form state values of step 1 form as query parameters to the same page on submitting step 2 form. Set the default values of step 1 form as, first check whether the form_state value is set. If yes, set the default values of step 1 form fields with the form_state values. Else check for URL query parameters that, whether this variable is set. If yes, then the set the default value with that value.
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().
I had a requirement to create webform in multiple environments. Webforms cannot be exported as features. Webform_share module helps to export the webform and then imported the same in my different work environment. The Webform_share module requires webform module. For installation, download and enable the webform_share module.
In one of my project, I have a requirement to show the form elements as a popup window on clicking a menu link. I have created the form using the Drupal webforms. I want to make this webform available as a popup window on click of the corresponding link. Drupal popup module helps to meet this requirement.
In my project I have a requirement to show the form elements as placeholders. Webform Hints module helps to meet my requirement. Webform Hints takes the title of a Webform component and uses it as the placeholder attribute.
In my project I have a requirement to display the error message of webform submissions in a popup window. Webform is a module for creating simple or multi-step forms in Drupal in an easy way. To display the webform in popup is very hard to me. Webform Ajax module helps to meet this requirement. Its is very useful module for single or multi-step forms with pagination's in a popup box.
While dealing with webforms we may need to integrate webform fields to external API or may need to save data to a custom table. In case of webform we don't need to add custom submit handler to deal with submitted data.
Webform module is a perfect solution, if you are looking for a more complex contact form or multiple feedback forms to add to your Drupal 7 website. This module will enable you to create and manage as many forms as you need. Recently, we had a need to create three different feedback forms for a Drupal website. One of the webforms was a contact form to connect with different contact persons of the company where as, another one was to send enquiries about the products and there was a guest book page to leave feedback. Here is how we achieved all these requirements in one shot using the webform module.
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.
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 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 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.