Form redirect and call api

Apr 23, 2013 at 9:11 AM
How do I call the API while submitting the form and redirect the form to another page?