since ‎03-06-2009
‎10-12-2019
ant_ric
Level 1
Help with adding a button to copy a .txt file in to a text field
Avatar

ant_ric

ant_ric
- Adobe LiveCycle
Hello,sorry if this is a very simple thing to do but its been a long time since I last used livecycle and javascript and my knowledge of javascript is not very good.I am trying to insert text from a .txt file in to a text field in a form, I think I can use importTextData but I have no idea how to add this to a button?Thank you in advance for any help on this.Rick

Views

222

Likes

0

Replies

1
reset each row individually in a table
Avatar

ant_ric

ant_ric
- Adobe LiveCycle
HiI have a form which expands, If I have more then 1 row then I want to be able to reset each row individually.I have been using xfa.host.resetData ("Row1"), I have also tried replacing row1 with each text field.xfa.host.resetData ("xfa.form.form1.TimeSheet.timesub.Table1.Row1.Date")every time I click on the rest button it resets all the text fields.

Views

450

Likes

0

Replies

1
reset data for each individually row only
Avatar

ant_ric

ant_ric
- Adobe LiveCycle
HiI have a form which expands, If I have more then 1 row then I want to be able to reset each row individually.I have been using xfa.host.resetData ("Row1"), I have also tried replacing row1 with each text field.xfa.host.resetData ("xfa.form.form1.TimeSheet.timesub.Table1.Row1.Date")every time I click on the rest button it resets all the text fields.

Views

270

Likes

0

Replies

0
Re: Expanding table, rows and columns
Avatar

ant_ric

ant_ric
- Adobe LiveCycle
many thanks for that, been trying to work it out for weeks.Cheers

Views

23

Likes

0

Replies

0
Re: Expanding table, rows and columns
Avatar

ant_ric

ant_ric
- Adobe LiveCycle
here it is.

Views

25

Likes

0

Replies

0
Expanding table, rows and columns
Avatar

ant_ric

ant_ric
- Adobe LiveCycle
I can make my table grow in rows or columns but not in both, when i add a row it will not add the column i have just added and the colum will not include the row i have just added.does any one know what script i need so the addInstance knows whan i have added a new row or column.thanks.

Views

985

Likes

0

Replies

4
Using addInstance in a IF calculation
Avatar

ant_ric

ant_ric
- Adobe LiveCycle
Hii am trying to get a addInstance to work unpon a IF resultif(test1.Headrow.TextField12 ==16)then_test1.addInstance(1);endifthis works fine for the first time and a new subform is created, but unpon the second time its run in the new subform, it goes into a loop and i end up with 12+ subforms scrolling down the page.the thing i have noticed is that if i allow the text field to display 16 and the new subform is added, then change the textfield result a lower figure then it runs ok.the bug seems ...

Views

323

Likes

0

Replies

1
trigonometry calculations
Avatar

ant_ric

ant_ric
- Adobe LiveCycle
I am new to this and just starting to get my head a round it all, is there any way you can do trigonometry calculations like TAN, ATAN or SIN in excel in a form just like adding or subtraction.e.g =$H$1*ATAN((COS(C10)-0.15116)/SIN(C10))cheersrick

Views

397

Likes

0

Replies

1