User can not work with menu if customized form not closed

Hello Friends,

I have a problem and i haven’t found that’s solution yet. I made a new form for login and run it on open of NAV Application code added on OnOPen company procedure of CU-1. I want that if That form is open then user can not move to other for through Navigation Pane.
Actually that’s not a login form. I made a form to send a code to user and when user fill that code in Text box and click Ok. if varification code match after that user can use the navigation pane not before.

Please Help.

What’s is the issue.

You have told what you want, but what happens when the form is open , text is entered…

hello,

we don’t want to let user to move any other menu before passing the value or before closing the form.