each apex items differentiate based on the value

i have many items in form region,how to differentiate between value entered and not entered items with any color background.
i try to apply the attributes in each items level,but i could not reach. e.g P3_SAL
my workspace : ram_r&d
user/password : aramani/apex
application : 29288:3

Views: 76

Reply to This

Replies to This Discussion

You're placing CSS into attributes that expect classes.
And this would not respond to change.

You may wish to explore libraries that already provide this functionality
LiveValidation - Validation as you type




hai scott, please add any one of the field for this functionality it would be highly appreciate please. becoz iam not aware the JS in apex and how to use the stored Js file to call at specific item.

Now is the time to research and learn. It's an integral part of apex development
10.11 Incorporating JavaScript into an Application

Thank you for your guidelines, all the stuff are documents and can try to R&D! and you are very smart.

Hi,
use ajax for this
create one method
like below
<script language="JavaScript" type="text/javascript">
function f_background()
{var clear_val = $x('PX').value;
if (clear_val == '')
{
{$x('PX_NAME').style.background = '#ffff00'};
}
else
{
{$x('PX_NAME').style.background = '#ffffff'};
}
}
</script>
and put in page header.
FOR more info refer

http://apex.oracle.com/pls/apex/f?p=31517:135:132957135257518:::::

regards.

as your help, i put your code in Page header, and mentioned the item as P3_SAL. then i called this function in HTML Form Element Attributes. on change="return f_background();"  but not changing the color.please login my workspace.

what i need if value entered the item then background color is null. if no value should be any color.

Reply to Discussion

RSS

Oracle Jobs in US

© 2024   Created by Maisam Agha.   Powered by

Badges  |  Report an Issue  |  Terms of Service