Instead of directing a user to another page, I have been working on status messages to trigger when my form has been submitted. I’ve got my form coded to work so it will display a “sending” and a “sent” message after the user clicks submit on the form. I was able to verify that the “sending” message will show up; however, I can’t verify that the “sent” message will. The form never seems to reach the “success” state despite the form submitting the information properly. I’ve coded to the specifications for how it should be done according to Marketo’s documentation (http://developers.marketo.com/documentation/websites/forms-2-0/).
Any thoughts on how I can trigger my "sent" message based on the above?