How To Execute Multiple Lines of JavaScript in FileMaker

If you're anything like me, you probably love exploring the endless possibilities that JavaScript has brought to FileMaker, especially with the introduction of the "Perform JavaScript in Web Viewer" script step back in FileMaker Pro 19. This feature significantly expanded the capabilities of FileMaker solutions and finally allowed direct interaction with JavaScript from within a Web Viewer. I found myself using it quite a lot in my solutions. One annoying drawback with the "Perform JavaScript in Web Viewer" script step is that it only allows you to run a single line of JavaScript at a time. But for more complex [...]