Expand my Community achievements bar.

MinusZero
MinusZero
Offline
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • If you add a variable to your script object, you can recall and set it at any time by referencing it. You could set it when the dropdown is exited and recall it when the form is loaded in the docReady event.In this example the reference would be vars.myVariableExamplesvars.myVariable = TextField1.ra...

    Type

    Questions

    Views

    1.6K

    Like

    1

    Replies

    0
  • Hi, You could try this.I created a button to calculate the totals. My test uses only 5 textfields.In the calculate button i had:form1.#subform[0].Button1::click - (JavaScript, client)var totP = 0; //set variable for the Psvar totT = 0; //set variable for the Tsif(TextField1.rawValue == "P"){totP = t...

    Type

    Questions

    Views

    1.2K

    Likes

    0

    Replies

    0
  • Hi JainSa,If your rows are fixed you can simply add them up, but if you are dynamically adding rows, you can do this.Assuming the first data entry row is repeating, in the total field at the bottom add this code. form1.#subform[0].Table1.Row2.NumericField1::calculate - (FormCalc, client)sum(Table1.R...

    Type

    Questions

    Views

    1.7K

    Like

    1

    Replies

    0
  • Hi,Probably the best advice i can give you and its something i have been doing for many years, is to build your flowed forms in tables. Using a table or multiple tables with different rows and cells is the best way to build a 'positioned' flowing form. You can make each table section a subform too.B...

    Type

    Questions

    Views

    1.5K

    Like

    1

    Replies

    0
  • Glad to help.

    Type

    Questions

    Views

    2.1K

    Likes

    0

    Replies

    0
  • Are you wanting to concatenate the values into another object? It isnt quite clear, so here it is.Concatenating is easier in JS, calculating in FormCalc.The NumericField3 calculate event simply has:Whenever either field is changed, it recalculates.The concatenate button is this:When clicked a new ra...

    Type

    Questions

    Views

    1.6K

    Like

    1

    Replies

    0
  • Make Example Question 2 a TextField. You will then be able to change it's rawValue to whatever you need based on the checkbox selection. Change the caption Position to None in the layout tab and add the text in the object/value default text field.I have also protected the TextField so the text can't...

    Type

    Questions

    Views

    1.8K

    Like

    1

    Replies

    0
  • Hi,With your supplied form you wont be able to add the header to the tab order unless there is a user entry field there. Changing the tab order of the rest wasn't an issue for me.The Header Row might be the problem. I deleted it and added another row where it was and then i could reorder without an ...

    Type

    Questions

    Views

    2.0K

    Likes

    0

    Replies

    0
  • Hi,I had no such problems editing the tab order, make sure you switch it to custom and drag it to a new location.If you are still having trouble, you could bypass it with an exit event for the cell.form1.#subform[0].Table1.Row1.TextField1:exit - (JavaScript, client)xfa.host.setFocus("Row2.TextField1...

    Type

    Questions

    Views

    2.0K

    Likes

    0

    Replies

    0
  • I had a look. I have had this problem as well and never found a solution. It seems like a limitation of XFA forms.I found this: There is a restriction in XFA that the 1st Master page definition must be used. Any subsequent ones can be unised ...but the 1st one must be used!Hide first Master Page A f...

    Type

    Questions

    Views

    2.0K

    Likes

    0

    Replies

    0