How to personalise 'thank you' message?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Bluenose
    New Member
    • Apr 2012
    • 56

    How to personalise 'thank you' message?

    Hello

    I have the following as part of my Contact.aspx.vb file:

    Code:
    Protected Sub SendEmail_Click(sender As Object, e As System.EventArgs)
    in Visual Studio (2013):

    Code:
      pnlFormFields.Visible = False
            pnlThankYouMessage.Visible = True
    
        End Sub
    When the user completes the form fields in my Contact.aspx page which has this:

    Code:
    <asp:Panel ID="pnlThankYouMessage" runat="server" CssClass="panel" Visible="False">
    
              Thank you. Your message has been sent.
    
              </asp:Panel>
    and presses 'Send', the 'Thank you message appears. Without redirecting the user to another page, how could I
    personalise the 'Thank you' messsage, so that it says 'Thank you + personal name' (the name typed in the form's name field), please?

    Thank you.
Working...