I have my list page and spreadsheet mode enabled, so a user can scan a qr code and up comes the results. They can then tick the checkbox and then I want the window to close.
So in my click actions for the Checkbox I have this in Client Before
// Put your code here.
params["txt"] = "Hello";
row.setMessage("Sending request to server...");
// Uncomment the following line to prevent execution of "Server" and "Client After" events.
// return false;
In Server I have this
function closeWin() {
myWindow.close();
And client after is empty, but I cant get it to close the webpage.
The idea is, using a QRCode scanner, they scan the value, modify the checkbox, web page closes and QRcode scanner is still running, just to save the user hitting teh X on teh webpage.
Any ideas please?
Thanks
Paul.