Showing form data after submit

bim11

New Member
I have a form with a submit button and a handler that stores data in the database. Problem is when the form is submitted, all data is cleared from the input fields. Is there a way to still show them after submit? What changes do I need to make to my form_submit function?\[code\]function mymodule_form_submit($form, &$form_state) { //how to retain the input in the form}\[/code\]I'm looking for the most "drupalish" way to get this done?
 
Back
Top