Skip to main content
20 events
when toggle format what by license comment
Apr 22, 2019 at 18:01 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Dec 15, 2018 at 16:02 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Nov 6, 2018 at 12:00 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Oct 3, 2018 at 5:01 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Sep 1, 2018 at 10:00 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Jul 30, 2018 at 16:00 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Jun 28, 2018 at 16:10 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Jun 25, 2015 at 8:54 answer added Mitch timeline score: 0
Jun 22, 2015 at 3:00 answer added Citricguy timeline score: 1
Jun 22, 2015 at 2:09 comment added Citricguy Maybe post to something like github or phpfiddle.org and add the link to your post. This would help other users get involved as well to see the full code.
Jun 21, 2015 at 21:01 comment added Mitch can i send you my code by email please ?
Jun 21, 2015 at 21:00 comment added Mitch Thank you for helpin me,i have a $form (tableselect) that contains many records from database, i'm trying to return a $form (tableselect) after clicking choosing on a list, and submit my choice (submit button executes a db query to filter records from database with a condition) i'm using ajax callback on the submit button. now when i click on the button, the table select change but it's not showing any record. do you wanna see my "new" code ?
Jun 21, 2015 at 19:05 comment added Citricguy Also, regarding ajax, you might need to use $form_state['rebuild'] = TRUE; in the callback to have the $form element rebuilt. (See: drupal.stackexchange.com/questions/40263/…)
Jun 21, 2015 at 19:03 comment added Citricguy I'm having a bit of trouble following the code, but I believe you're trying to modify the $form array in the submit callback. This is not passed by reference, and is not being returned. You may need to place it into $form_state which is passed by reference and then force a form reload with $form_state['rebuild'] = TRUE; until your submit function is indeed complete. If you will simplify your example code a bit I'll try to debug with you. At a glance however, I would think the Views module would be very capable here.
Jun 21, 2015 at 14:49 comment added Mitch i'm working with ajax, i've added a callback + wrapper to the submit button, the tableselect seems to change BUT only : #header,#empty change, the #options dont change, any solution please ?
Jun 21, 2015 at 7:44 comment added Mitch Views module is used for front i think ? maybe i'm wrong, cause i'm working on a backoffice of a web site so i've to create a module to deal with books
Jun 21, 2015 at 7:23 comment added Mitch Hello & thanks for helpin. if i want to use drupal_rebuild_form, i'm supposed to be using ajax on my submit button right ?
Jun 21, 2015 at 1:50 comment added Citricguy Any reason you are not using the Views module? See also: api.drupal.org/api/drupal/includes!form.inc/function/…
Jun 20, 2015 at 13:19 review First posts
Jun 20, 2015 at 14:35
Jun 20, 2015 at 13:17 history asked Mitch CC BY-SA 3.0