diff --git a/ReleaseNotes_1.3.0.htm b/ReleaseNotes_1.3.0.htm
index 4c023e0..6cea57d 100644
--- a/ReleaseNotes_1.3.0.htm
+++ b/ReleaseNotes_1.3.0.htm
@@ -1,6 +1,7 @@
Change Log
- Added CAPTCHA protection. By default, there are two invisible protections, while the standard CAPTCHA can be turned on via the settings.
+ - Clear friend's info and message after send an email, to prep for the next.
Known Issues
diff --git a/ViewTellAFriend.ascx.cs b/ViewTellAFriend.ascx.cs
index ec14cee..cbb9cbe 100644
--- a/ViewTellAFriend.ascx.cs
+++ b/ViewTellAFriend.ascx.cs
@@ -158,6 +158,15 @@ private void SubmitButton_Click(object sender, EventArgs e)
var successfullySent = string.IsNullOrEmpty(response);
this.SuccessPanel.Visible = successfullySent;
this.ErrorPanel.Visible = !successfullySent;
+
+ if (!successfullySent)
+ {
+ return;
+ }
+
+ this.FriendNameTextBox.Text = string.Empty;
+ this.FriendsEmailTextBox.Text = string.Empty;
+ this.MessageTextBox.Text = string.Empty;
}
catch (Exception exc)
{