Home » Developer & Programmer » Forms » Problem with Alert Text Message length- displaying max 200 characters (Oracle 11g Forms Builder)
Problem with Alert Text Message length- displaying max 200 characters [message #660695] Fri, 24 February 2017 12:55 Go to next message
Praveen1029
Messages: 3
Registered: February 2017
Junior Member
Hi,
I am trying to display an error message of length over 400 characters in one of the forms. But the Alert message is displaying only 200 characters maximum, I tried to
1) Increase the alert text (al_text) size to 500 (SET_ALERT_PROPERTY('al_message', ALERT_MESSAGE_TEXT, al_text)) but its truncating the message after 200 characters.
2) Searched all the .pll files to check if the size is defined globally, but it was not defined anywhere.
Could someone please help me with this?

Thank you in advance.
Re: Problem with Alert Text Message length- displaying max 200 characters [message #660696 is a reply to message #660695] Fri, 24 February 2017 13:27 Go to previous messageGo to next message
speedfroggy
Messages: 3
Registered: February 2017
Junior Member
Hello
Which is a value that can not be extended.
One solution is to simulate the alert using a canvas and a text field of the size you want.

regards
Re: Problem with Alert Text Message length- displaying max 200 characters [message #660698 is a reply to message #660696] Fri, 24 February 2017 13:59 Go to previous messageGo to next message
Praveen1029
Messages: 3
Registered: February 2017
Junior Member
Hi Gustavo,
The value that cannot be extended is 'al_text' in SET_ALERT_PROPERTY('al_message', ALERT_MESSAGE_TEXT, al_text). My requirement is to display the error message and block the user from navigating further, in this case if I simulate the alert using a canvas, I think it fails.

Thank you.
Re: Problem with Alert Text Message length- displaying max 200 characters [message #660699 is a reply to message #660698] Fri, 24 February 2017 14:23 Go to previous messageGo to next message
speedfroggy
Messages: 3
Registered: February 2017
Junior Member
Uhmm.
You can use a modal window for the canvas, so the user can not navigate outside the canvas in front of him.
It's just an idea.

regards
Re: Problem with Alert Text Message length- displaying max 200 characters [message #660779 is a reply to message #660699] Mon, 27 February 2017 03:16 Go to previous messageGo to next message
cookiemonster
Messages: 13961
Registered: September 2008
Location: Rainy Manchester
Senior Member
You know - if you'd looked in the form builder help topic on the alert message property you'd have seen in there that's it max length is 200.
Re: Problem with Alert Text Message length- displaying max 200 characters [message #660821 is a reply to message #660779] Mon, 27 February 2017 09:03 Go to previous message
Praveen1029
Messages: 3
Registered: February 2017
Junior Member
Thank you!!
Previous Topic: Problems with icons
Next Topic: FORM LEVEL AUTO SERIAL NO
Goto Forum:
  


Current Time: Sun Dec 22 07:28:14 CST 2024