Forms are the primary method for obtaining and acting upon user input in Drupal.
0
votes
0answers
39 views
Forms doesn't work (POST crashes) [closed]
Edit (fixed): There where some lines in the .htaccess missing. After copying them from the orginal Drupal .htaccess file into my one the problem was solved!
For some reasons none form on my Drupal ...
0
votes
0answers
15 views
How to display and validate all elements of the user registration form on the front page
I'm working with D6, using several contrib modules and my own theme. The theme has two separate files to differentiate between the front page and any other page: page-front.tpl.php and page.tpl.php, ...
0
votes
0answers
30 views
How to track mailchimp signup form location
Mailchimp has an article that explains how to track signup form locations by adding hidden fields to the mailchimp form.
All well and good, but if you put the form in a Drupal block, the location ...
0
votes
1answer
25 views
Creating a content type that merges fields with its assigned area within the body
I have a requirement to build a content type that has a number of fields and also the body section which is where the html goes. When new content is added using this new content type the user would ...
1
vote
2answers
53 views
Generate a fancy PDF certificate from form?
Anyone have ideas on how to generate a fancy PDF certificate in drupal based on user-supplied form input? Here's an example of what I want to do here:
http://www.infiniteskills.com/cert/01596
This ...
1
vote
1answer
16 views
Validation error on term-reference field when ajax'd option is submitted?
I get the error "Illegal choice" when I submit a form with a multi-select option that was freshly created via ajax. Workflow is like this:
User loads node edit form
User needs to select a ...
0
votes
1answer
17 views
Node Create/Edit Form - Multistep with dynamic fields
Our site has different type of articles. Based on the type selected, the fields displayed to the user varies. The ask is to create a multi-step form and include type field on step 1. Based on the ...
0
votes
1answer
25 views
How do I pass a value from the url to a custom field in the registration form?
I know variations of this question have been asked but I haven't found any with this specific set of characteristics. Also, the only programming language I know is python. I don't know PHP at all.
I ...
0
votes
0answers
11 views
Term Reference Update Event
I Have implemented a term reference field in my custom content type. The widget i am using is hierarchical select. Now when a content type is being created a hierarchical select box is shown, if a ...
0
votes
0answers
9 views
An invalid form control with name is not focusable. error when saving content
I've added a hidden field to the User Profile page, which I set via script. When saving the form, I get the error,
An invalid form control with name='field_map_y[und][0][value]' is not focusable.
...
0
votes
1answer
28 views
Submit handler: Prevent other handlers from running in certain circumstances only
I'm creating a custom module which adds a submit handler to a form. The idea is that it checks whether a hidden "honeytrap" field has been filled in.
If the field has been filled in, a success ...
0
votes
1answer
45 views
When in admin overlay, submitting form over 400 times
I have built a very simple module which just implements a block with a custom form. When submitted, the content is emailed to me. I show this block on the dashboard, and without the admin overlay it ...
0
votes
2answers
32 views
How do I test that a text field in $form_state has been populated by the user?
At the moment I am using the following code.
if (!empty($form_state['values']['my-field']) {
// ...
}
If the user has entered 0 (a valid input in my case) my test will return FALSE. My guess is ...
-1
votes
0answers
17 views
The current user instead of a field in a form
I have a content type "Research assignment" which has several fields including the field "field_user".
I consider editing an object of the type "Research assignment" by any authenticated user.
I ...
0
votes
0answers
17 views
webform personalized survey
Can anyone recommend me, which module to use for a personalized survey?
I was looking into webform and entity_forms. My mission is to send user a link to his survey, in this link there is a id or ...