Hai,
I am Naveen & i has been working with drupal for last 4 months. Now i have created a new module to add list and edit objects and it work fine. Now i am developing a search option to filter objects from database and the search works fine. But the problem is that, for a simple search option I got 7 input boxes and for advance search I got 10 input boxes. So i want to display these input in two rows not like drupal default setting of displaying in a single column.

I have tried (1) "Modifying checkboxes to display in multiple columns" in http://drupal.org/node/41936 where i have replaced checkbox with select and passed objects from database as different options for the combo box, but it doesn't work. (2) 'Prefix - suffix' for the 'fieldset' giving '#prefix' => '

. (3) Even tried to call from multiple functions where submit button doesn't work(only works for one form, my mistake).(4) I was able to create it by directly coding it as html ans passing it as a string to 'fieldset', but it was not a drupal coding standard.

With all these I even have to call an ajax function to re-produce two select boxes and the result of the search, objects is fetched from database and each object has three different groups of informations which are displayed in three different 'fieldset' and the whole result need to be paginated.

Does anybody knows how to solve these problems or am I asking the wrong questions, but I still wait for a replay. Thanks for your help in advance.

Comments

krishnarp’s picture

hai Naveen,
check this link
http://drupal.org/node/80270
Use prefix and suffix to generate forms inside table

naveenpl’s picture

Thanks krishnarp. It works fine.

rconstantine’s picture

Status: Active » Closed (fixed)