Questions tagged [drupal-webform]

The Webform module can be used to create contests, personalized contact forms, or petitions.

The Webform module can be used to create contests, personalized contact forms, or petitions.

339 questions
8
votes
2 answers

How do I apply webform validation in drupal 7?

I have webforms in my drupal 7 website. What I want is to validate my webform fields. The webform contains a phone field which should accept numeric field and should contain 10 numbers only. Is there any module for this or will I have to code for…
harpreet kaur
  • 143
  • 1
  • 3
  • 10
7
votes
5 answers

drupal form alter in webform forms

I know that there is possible to use some functions to alter drupal core forms: hook_form_alter(). Can we use this with Drupal forms that are created with the Webform module?
Mamadou
  • 2,177
  • 5
  • 31
  • 43
5
votes
6 answers

How to remove the submit button from a specific Drupal webform

I'd like to remove the submit button from a specific Drupal webform, is this possible and if so how do I do it? I'd also like to remove the previous button if possible as well from the same form.
jeremy
  • 201
  • 2
  • 5
  • 14
5
votes
4 answers

Hide Webform Title in drupal 7

I have a Webform with various fields. At the time of display, title of the webform also displayed. I want to avoid that title. Is it possible to hide the title? Please help me... This is the webform I created. I want to hide the title 'Contact…
sjkon
  • 633
  • 2
  • 10
  • 24
4
votes
1 answer

Drupal 7 Webform : How to display/hide some fields based on other select option fields

I am using Drupal -7 and webform .. I need to show/hide different fields based on on select option. for eg. select option "Project type" if I select "Project type" as A => I want to display field1, field2 and select-option3 if I select "Project…
rinku
  • 415
  • 2
  • 19
  • 29
4
votes
1 answer

How do I programmatically update an existing submitted webform submission in Drupal?

I am attempting to use PHP in Drupal rules to update the values in submitted webform submissions. I can access and view the data correctly. When I assign a new value to a field, it will even show up correctly if I use: print…
sephiith
  • 1,187
  • 3
  • 23
  • 47
4
votes
3 answers

How and where to write Webform submit hook?

I am new to Drupal(7) and hence need some help for following situations. I have created one Webform(I have other webform too) and now instead of inserting in default webform_submitted_data table, I want for this webfrom to insert into myTable. From…
Rahul M
  • 79
  • 2
  • 4
  • 10
4
votes
1 answer

Drupal 6.x Add More Module - No end to adding more

Simple question for all of you here dealing with Drupal 6.x... With Drupal's Add More module, is there a way to configure my webform so that there is no limit on how many of a specific fields I can add more of? Please see my image for example: For…
bobbiloo
  • 422
  • 5
  • 22
4
votes
1 answer

Making the webform submission results as a link in Drupal 6?

I am a newbie in using Drupal 6 and I am still walking in the dark in terms of module familiarization and module configurations. Lately, I installed the Webform module for my site to be able to let users submit a request. In my Webform, there is a…
Tsukimoto Mitsumasa
  • 541
  • 4
  • 19
  • 42
3
votes
3 answers

Drupal - Surround specific webform elements with a div

as the title describes, I am to style a webform and for that i need to surround specific fields in divs in order to give them their CSS properties and I have no idea how I should go about doing that. I've caught the form with hook_form_alter but no…
magtak
  • 986
  • 1
  • 9
  • 20
3
votes
1 answer

Can I re-order columns in exporting CSV on Drupal 8 Webform Submissions?

Currently, there is a results download feature with webform core module and we can select the columns to include in exporting CSV file. But I couldn't figure it out how can we re-order these columns to show them in exact custom order we require in…
Hasitha Guruge
  • 423
  • 7
  • 9
3
votes
0 answers

How to integrate webform into multi form wizard into drupal 7

I am trying to integrate webform into multiform wizard (CTOOLS MULTISTEP WIZARD) in D7 but its not working, I don't have any idea how to integrate it (I am creating my own multi-form wizard in that i want to integrate webform) the following steps…
3
votes
1 answer

Webform: how to set confirmation message

I'm trying to set a confirmation message on my webform. I'm using the standard redirect to confirmation page option when a form is submitted. I clicked every single link in my webform backend and can't find it anywhere. All search results regarding…
skrln
  • 542
  • 2
  • 8
  • 19
3
votes
1 answer

Drupal 7 manually querying webforms DB tables

I have a webform of 32 components and I am trying to create XML of the submitted data. The form has been filled and submitted just once. $query = db_select('webform_submitted_data', 'wsd'); $query->join('webform_component', 'wc', 'wsd.cid =…
sisko
  • 9,604
  • 20
  • 67
  • 139
3
votes
2 answers

Is there a limit to the number of items that can be added to a Drupal webform?

Drupal: 7.14 Webform: 7.x-3.18+4-dev Currently I have a total of 469 components in a Webform: Select options = 158 Textfield = 115 Number = 73 Fieldset = 64 Textarea = 30 Markup = 28 Date = 1 My problem is that I am now unable to add anymore.
user1467230
1
2 3
22 23