Accessing form data via Javascript. | Community
Skip to main content
July 16, 2007

Accessing form data via Javascript.

  • July 16, 2007
  • 15 replies
  • 10844 views
Hi,



I'm completely stuck. I have a form with a table with a row containing a textfields. I'm able to add rows to that table via JavaScript. No problem here. Now I want to populate a dropdown with the data entered into the textfield(s). And Here I'm completely stuck. I don't manage to find the instantiated rows with their Textfields.



The hierchy view shows form1>purchaseOrder>Table1>Row



I tried stuff like this:

'xfa.resolveNodes("xfa.form.form1.purchaseOrder.Table1.Row[0].TextField1").rawValue'

or

'xfa.form.form1.purchaseOrder.Table1.Row[0].TextField1'

to access the node or the field without succces.



Nor do I find the way to get a count of the instantiated rows, so I could loop through them.



Thanks in advance

(a desperate)

Steven
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

15 replies

April 11, 2008
Can somebody help me to fill in a table in Javascript.

I tried this:

xfa.resolveNodes("data.TableView.BodyTable["+i+"].NAME").rawValue = "100";



It doesn't work.
May 6, 2008
b Setting Initial View Properties to override Workspace defaults



We are new to LiveCycle 8 (less than 3months experience) even though we have used or been using its predecessors for year.



We would like to limit the confusion of our end users by restricting what non-form specific data and operations they see and can perform when opening a form in LiveCycle ES Workspace. I.e., no Edit, File, Find, Measuring, and the likes. Some forms would be more restrictive than others. So what we are really looking for is some method by which we can, on a form by form basis, turn off certain of the menu items that appear or can be turned on when a form is opened.



Setting the Initial View properties on the form would be the ideal way. But even setting the properties programmatically would be helpful.



Any assistance is greatly appreciated.
September 12, 2008
hi i have problem in adding rows to a table in adobe livecycle. I'm able to insert just 7 rows after that it doesn't do anything. I want to add around 20 rows to a table. How can i do that.



Thanks in advance
September 12, 2008
In the binding tab do you have a max value set for your repeating subform?



Also is it trying to go across a page ...you would have to allow page breaks in th eparent subform before it woudl be allowed to break across pages.
September 20, 2008
hi paul i got the rows inserting even upto 50 rows after changing the Max=7 to Max=50 in the XML source. You can use Find option and find for Max and change the correct value..