since ‎03-09-2008
‎10-12-2019
_Frederik-Jan_R
Level 2
Adding data to specific lines in a multiple row subform
Avatar

_Frederik-Jan_R

_Frederik-Jan_R
- Adobe LiveCycle
Dear,I've got an Enterprise Service that retrieves Materials, I created a SubForm (that can grow dynamically, it already does this) to list all the items with some detail fields.Retrieving one item is no problem, the first instance of the subform will be created and the data will be filled in. Using this code :var nCount = 0;var nLimit = 10; for(var nItemCount in oItems){ _sf_Row.addInstance(1); for(var nItemNode in oItems[nItemCount]) { if (nItemNode == "MATNR") { sf_Row.txt_Matnr.rawValue = oI...

Views

178

Likes

0

Replies

0
Capturing the username in a rendered PDF using JavaScript/FormCalc
Avatar

_Frederik-Jan_R

_Frederik-Jan_R
- Adobe LiveCycle
Hi,I'm looking for a way to capture the windows username/login from inside a rendered PDF using JavaScript or FormCalc.I know it should be near impossible to do this in a browser because of the built-in safeties and blocks straight into JavaScript, but I was hoping it's different for a PDF.Is this possible, or isn't it?Thanks in advance,Frederik-Jan

Views

417

Likes

0

Replies

1
Re: Removing a line in a table at runtime
Avatar

_Frederik-Jan_R

_Frederik-Jan_R
- Adobe LiveCycle
Yes on both accounts.

Views

470

Likes

0

Replies

0
Removing a line in a table at runtime
Avatar

_Frederik-Jan_R

_Frederik-Jan_R
- Adobe LiveCycle
Dear,In the current setup I'm using a table with a fixed amount of lines (6) to display some extra data per item line. I can't get this extra data in a table so I'm retrieving the data from six separate nodes from my data.Normally you'd bind the table to a table in the data and then the table would grow/shrink depending on the amount of lines. Now however I need to effectively hide the entire row. When I use JavaScript to put the presence of the entire row to 'hidden' the row becomes invisible, ...

Views

812

Likes

0

Replies

2
Re: Which event for specific validation (Javascript)
Avatar

_Frederik-Jan_R

_Frederik-Jan_R
- Adobe LiveCycle
The Exit event would be the correct answer.

Views

49

Likes

0

Replies

0
Re: Which Event can I use in this situation? Ignore previous topic with same title!
Avatar

_Frederik-Jan_R

_Frederik-Jan_R
- Adobe LiveCycle
In the change event of your first checkbox put this line.xfa.form.PAGE2.otherCheckbox.execEvent('change');This will trigger the change event of your other checkbox. You can use this to trigger any event of any control you have on any page as well.

Views

36

Likes

0

Replies

0
Which event for specific validation (Javascript)
Avatar

_Frederik-Jan_R

_Frederik-Jan_R
- Adobe LiveCycle
Dear,I'm building some validations in my form, using javascript.I staretd with using the Validate event however that is called every time someone does basically anything on the form. It's too global and to non-discriminating.I have 6 particular fields where I do checks on the values entered there, but if I use the Validate event I can only work in a couple of them. I could use IFs and save all the values in hidden fields and then check on every validate which one of them changed, but this would ...

Views

202

Likes

0

Replies

1
Re: Response from webservice : object aggregate
Avatar

_Frederik-Jan_R

_Frederik-Jan_R
- Adobe LiveCycle
The problem apparently was the namespace, removing this and I could use the normal way of retrieving data from XML files.

Views

68

Likes

0

Replies

0
Response from webservice : object aggregate
Avatar

_Frederik-Jan_R

_Frederik-Jan_R
- Adobe LiveCycle
Dear,I have an Interactive Form with a ton of data on it. I'm using a Web Service to post this data to a system, the return value is always 1 for testing purposes.Using SoapUI I can see and test the service. The return is put like this with constants (so it's always this, never different for testing purposes) : Test return message 1 I call the webservice in my form with a button with this code :var response = SOAP.request ({cURL: "http://host:port/XISOAPAdapter/MessageServlet?channel=:BS_TIM...

Views

576

Likes

0

Replies

1
Re: Dynamically setting button caption from Data Source using JavaScript
Avatar

_Frederik-Jan_R

_Frederik-Jan_R
- Adobe LiveCycle
Setting/Retrieving the button name works, thanks! I'm still not sure on how to retrieve data however. With data I mean the fields that are available under the Data View palette. (bottom left corner, next to Hierarchy for me)

Views

91

Likes

0

Replies

0
Dynamically setting button caption from Data Source using JavaScript
Avatar

_Frederik-Jan_R

_Frederik-Jan_R
- Adobe LiveCycle
Dear,We use Interactive Forms in combination with SAP to generate forms in multiple languages. We usually do this using textfields and then linking all of those textfields to data we send from SAP. The data of these 'labels' is in a different language depending what you send through.For buttons however we cannot simply link them in Binding so we decided to use Js to do it. There are already several checks in Js in place so I know the basics, but I can't figure out how to (a) retrieve data from t...

Views

1.1K

Likes

0

Replies

3