hi,

wanted to know if there is any way a confirmation form (Are you sure? 1)yes 2)no) can be displayed after submitting the form and validating the inputs

Comments

agentrickard’s picture

somebodysysop’s picture

form()

form_validate()

form_submit()
If you call a form from within the submit hook that executes a confirm form, the confirm_form() function doesn't work

form_confirm()
Execute confirm_form() doesn't work.

So, everyone says confirm_form, but I have yet to see how it works in an example other than deleting something. See all the examples here: http://api.drupal.org/api/function/confirm_form/6