Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 28220

Use it for questions about the Form API. Don't use it for entity or entity field forms.

1 vote
0 answers
39 views

Pass value of form field in the url (params/$get) [closed]

I have created a form (with entityform) and wants to pass the value of the first field in the parameters of the url. This value is useful for update the other fields of the form. Is there a method to …
user28220's user avatar
  • 109
0 votes
1 answer
130 views

Alter the wrapper of radios buttons in a custom module

In a custom module, I have created a custom form. In this form, I need to alter the markup of the radio buttons wrapper and add a new attribute. After reading many posts and testing, I can alter all t …
user28220's user avatar
  • 109
0 votes
1 answer
382 views

Table in custom form + empty values in form_state

In a custom form I created a table element: // Table results. $form['table'] = [ '#type' => 'table', '#header' => $header, '#rows' => $rows, '#attributes' => ['id' => 'table-resul …
user28220's user avatar
  • 109