These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Collecting selective data from forms

sakthivels
Registered: Oct 13 2008
Posts: 6

Hi some one got a solution for the following scenario?
Please help me.

Consider the following example.

A form with the following fields

Firstname
Lastname
Address#1
Address#2
City
State
Pincode
Contact#
BirthDate
Hobbies
FavouritePastTime
FavoutiteSport
etc

I will display all the field in the form, while collecting data using the response from in tracker, i dont want to capture Hobbies, FavouritePastTime, FavouriteSport field. All other field data should be captured for processing to csv file after exporting.

My Product Information:
LiveCycle Designer, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
If you remove the binding from the fields you do not want collected, then they should not be included, since they will not show up in the the DataSet Model

Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/]http://www.adobe.com/devnet/acrobat/[/url]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script

thomp
Expert
Registered: Feb 15 2006
Posts: 4411
The field binding property determines how data is imported and exported. If a field has normal bining, then it's data is reflected in the "DataSet". If the field's binding is set to "None", then it is excluded from the "DataSet". It is this "DataSet" that is imported and exported, not the field data. So if you set a field's binding to "None", then it will not be included the "csv" file when export data from the forms collection.

I did a test. Fields on my test form that had the binding set to "None" did not appear on the response tracker in the collection, and they did not export to the CSV file.

I think your mistake was in setting the binding to null, just set it to "None"

Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/]http://www.adobe.com/devnet/acrobat/[/url]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script

sakthivels
Registered: Oct 13 2008
Posts: 6
Thanks Thomp for the solution