It could also be done with a temporary field that sets a value when you hit a customized close button and closes the window only if that value is set. Else an error message... Dirty work again but should work... Joe D'Souza Remedy Developer / Consultant, BearingPoint, Virginia.
----- Original Message ---- From: Carey Matthew Black <[EMAIL PROTECTED]> To: [email protected] Sent: Friday, January 5, 2007 9:57:28 AM Subject: Re: MidTier ? Jamie, I think you could, on window close, check the dirty bit, if it is "set" then you could also check if all of the required fields/steps has been done on the form. If so then you can either prompt the user to "Do you want to Submit this request at this time?" or you can auto do it. ( I would prompt the user.) If they answer "no" then just let the window close. If they say yes then do the submit before the windows closes. And by "Prompt" I mean a modal dialog what a some text and a few buttons for the user to respond with. HTH. -- Carey Matthew Black Remedy Skilled Professional (RSP) ARS = Action Request System(Remedy) Love, then teach Solution = People + Process + Tools Fast, Accurate, Cheap.... Pick two. On 1/5/07, Blodgett, Jamie <[EMAIL PROTECTED]> wrote: > On Midtier, is there a way to prevent a user from just clicking the 'X' to > close an internet window? Possibly some code I could put in the header or > footer? > > I have users that fill in online forms, then close the window without > clicking on Submit. I'm hoping I'm just missing something simple. > > Thanks, > Jamie Blodgett > Rinker Materials Corp. > > ARS 6.3 p18 > HPUX 11.11 > Oracle 10g w/9i libraries > Midtier 6.3 p18 > Clients mixed 5.12 & 6.3 p18 _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the Answers Are" __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the Answers Are"

