Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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?