Search Results
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 |
Use it for questions about the Form API. Don't use it for entity or entity field forms.
0
votes
1
answer
363
views
Save values after add more ajax in form api - field name issue
I've created a form using Form API and AJAX for an add more button, but I think I have problems assigning names to the new ajax fields in the loops, cause when I try to insert my data into my database …
1
vote
Save values after add more ajax in form api - field name issue
I was having problems with the fieldset, since it was set to #tree. The submit handler should look like this:
function main_form_form_submit($form, &$form_state) {
$film_id = db_insert('film_main') …
1
vote
0
answers
81
views
Ajax add more implementation of several buttons - undefined index problem
I want to set a custom form with multiple "add more" buttons in Drupal 7. For now I'm trying with 2, but it doesn't work, I get: "Notice: Undefined index: main_film_tab in custom_registration_ajax_but …