I have static context node structure
I have populated the values in this node from an RFC in my code .
Now i need to create a form dynamically with QuestionText as labels and AnsText as input fields.
I have written the following code
for(int i = 0; i< wdContext.nodeSection().getSize; i++)
IWDInputField inp_Ans = (IWDInputField)view.createElement(IWDInputField.class,"ID"+i);
IWDAttributeInfo ansAtrib = wdContext.nodeSection().getNodeInfo().getAttribute("AnsText");
This way i have bound a single attribute to all inputfields.
So the value in the first element of AnsText appears in all inputfields.
In case of tables it works fine but i need to create the form.
Kindly help me in solving the issue.