In This Article:

    Clean up error messages

    In This Article:

      Background

      When a donor forgets to provide a required field in a donation page, the result is a truly ugly set of error messages.

      Donate___Aid_for_Africa.png

      This article provides some tools that will transform the ugly error block into something a lot easier to read and use. When we're done, the error messages will look like this.

      Donate___Aid_for_Africa_2_.png

      The best part is that you can use CSS (style) rules to change the way everything looks.

      Installation

      1. Edit the template for the donation page(s).
      2. Use the browser's search tool to locate the </body> tag.
      3. Insert a blank line before the </body> tag.
      4. Click here to see the page where the solution lives.
      5. Locate and click on the 'Raw 'button. A window containing just the solution will appear.
      6. Copy the contents of the window and close it.
      7. Return to the template editor.
      8. Paste the copied text into the newly inserted line in the template.
      9. Save the template.
      10. Test by opening a donation that that uses the template that you just modified. Click the Submit button and the error messages should look like the second image (above).

      Questions?

      If you have any questions, then please gather this information.

      Send this information to support@salsalabs.com, and we'll be glad to help.

      Was this article helpful?
      0 out of 0 found this helpful
      Have more questions? Submit a request

      Comments

      0 comments

      Please sign in to leave a comment.