WebForm
more_horiz
close

on 18th November 2015 / by emily.mathew
To keep the default values of the step one form after successfully submitting the step 2 form, here is an easy way. 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 the URL query parameters, whether this variable is set. If yes, then set the default value with that value. Drupal WebForm Drupal Planet Leave a reply Your email address will not be published. Required fields are marker *
more_horiz
close

on 24th August 2015 / by sarika.k
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(). Drupal WebForm Drupal Planet Leave a reply Your email address will not be published. Required fields are marker *
more_horiz
close

on 06th August 2015 / by sarika.k
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. WebForm Drupal 7 Leave a reply Your email address will not be published. Required fields are marker *
more_horiz
close

on 06th August 2015 / by sarika.k
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. Drupal 7 WebForm Leave a reply Your email address will not be published. Required fields are marker *
more_horiz
close

on 05th August 2015 / by sarika.k
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. WebForm Drupal 7 Leave a reply Your email address will not be published. Required fields are marker *
more_horiz
close

on 04th August 2015 / by sarika.k
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. WebForm Drupal 7 Leave a reply Your email address will not be published. Required fields are marker *
more_horiz
close

on 03rd August 2015 / by deepak.r
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. Drupal 7 WebForm Leave a reply Your email address will not be published. Required fields are marker * Josh Valdivieso (not verified) access_time 20 Aug 2019 - 18:08 Great read, thanks for the info! KOMOKO Ltd (not verified) access_time 20 Aug 2019 - 18:08 Thanks for the info. Couple of things: In the latest version of webform (4.x) you don't need the ['value'], i.e. $values['value'][0]; should be $values[0]; Also you need to be careful selecting [0] as some fields may be multi-value arrays. You would be safe assigning like this: $fields[$labels[$key]] = $values; And the iterate through the $fields array to perform any logic. Add new comment
more_horiz
close

on 05th March 2015 / by deepa.n
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. Drupal Drupal 7 WebForm Leave a reply Your email address will not be published. Required fields are marker *
more_horiz
close

on 31st May 2013 / by prasanna.tv
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 Web Development Drupal PHP WebForm Leave a reply Your email address will not be published. Required fields are marker *