A
Andrew Lawson
Hi,
I have created a user administration form.
When the user clicks the save button, validation is done using various
validation controls, a procedure is then run to save the data.
At this point the same screen is shown (which is what I want, rather
than redirecting elsewhere), and I have a label which was invisible,
but is now visible and reads "Changes Saved".
This all works perfectly.
However, at this point the user may decide to again change the value of
a field. If that change means that something is no longer validated,
the validation controls kick in again and display an error message - as
you would expect, and this is great.
The problem is, the "Changes Saved" label is still displayed.
Is there a way to make the label invisible whenever the user clicks the
save button, before any validation messages are shown.
As in interim method I am instead displaying a pop-up to confirm it,
but the way it works now looks much more professional - as long as the
"Changes Saved" goes away.
Any help is appreciated.
Andrew.
I have created a user administration form.
When the user clicks the save button, validation is done using various
validation controls, a procedure is then run to save the data.
At this point the same screen is shown (which is what I want, rather
than redirecting elsewhere), and I have a label which was invisible,
but is now visible and reads "Changes Saved".
This all works perfectly.
However, at this point the user may decide to again change the value of
a field. If that change means that something is no longer validated,
the validation controls kick in again and display an error message - as
you would expect, and this is great.
The problem is, the "Changes Saved" label is still displayed.
Is there a way to make the label invisible whenever the user clicks the
save button, before any validation messages are shown.
As in interim method I am instead displaying a pop-up to confirm it,
but the way it works now looks much more professional - as long as the
"Changes Saved" goes away.
Any help is appreciated.
Andrew.