The below example script clears the current response (using responsereset) and allows the respondent to begin again (using jumptopage).
To test out this script provide some data to one or more of the questions and answer "Yes" to the question "Would you like to clear this response and start over?" Upon clicking Next you will be returned to this page with the data cleared out!
If you choose "No" you will proceed to the Thank You page.
Example Script
%%doover = sgapiGetValue(7);
if (%%doover == "Yes")
{
sgapiResponseReset();
sgapiJumpToPage(1);
}