on 04-01-2010 7:58 PM
Hi,
One basic question. In my dataview I have plenty of fields and few of them I have added it in the form. In the form I want to do some validation based on the field which I did not add it in the form.
I don't know how to read the dataview. But all the time I added those field into the form(Hidden) if it require for validation. I dont want to do that again and again.
How can I read the dataview fields in both scripting language. It will be really appreciated.
Thanks
GJ
Example:
var List = ref(xfa.record.lists.list1)
var i = 0
while ( List.nodes.item(i+1).value ne "3")do
$.addItem (List.nodes.item(i).value,List.nodes.item(i+1).value)
i = i + 2
endwhile
comes from: http://help.adobe.com/en_US/livecycle/es/FormCalc.pdf
Otto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Otto,
Thanks for your response.
var List = ref(xfa.record.lists.list1) -- so list1 is the field in the context list1. If my understanding is correct, "Var List" will hold the current record list value ?.
Any example for javascript to read the dataview?. Please let me know which is the rightway, like add the fields on the form and use that value for validation or read it from the dataview?
Thanks
GJ
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.