'$record' wht doesd it mean pls?

Avatar

Avatar

srinivas1506

Avatar

srinivas1506

srinivas1506

19-07-2011

Hello

I am developing a adobe interactrive form by using livecycle designer with Java script, am beginner to this!

1) some times, i saw in google as the code/script with.... '$record'

Wht is '$record' here?

2) in wht cases/references i should use 'xfa' as a prefix, do i need to use for each and every node/attribute/text field?

View Entire Topic

Avatar

Avatar

gkaiseril

Avatar

gkaiseril

gkaiseril

19-07-2011

> Wht (sic) is '$record' here?

Have a look at Working with Multiple Data Records by John Brinkman. It is used to process multiple records by an XFA form.

From the Scripting Reference included with LiveCycle Designer:

Represents the current record of a collection of data, such as from an XML file. For example,
 $record.header.txtOrderedByCity
references the txtOrderedByCity node within the header node of the current XML data.

> 2) in Whit (sic) cases/references i should use 'xfa' as a prefix, do i need to use for each and every node/attribute/text field?

XFA refers to the root node.

Depending upon when, where, and what object you are referring to, you may need to provide the full node structure path and name or you can use the abbreviated name.

See "Referencing object properties and values" in LIveCycle Designer's "Scripting Reference" under the "Help" menu option.