noinput and skip

Discussions about CSEntry
Forum rules
New release: CSPro 8.0
Post Reply
AriSilva
Posts: 591
Joined: July 22nd, 2016, 3:55 pm

noinput and skip

Post by AriSilva »

If in an onfocus I need to have a noinput AND a skip statement, what should go first?
Apparently if I code
noinput;
skip to ....

it does no execute the skip
Does that mean the noinput is really a jump to the postproc?
I did not understand that by reading the help

Best
Ari
Best
Ari
aaronw
Posts: 561
Joined: June 9th, 2016, 9:38 am
Location: Washington, DC

Re: noinput and skip

Post by aaronw »

Your understanding is correct. The relevant line in the help is:
when the statement (noinput) is executed in an onfocus, control passes directly from the field's onfocus to the field's postproc
.

This is how I might structure a noinput followed by a skip:
onfocus

    noinput
;

postproc

    if
needToSkip then
        skip to
destinationField;
   
endif;
Post Reply