Expand my Community achievements bar.

davidcornett
davidcornett
Offline
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • Thanks for the code, Niall, but it doesn't seem to work. I copied/pasted it in an almost blank form that has 3 pages.  If I can figure out how to upload the example pdf I will. I suspect it has something to do with .layout never coming up as an option (even in the layout:ready event).  As you can se...

    Type

    Questions

    Views

    966

    Likes

    0

    Replies

    0
  • Hello,I'm sure this is a pretty standard problem.  I have a form that flows over multiple pages (in reality is just one page).  I've been able to manipulate the first "Previous" button because of an if/then referencing .currentPage = "0"  but since my form can have different numbers of pages I can't...

    Type

    Questions

    Views

    1.9K

    Likes

    0

    Replies

    7
  • Ok , it was just a dumb error.  When I tested it setting presence, I found out that the next  ok button was responding.  Meaning that I should have remembered that currentpages start off with 0, not 1.Correct syntax:if (xfa.host.currentPage =="0" ) {this.presence = "invisible";}else {this.presence =...

    Type

    Questions

    Views

    594

    Likes

    0

    Replies

    0
  • I made the change Srini,  but that currentPage script still doesn't work.Here's the syntax now (just for testing):<Ok button Click event>if (xfa.host.currentPage =="1" ) {this.presence = "invisible";}else {this.presence = "visible";}

    Type

    Questions

    Views

    505

    Likes

    0

    Replies

    0
  • Hello,I'm trying to have a button on the Master Page do different things according to which part of the form the user is on.if (xfa.host.currentPage = "1" ) { do x;}else {do something y; }It doesn't seem to work. It always does x.  I suspect that since it's really 1 long page (flowed subforms) it's ...

    Type

    Questions

    Views

    1.3K

    Likes

    0

    Replies

    3
  • One last question on this topic:I want to have a text field mouseover (since it allows scripting unlike text boxes). I got it so that it behaves like a textbox-got rid of the caption, set a default message, and changed it under Initialize:this.access = "readOnly";But restricting access to read-only ...

    Type

    Questions

    Views

    858

    Likes

    0

    Replies

    0
  • Thanks Niall.  I'm trying to change effects of multiple objects given a mousEnter event in the common area.  I've tried using a subform but this allows no mouseEnter/Exit events.   So if I have a row of info: Title on the left, and some checkboxes extending to the right of the Title.  I'd like the u...

    Type

    Questions

    Views

    858

    Likes

    0

    Replies

    0
  • Using this syntax I can change an object's fill color: this.fillColor = "200,000,000";But it doesn't work for fontColor.  As an aside, is there somewhere that I can see a chart of the color-numbers for livecycle? I've found the #______ used in web development to not work.

    Type

    Questions

    Views

    858

    Likes

    0

    Replies

    0
  • Hello,I'm trying to change the effects of a field or subform when the user does a mouseover.  Using the mousEnter, I can make something disappear using:    this.presence = "hidden";     But I can't seem to do the following:this.fontColor = "red";this.borderColor = "yellow";I'm sure there's something...

    Type

    Questions

    Views

    2.3K

    Likes

    0

    Replies

    6
  • In my click event, I was referencing the row incorrectly. It was specified as the second cell in the row (a drop down list) so I changed it to just be the row.No need to abandon the table.Thanks! As always, very helpful.

    Type

    Questions

    Views

    687

    Likes

    0

    Replies

    0
Top badges earned by davidcornett
Customize the badges you want to showcase on your profile