AnsweredAssumed Answered

Gracefully Cancelling Insert From Device

Question asked by Razor on Nov 4, 2016
Latest reply on Nov 7, 2016 by Razor

I have a form that looks like this.

IMG_2764.jpg

The scan barcode button is attached to an Insert From Device script. My issue is if the user taps Cancel when scanning they’re returned to a screen that still shows input options.

IMG_2765.jpg

When you tap the hamburger with the up arrow button you will see this;

IMG_2766.jpg

And if you then tap the ± button you can add/delete records.

IMG_2767.jpg

I don’t want this to happen. If the user taps cancel while scanning with the camera I want them to return to how the form looked before the button was tapped. They only way I can do that is if I manually tap the body of the form. Then the bar disappears.

 

I have Hide all toolbars selected in file options, in my script I have a check to see if the user tapped the cancel button and tried several commands (commented out below);

Untitled 7.png

but none of them will mimic the result I get when I tap the body of the form. What command or action can I execute to make the bar disappear?

 

Thanks!

Outcomes