Expand my Community achievements bar.

MinusZero
MinusZero
Offline
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • //add to the exit field. When the cursor leaves the field, the text will change.this.resolveNode("$").rawValue = "ASSEMBLE-1-CM";

    Type

    Questions

    Views

    324

    Likes

    0

    Replies

    0
  • Simple. Firstly, use the Add Action selection in the context menu...it is your friend if you get stuck.This example is on a checkbox change event.if (this.rawValue == "1") {  this.resolveNode("#subform[2]").presence = "hidden";}//my page 2 is called #subform[2]//if you need to show it again, make th...

    Type

    Questions

    Views

    413

    Likes

    0

    Replies

    0
  • You can do it by adding code to the change event of the employee profile dropdown box. You would need to code in all the employee details and manually add text to their relevant fields.You can populate a second (or more) dropdown but you have to make sure you clear it first like so://dropdown change...

    Type

    Questions

    Views

    328

    Likes

    0

    Replies

    0
  • What you will need to do is add code to the form's PreSave and PrePrint events.If you add this, it will lock the field:this.resolveNode("textFieldName").access = "readOnly";Change 'readOnly' for 'open' to unlock the fields (you could add that to a button to unlock the fields if required). You could ...

    Type

    Questions

    Views

    411

    Likes

    0

    Replies

    0
  • Never mind, solved it. The fault was with my code. I needed to add the existing contents to the additional contents.if (this.resolveNode("TableBreakfast.Row1.Order").rawValue >= 1) {  this.resolveNode("form1.#subform[1].OrderPlaced").rawValue = this.resolveNode("form1.#subform[1].OrderPlaced").rawVa...

    Type

    Questions

    Views

    331

    Like

    1

    Replies

    0
  • Glad to help. This one stumped me at first.

    Type

    Questions

    Views

    418

    Likes

    0

    Replies

    0
  • I know instances keep count using the instance manager, but I don't know about table rows.You could keep track of the amount of rows added (in a hidden numeric field) and when the button is clicked to add a new set, add additional code to add the number of rows extra using the number in your hidden ...

    Type

    Questions

    Views

    553

    Likes

    0

    Replies

    0
  • Hi,This will be a start for you.if ($.boundItem(xfa.event.newText) == "Jan") {  this.resolveNode('Project._MySubform').addInstance(1);  if (xfa.host.version < 8) {      xfa.form.recalculate(1);  }  this.resolveNode('Project._MySubform').addInstance(1);  if (xfa.host.version < 8) {      xfa.form.reca...

    Type

    Questions

    Views

    330

    Likes

    0

    Replies

    0
  • Try this: Add code to the change event of the checkboxesFor example:if (this.rawValue == "1") {  this.resolveNode("numericField1").rawValue = this.resolveNode("numericField1").rawValue - 2;}if (this.rawValue == "0") {  this.resolveNode("numericField1").rawValue = this.resolveNode("numericField1").ra...

    Type

    Questions

    Views

    386

    Likes

    0

    Replies

    0
  • Hi,I have made some pretty cool PDF forms and have some background with programming, but not so much with javascript.I have created an order form of sorts. In the form, the user places a 1 or more in the order column next to the item they wish to order. After selecting all their items, they click a ...

    Type

    Questions

    Views

    534

    Likes

    0

    Replies

    1