← Back to team overview

mahara-contributors team mailing list archive

[Bug 547829] Re: Clear messages when new ones appear

 

Hi Andrew,

I can't reproduce the error (Firefox 3.6.6 and Safari 5.0 on Mac 10.6).
When I first enter a wrong date for the birthday, the only field where a
check is made against a correct date (that may have changed since you
tried it), the error message displays. When I enter the correct date and
save the form, it is saved correctly.

However, if I do not choose the date picker (and didn't check the help
bubble), my date may be wrong if I enter it the American way (MM-DD-
YYYY). The help says that one should enter the date as YYYY/MM/DD, but
it also works when it is DD-MM-YYYY.

Would it be possible to show the string "YYYY/MM/DD" in the date field
by default?

The date fields for employment, education etc. are not checked against a
date (anymore). You can enter anything you want.

Kristina

-- 
Clear messages when new ones appear
https://bugs.launchpad.net/bugs/547829
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.

Status in Mahara ePortfolio: Triaged

Bug description:
As per Andrew Ruthven:

> * While creating a resume, I entered some supposedly bogus dates (okay,
> i didn't go to Uni in 1870), and Mahara said "bad bad bad", I fixed it,
> and submitted the form which was accepted.  But I still have "There was
> an error with submitting this form. Please check the marked fields and
> try again." at the top of the screen.

Because the form is submitted by ajax, and didn't clear the old one no 
doubt.

At least in the case above, where a form is submitted with error and then with success, the error message should disappear.

In theory, all messages should disappear when a form is submitted, so only the ones from the current form submission are shown. However, this might lead to confusion when a form is submitted successfully twice in a row - it might appear to submit so fast the user won't be sure if their changes were saved. So might have to add in some visual effect of some kind.

This bug was imported from eduforge.org, see:
https://eduforge.org/tracker/index.php?func=detail&aid=1772&group_id=176&atid=739