Expand my Community achievements bar.

SOLVED

validate function

Avatar

Level 5

Hi All.

Is exist way to validate function by pass according value? If yes. How to do it?

Thanks.

1 Accepted Solution

Avatar

Correct answer by
Level 10

There's execValidate, which executes any validate event script you have on the object specified and it's children.
https://help.adobe.com/en_US/livecycle/11.0/DesignerScriptingRef/WS92d06802c76abadb-3e14850712a151d2...

and a getInvalidObjects, which returns a list of nodes contained within this subform (inclusive) that have a failed validation test.
https://help.adobe.com/en_US/livecycle/11.0/DesignerScriptingRef/WS92d06802c76abadb-3e14850712a151d2...

Is that what your meant?

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

There's execValidate, which executes any validate event script you have on the object specified and it's children.
https://help.adobe.com/en_US/livecycle/11.0/DesignerScriptingRef/WS92d06802c76abadb-3e14850712a151d2...

and a getInvalidObjects, which returns a list of nodes contained within this subform (inclusive) that have a failed validation test.
https://help.adobe.com/en_US/livecycle/11.0/DesignerScriptingRef/WS92d06802c76abadb-3e14850712a151d2...

Is that what your meant?