Avatar

Level 1

Is there a way to temporarily throw up a pop up message then have it automatically cancel out on its own so the user is informed of a message without having to actually respond to it?

The idea is that I would "like" to be able to throw up a message to a user when they select and enter something into field A that they then must enter something in field B (which is dependent on a non-empty field in field A and ONLY then).  It's my work around to informing the user that they have effectively made field B required after entering something in field A.

If there isn't a way to throw up a timed message like this, are there other options/ideas?

Note:  Ideally, I simply wanted to be able to add a bunch of Javascript on the click event of a submit button in which I would validate all fields that need some validation of some sort (rather than have a series of pop ups occurring every time a field is clicked or changed).  In other words a one time validation for all fields on one event which would then prevent the button from doing a formSubmit() if any validation failed.

If you can tell me in what type of object and what event I could do the above, that would work too.  In fact, I think I'll have to do this anyway and I've tried a lot of different permutations of implementing this to no avail (i.e. a regular button, a submit button, an e-mail button on the click, change, mouseup, mouseup, etc. events).  But I appear to be doing something wrong because nothing I have tried is working (it appears as if none of the JS is triggering at all based on a simple app.alert not triggering).

MJS