I have problem with my app.
Im using html form and using button to open camera and take photo manually and then assign it to a variable and refresh my html form to display the photo on the form.All went great until my staff push the button and then cancel the photo taking(back button on their tablet).Ive checked and the file is saved as blank photo and also assign to the variable. Any way to detect photo taking cancellation and not assigning the file name to variable? Thanks
Here's the code after press the button
if slot$(0)="" Then
if not isDir(aid$) Then