0

I am developing a module which requires an administrator form.The admin will enter some settings data which will be saved in database.Then i will use these settings to display information to the website users depending on the settings chosen by admin.

So for administrator screen i need the form to be displayed like this

HEADING_ONE HEADING_TWO HEADING_THREE HEADING_FOUR
TEXTFIELD_ONE TEXTFIELD_TWO TEXTFIELD_THREE TEXTFIELD_FOUR

I need to have a table like structure. How can this be done?

1 Answer 1

1

You can make use of system_settings_form to make admin form and theme_table to make a table output.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.