on 08-12-2009 5:25 PM
I have PDF form with a textfield and Image field on the Master page.
Both are designed with presence = Invisible.
I want the objects to become visible when User opens the form.
I put JS code in each of the objects on DocReady event:
this.presence = "visible";
Image field becomes visible but textfield stays invisible.
The form Layout type is set in in SPF as "Standard Layout".
IThe form is set to Interactive thru parameter ls_docparams-fillable = 'X'.
How I can change the textfield presence at the opening the form?
Thank you,
Tatyana.
Hi,
Write the code in layout ready event if your placing these objects in Master page.
use the code like:
imagename.presence = "visible";
textfieldname.presence = "visible";
Regards,
Sachin Dhingra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The problem was that I had console statement.
console.println("docready-event, txt field.");
this.presence = "visible";
I commented the console statement.
Now the presence statement gets executed and the object becomes visible.
Didn't know the consequences of having "console.println" in the code.
I know now!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.