since ‎14-01-2019
‎10-12-2019
sc203718
Level 2
Re: What is incorrect in this function ? sc203718 - Adobe LiveCycle
Thanks i solved it, i have to call the .toString() method on the variable
1842
Views
0
Likes
0
Answers
What is incorrect in this function ? sc203718 - Adobe LiveCycle
I have this error: TypeError: s.replace is not a function68:Doc:InitThis is the code that generates the error: function EL(s){var sir = "";sir = s.replace(/[&]/g,"&"); <<<---------------------- this is the error linesir = sir.replace(/["]/g,""");sir = sir.replace(/[“]/g,""");sir = sir.replace(/[”]/g,""");sir = sir.replace(/[']/g,"'"); return sir;}I am a newbie in javascript and adobe livecycle designer...what is causing the error ? What should i do
3235
Views
0
Likes
6
Answers and Comments
Where is the path for this error -- see description sc203718 - Adobe LiveCycle
Hello, I am working on a form and I have encountered this error and I dont`t know where to search for the line of the code, please help.Error:TypeError: form1.body2.id3 is undefined13:Doc:Init
1398
Views
0
Likes
1
Answers and Comments
What would be the correct object reference ? sc203718 - Adobe LiveCycle
Hello, I have this error in my form: TypeError: form1.tabelAnexa.Row.all.item(...).prod.suprNimp is undefined15:XFA:form1[0]:tabelAnexa[0]:Row[1]:veg2[0]:veg1[0]:prod[0]:oRegularizare[0]:clickThis is the code that gives the error: form1.tabelAnexa.Row.all.item(i).prod.suprNimp.rawValue = "";//I think it is a reference problem...what would be the correct object path ? Thanks
1628
Views
0
Likes
1
Answers and Comments
Re: Can`t find object in hierarchy sc203718 - Adobe LiveCycle
Thanks it works
1663
Views
0
Likes
0
Answers
Re: Click event of a button only delets one subform and after doesn`t work sc203718 - Adobe LiveCycle
Thanks it works, i put the remove instance code at the end and it works
1797
Views
0
Likes
0
Answers
Re: How can i define _TABEL_VENIT it already exists but it gives me an error sc203718 - Adobe LiveCycle
Correct reference is : body2.activitati._TABEL_VENIT.setInstances(1);
5049
Views
0
Likes
0
Replies
Re: How can i define _TABEL_VENIT it already exists but it gives me an error sc203718 - Adobe LiveCycle
I solved it..I didn`t reference it correctly
5049
Views
0
Likes
1
Replies
How can i define _TABEL_VENIT it already exists but it gives me an error sc203718 - Adobe LiveCycle
Hello, I am a newbie and I have a form that I`m working on and it gives me this error: ReferenceError: _TABEL_VENIT is not defined4:XFA:form1[0]:tabelAnexa[0]:Row[1]:veg2[0]:veg1[0]:prod[0]:frmO[0]:changeBut TABEL_VENIT already exists...what can i do to repair the error ? Please helpThis is the code that gives the error: _TABEL_VENIT.setInstances(0); _TABEL_VENIT.setInstances(1);
5193
Views
0
Likes
2
Replies
Click event of a button only delets one subform and after doesn`t work sc203718 - Adobe LiveCycle
The project is done in Adobe LiveCycle Designer in JavaScript.I have an add button which adds one instance of a subform and a delete button which deletes one instance of a subform.When i click delete it deletes only one subform. If i click it again it does nothing...What should i do ?//form1.tabelAnexa.Row[1].veg2.veg1.prod.instanceManager.removeInstance(form1.tabelAnexa.Row[1].veg2.veg1.prod.instanceManager.count-1);_veg1.removeInstance(1);var rd = frmO.caption.value.resolveNode("#text").value;...
2633
Views
1
Like
3
Answers and Comments
Can`t find object in hierarchy sc203718 - Adobe LiveCycle
Hello, I am working on a form built by someone else...I have a object that is mentioned in another object`s event but i can`t find that object in the hierarchy. The object is defined and working. How can I find it`s path ? Is there any command to find it`s path ? Thanks
2676
Views
2
Likes
3
Answers and Comments
How can i clone a object in livecycle designer by pressing a button sc203718 - Adobe LiveCycle
Hello I am new to adobe livecycle and to js and I would like by pressing a button to clone a object that contains a subform and add it under the original object in the form.Thanks
1036
Views
0
Likes
0
Answers and Comments
Likes given to
Likes from