I am using a multipart form in Drupal 5.2 in a module. I have set the #multistep=true and #redirect=false. Everything works fine except for the last step when after submitting the data I need to redirect the user to another page I find that I am not able to make the hook_submit function to return any value.
I understand that this is because of setting #redirect to false. How to overcome this ?
I have a field that I don't want to be repopulated with the posted data when validation fails.
I've tried using the form_set_value function but it doesn't work (I guess it only changes the form_values for the submit function?).
Is there a way to do this?
Scenario: I have a registration form with a lot of fields. I enter some values that pass validation, but in the submit function the registration fails (for example because an external DB refused to accept the registration).
Is there any way to have the form API fill the form values back from the posted values, like it does for failed validation?
After add-on modules deleted using ftp, I checked my database and found my deleted modules database table still there. Any best method to properly delete modules included database table?