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 14004

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

2 votes

How to delete a form element via ajax?

Adding a value using that code won't actually work since you've only defined one textfield, and thus, only one value will be stored. All the new fields returned will have the same id/name as the first …
TwoD's user avatar
  • 732
2 votes
Accepted

How can I gracefully interrupt an AJAX callback?

That's not directly possible. There is no API in the browser to manually cancel a sent request. All you can do is to register a callback to know when the HTTP response is received, or at least when th …
TwoD's user avatar
  • 732
0 votes

Can you do branching multistep forms in ctools?

There are a few gotchas, which may or may not surface depending how your forms are intended to be used, whether they allow stepping backwards, etc. … All your steps should at least be in $form_info['forms'] so the wizard knows how to load them. …
TwoD's user avatar
  • 732
2 votes

Replaced form AJAX not working

You don't post the code performing the actual AJAX request, so I have to assume it's directly calling an URL returning just the rendered version of the textfield wrapper with id "panorama_titulo_div". …
TwoD's user avatar
  • 732