Introduction
Here is how to highlight form text items, which Value Required attribute is set to “Yes” and do not have any value.
Steps To Follow
Step1:
Create dynamic action to page zero
Name: Highlight required
Event: Change
Selection Type: jQuery Selector
jQuery Selector: input[type=’text’][required]
Condition: -No Condition-
Action: Execute JavaScript code
Fire On Page Load: True
Code:
if(!$v(this.triggeringElement)){
$(this.triggeringElement).css({“background”:”#FFFF77″});
}else{
$(this.triggeringElement).css({“background”:””});
}
Selection Type: None
Step2:
Now run application and items having Value Required set to “Yes” background color is changed if item do not have any value.You can find Value Required setting from item attributes.
Call To Action
For Oracle apex development and customization please do visit us..Our company website https://doyensys.com/
Conclusion
By following above steps we can highlight form text items, which Value Required attribute is set to “Yes” and do not have any value.