Can I have a form input and the table(list) of entries on the same page?

thanks

Comments

Milena’s picture

Yes, you can.

Just output concatenated theme functions - one for form and one for table.
Or create a page that shows a form and a block with table, add the block to specific page with proper visibility options.

abhishek sawant’s picture

Check below comment link where form has been created and listed below the results in table format on the same page.

http://drupal.org/node/1284526#comment-5011558

(NOTE : The code was written for drupal 6, you need to follow http://api.drupal.org/api/drupal/developer--topics--forms_api_reference.... api's for drupal 7)

Abhishek Sawant
Drupal Developer

chaloum’s picture

Thanks I'll have a look at it.

chaloum’s picture

Abhishek

I Think I had tried the idea in the first link, I'm going to try that again as it looks like the way to do it.