Quantcast
Channel: Adobe Community: Message List - Validating Forms using Master Page "Next" and "Back" Buttons
Viewing all articles
Browse latest Browse all 4

Re: Validating Forms using Master Page "Next" and "Back" Buttons

$
0
0

Ok no respone yet so i'm guessing you folks may want some code to work with.

 

Here's mine, which I've attached to the :click property of the button (in this case the "next" button) on the master page.......and fails miserably.

 

var testy = xfa.resolveNode("form1.Page" + Str(xfa.layout.page(this)) +".execValidate()");

if( testy == false){

    xfa.host.messageBox("One or more required fields were missing data, please correct them before moving on.");

    }

else {

    xfa.host.pageDown();

    }


Viewing all articles
Browse latest Browse all 4

Latest Images

Trending Articles





Latest Images