Validation Form No Halt

Validation Form No Halt

Postby » Tue Jan 05, 2016 8:22 am

KTM 5.5

I have a validation form. This form has code in both "AfterFieldConfirmed" and "ButtonClicked".

The same code exists for the button that is in AfterFieldConfirmed. The button works fine, the AfterFieldConfirmed does not.

It's very simple. If a certain criteria doesn't exist, I simply "Exit Sub". I watch it jump to end the sub but yet the document still closes and moved on. It doesn't stop on the field that had the criteria issue. When the user hits the button it all works, cursor stays in the field with issue using Exit Sub.

Anyone have any ideas as to what might be happening?
Participant
 
Posts: 108
Joined: Tue Dec 17, 2013 2:09 pm

Re: Validation Form No Halt

Postby » Tue Jan 05, 2016 12:47 pm

And I do have the field being set to invalid.
Participant
 
Posts: 108
Joined: Tue Dec 17, 2013 2:09 pm

Re: Validation Form No Halt

Postby » Tue Jan 05, 2016 4:01 pm

I find a lot of times, I have to set the field as invalid as well as drop the extraction confidence. Otherwise, as long as it's confident enough, and meets the rules, it becomes valid again.

But if you have criteria, I think you'd be better off putting it in a rule or even the formatter for the field.
Russell
Participant
 
Posts: 3374
Joined: Wed May 17, 2006 12:53 pm
Location: USA


Return to Kofax Transformation Modules General Discussion

Who is online

Users browsing this forum: No registered users and 4 guests