form-controls icon indicating copy to clipboard operation
form-controls copied to clipboard

Filter error message addition

Open lewiswharf opened this issue 13 years ago • 1 comments

Very simple, but great added benefit.

lewiswharf avatar May 05 '11 17:05 lewiswharf

@lewiswharf: There is another issue with your apprach. In the case of post save filters, it might be that your event returns success but the filter fails. In this case you cannot render all the messages in one validation element (of class="success").

Imagine a Members registration with an email event filter. Assume that data will be saved, but your email filter fails. In this case you need two different validation elements:

  • success: "Data saved successfully."
  • error: "Sending an email was impossible; please call 0800-12345 so we can fix this ASAP."

michael-e avatar May 06 '11 12:05 michael-e