error message Popup on change based on the value of selectlist

Hello


I am new to Oracle Apex. I have a selectlist in my page. I need popup, an error message when the value is changed according to the value of selectlist. For example, the selectlist can have "Approved", "Rejected", "Started", value "not started". When I changed the value "Rejected" if it is already "approved" a popup/inline error message should appear and say that we cannot change "Approved" to "rejected". Similarly, I need to have 5 these validations on the fly (when the selectlist is changed). Also when the condition is the error value will not change (in the previous example, the value will not change to 'Rejected'). Is there a way to do this?

~ Best regards,.

Nadège

Hi Jeevin,

You can use jQuery or Javascript to manage validations customized to your selection list onchange.

Something like

OnChange = "your_custom_function (this.value); »

and you can define your function as

function your_custom_function (value1)

{

If (value1 == "Rejected")

Alert ('Test Alert');

}

Logic may be all you need.

It may be useful

Thank you

Sunil Bhatia

Tags: Database

Similar Questions

Maybe you are looking for