I have created a form in webform and altered the form using Drupalhook alter form. It is working fine. But when I trying to edit already inserted results in webform submission, I am not able to alter form using Drupal hook form alter function.
can anyone please help me to solve this problem?
Related
Sorry in advance if this question seems naïve.
I'm currently trying to configure a logic app that triggers based on a form being submitted via Microsoft Forms.
This form is located in one of my organizations groups (which my user has access to). When attempting to create the trigger the only forms I can see in the dropdown are ones that I created myself and are under My Forms in microsoft forms.
I'm unsure of the steps to make the form visible / available so I can create a trigger for it. Any help would be appreciated. FYI the logic app is going to be used to create a work item based on the form submission.
Ok I found the answer, not sure why I didn't catch this the first time I read this.
I want to add a validation to my webform where, the webform should accept email id once. If the user provides same email id again a message should be displayed saying "mail id already exist". Any go using web form validation module? Please give me suggestions.
If you are using the Webform module. Then do the following:
Add a field of type "E-mail"
Under the edited section of this field there is a section called "Validation" one of the options for this validation is "Unique"
I'm trying to create a questionnaire using Webform 3.18 in Drupal 7. However, when I create the form, I cannot see any form fields to add to it. I cannot figure out what to do. Anybody has any suggestions? I am also attaching a screenshot.
Ok so I figured it out. A module called 'Form builder Webform UI" was enabled which was causing the problem. Disabling it fixed things.
I my case are version of Form builder and Webform. if is used Form Builder 7.x-1.6 and Webform 7.x-4.2 the symptoms are as is indicated here. If is used Webform 7.x-4.1 or 7.x-3.21 and Form Builder 7.x-1.5 (does not work with 7.x-1.6) the things works ok. Seems could be related with https://www.drupal.org/node/2383285
I've got a form that's being generated using the Form API. There is a fieldset that contains several text fields. What I need to do is have a link or button that a user clicks if they want to add a duplicate of that fieldset to the form so they can add another set of similar information to the form. This is to essentially allow them to add multiple records without having to add each record individually. Is there a good way to go about adding this kind of functionality using the Forms API in Drupal 7?
There's a good example of this in the examples module package:
http://api.drupal.org/api/examples/ajax_example%21ajax_example_graceful_degradation.inc/function/ajax_example_add_more/7
It's a little complex, but that is very well documented, so you should be able to follow along.
You'll want to look at the entire ajax_example module (part of http://drupal.org/project/examples) for the relevant menu callbacks as well.
I am using drupal 7 web form module.I want to create a form with a table having text fields.Can any one help me to do this.Is there any particular module available in drupal7 to customize a form to create a table
Use the Fieldset type to create a webform table component