Hi i'm here from another question.
I am created a form based on a node content type. I have added (with a form alter) a button which clicked perform an action to another form. In this second form i would to render the same fields in the previous form as hidden.
My goal is create a ping pong from a form to another and back without lost the values.
Can i do this easy?

Thanks a lot for the patience

Comments

Zyava’s picture

drupal_retrieve_form($form_id) - Retrieves the structured array that defines a given form.

And then in that array change fields type to hidden and do all what you want...

fprotano@yahoo.com’s picture

I don't though to this solution ...
thanks a lot