Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Fetching Rich text editor field value using javascript

DebarghyaJun 3 2013
Hi

I'm new to Oracle ADF.
I am trying to add a simple validation for a rich text editor using javascript.
But i 'm unable to fetch the value from the field.
Is it possible in oracle adf to use javascript validation for rich text editor.

Here is the code ::

function validate1(evt){
var input = document.getElementById('rte1::content');
if(input.value=="" || input.value == null){
alert("please enter some value");
return false;
}
}

Every time i run this piece of code after giving value or not it is showing the alert message.

Please Help !!!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 1 2013
Added on Jun 3 2013
0 comments
243 views