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
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
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 user 19722

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

1
vote
1answer
I have a problem using #limit_validation_errors for a submit button on which I dont want all the validations to run. Here's my custom submit button : $form['actions']['draft'] = array( '#type' = …
asked Oct 13 '14 by Pratip Ghosh
0
votes
1answer
I want to render a form element like this: <div class="form-group clearfix"> <label>Title: <span class="red">*</span></label> <div class="pull-left"> <input type="text" placeholder="Title"> …
asked Jul 15 '14 by Pratip Ghosh
1
vote
1answer
Is there a way to disable the past dates in the date pop-up while using the date combo form api? Specifically, I have a date type field in a content type, on which I want to do this. Help appreciated …
asked Oct 6 '14 by Pratip Ghosh
0
votes
0answers
I find that in Drupal 8 we can specify the submit/validate callbacks as objects. So I was wondering, if we are form-altering a certain form, how do we specify the submit callback as an object? Like i …
asked Jul 11 '18 by Pratip Ghosh
0
votes
1answer
Can we show the result summary like "Displaying X to Y of Z records" while using the "table" or "tableselect" themes? I mean just the thing we do in views header/footer using the "Global: Result summa …
asked Oct 21 '14 by Pratip Ghosh
1
vote
1answer
I recently found that unlike Drupal 7, D8 has a different form id for addition and edit of nodes. Is there a specific reason for that? Because this makes the hook_form_FORM_ID_alter() less granular as …
asked Aug 3 '18 by Pratip Ghosh