How to populate form field after submit event of a drupal form ?

Events happening in the community are now at Drupal community events on www.drupal.org.
sagarmitra's picture

Can anyone give a working example of how to populate a form field after a submit event in drupal?
How can it be done using drupal_execute($form_id,$form_state)?

Comments

Not sure if you are still

soyarma's picture

Not sure if you are still interested in this, but could you provide a bit more info? If the form has been submitted, I can imagine you wanting to do a lot of things with the data, but populating a field (I assume for display) after submit seems odd.

Technically you could add a 2nd submit function and then do your post-submit actions there (or just call it from your first submit function)

India

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: