I have created a .indd file with some formFields and now traversing these fields.
I have got all the form fields through below code...
var allFormFields = myDoc.formFields;
var tf = allFormFields[i];
Here i am able to get id,label and name of fofmfields. Now, how to get the content (value) of the formfields and also how to change its content and write own value. For now i am using textfield in FormField.
Please reply if someone have answer for it, Thanks in advance.