on 07-11-2007 9:13 AM
hi,
In Adobe Form I have placed a checkbox and a textfield. When the check box is clicked the textfield should be made visible.Initially the textfield should be invisible.
Can anyone provide the script to be written for achiving the above task.
Also let me know the event whr the script has to be included.
Thanx,
Sivagami
Hi Sivagami,
Can you please tell me which SAP WAS are you using? I have a similar code in my interactive form, and am deploying it in SAP WAS 6.4 SP19, but the visibility change does not work in the application. However it works inside the form designer 7.1
I am not sure if SAP WAS 6.4 will actually support this....
Thanks and Regards,
Mona
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
I have solved the issue by using the following code...
if ( Checkbox.rawValue == true )
Textbox.presence = "visible";
else
Textbox.presence = "invisible";
Thanx,
Sivagami.R
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yep, that's essentially it.
Off of the checkbox's 'rawvalue' (0 or 1) set the texfield's 'presence' (visible or hidden).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.