2022 Developer Survey is open! Take survey.

Drupal Answers is a question and answer site for Drupal developers and administrators. It only takes a minute to sign up.

Sign up to join this community
Anybody can ask a question
Anybody can answer
The best answers are voted up and rise to the top

Explore our Questions

2 votes
4 answers
1k views

Given $form, how to programmatically generate its corresponding $form_state?

1 vote
1 answer
3k views

How to retrieve a select box option and set the field's value to it?

0 votes
1 answer
1k views

How to add markup inside a form radio button div

12 votes
3 answers
21k views

Add link field in custom form

-2 votes
1 answer
17 views

Custom textfield element, different $form_state value and element '#value' value

0 votes
1 answer
549 views

How can I get a default value in a dropdown using form API?

0 votes
2 answers
541 views

How do I enable CkEditor for a textarea form element?

0 votes
1 answer
1k views

How to remove the click event on an Ajaxified form's submit buttons?

2 votes
1 answer
698 views

How to keep URL parameters on subsequent pages after a form is submitted?

1 vote
2 answers
679 views

How can I add a field in Entityform / hook_form_alter

3 votes
3 answers
1k views

Dynamically add input field using #ajax

2 votes
2 answers
865 views

form_set_error() redirects to raw ajax response page

0 votes
1 answer
584 views

Using 'return' with an ajax callback renders an entire page before my content is loaded

0 votes
1 answer
370 views

How to pass theme variables in #theme in a form element?

Browse more Questions