What action is needed to close a tab? From my main

JC:
What action is needed to close a tab? From my main site user opens BF form in new tab and upon submission closes tab. Is this possible?


Christina Saran:
Hi JC, something like this:

window.open('','_parent',''); 
window.close();

reference that has relevant info https://stackoverflow.com/questions/23306882/javascript-close-current-window


JC:
Cool, thank you. Will check this out. This would be called from a function action then?


Christina Saran:
yes, put in inside of your submission button function