Home » Developer & Programmer » Forms » Prevent from leaving TEXT_ITEM (Forms 6i, Windows2000)
Prevent from leaving TEXT_ITEM [message #283329] Mon, 26 November 2007 13:55 Go to next message
pc131
Messages: 36
Registered: May 2006
Member
Hi everybody!

It's my first post here - so i want to say initial HELLO Razz

I have a question how to prevent from leaving TEXT_ITEM when for example inputed value is incorrect or is null. Wat trigger should I use? I tried POST-TEXT-ITEM, I can warn user that empty values are not permitted, but anyway cursor goes to next item...

Any help appreciated Smile

Thanks
Tom
Re: Prevent from leaving TEXT_ITEM [message #283333 is a reply to message #283329] Mon, 26 November 2007 14:30 Go to previous messageGo to next message
Littlefoot
Messages: 20901
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
WHEN-VALIDATE-ITEM trigger; if there's an error, RAISE FORM_TRIGGER_FAILURE.
Re: Prevent from leaving TEXT_ITEM [message #283334 is a reply to message #283333] Mon, 26 November 2007 14:36 Go to previous messageGo to next message
pc131
Messages: 36
Registered: May 2006
Member
Thanks man for such quick reply. I'll check tommorow and let You know!

Thanks again.
Re: Prevent from leaving TEXT_ITEM [message #283922 is a reply to message #283334] Wed, 28 November 2007 07:17 Go to previous message
pc131
Messages: 36
Registered: May 2006
Member
It works!

Thanks.

WHEN-VALIDATE-ITEM with TRIGGER_FORM_FAILURE prevents form leaving empty text_area.

Thanks again.
Previous Topic: LOV's decription fail's to increase.
Next Topic: How set image value null
Goto Forum:
  


Current Time: Fri Dec 09 23:36:38 CST 2016

Total time taken to generate the page: 0.06705 seconds