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?
> 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:
> 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.