Expand my Community achievements bar.

SOLVED

Text object on a master page

Avatar

Level 2

Hi all,

I need your advice again

What properties do I need to set and where to make my text object (created on the master page) appear starting from the 2nd page????

Thank you much!

1 Accepted Solution

Avatar

Correct answer by
Level 10

In the TextField's Layout Ready event, write the following code..

Set the Language to JavaScript.

if(xfa.layout.page(this)==1)
     this.presence = "hidden";

Thanks

Srini

View solution in original post

5 Replies

Avatar

Correct answer by
Level 10

In the TextField's Layout Ready event, write the following code..

Set the Language to JavaScript.

if(xfa.layout.page(this)==1)
     this.presence = "hidden";

Thanks

Srini

Avatar

Level 2

Hi again,

Now I need to do the same but with Date/Time Field. I tried to use the same code, but it's not working now!

Does anybody have a clue how to set it correctly?

Thanks a mil,

Maria

Avatar

Former Community Member

You put the same code on the Date/Time Field Form Ready event? Can you look at the JavaScript console (ctrl-J) and see if any errors are generated?

Paul

Avatar

Level 2

No, I put the code on the layout:ready event... But as I read your post I tried putting it on the form:ready event, nothing changed.

JavaScript console - you mean ScriptEditor????? I didn't notice any errors... Probably I looked at the wrong place

Thanks for helping =)