Hi,

I have created a small module where in I am using $form to create a form and add it to a block. This form has action attribute set to some url(xyz) where xyz is handled as a menu callback in another module. Also, the #method is set to post.

My query is, how can I access form data in page callback (xyz).

Comments

Using form #action with #method post

Please Try $_POST function to retrieve the data from the form

nobody click here