Setting up a contact us page

1.3.5

Ok, so here is the deal. I am trying to set up a contact us page that submits the contact information as a lead in sugarcrm. Has anybody had any experience with this?



I created a new page, and added the html code and everything shows up good. When I hit the submit button, the lead is sucessfully created in my sugarcrm, but the redirect does not go back to the home page of the cs-cart website. Instead, it goes to the login page of my sugar installation.



Any thoughts?