on 07-21-2011 4:36 AM
Hello
I am developing an VISITOR info interactive form with webdynpro ABAP, its with 2 pages. Their heirarchy is,
VISITOR_form
|
|
|------Page_1
| |
| |
| |------Text_Field_A_1
| |
| |------Text_Field_A_2
|
|------Page_2
|
|
|------Text_Field_B_1
|
|------Text_Field_B_2
Now, i have selected the 'Text_Field_B_1' of page_2 and writing the Java script, my requirement is; If Page_1's 'Text_Field_A_2' has a value of "Value_ABCD", THEN the 'Text_Field_B_1' of page_2 should be 'readOnly'. Pls let me know Wht is the Java script for this requirement?
Script is
if ( Page_1.Text_Field_A_2.rawValue == "Value_ABCD" )
{
Text_Field_B_1.access = "readOnly";
}
It can be written at the form:ready event of Text_Field_B_1.
Thanks,
Aravind
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.