Posted by sagarmitra on December 16, 2010 at 1:46am
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)?
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
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)