I would like to just type up all my code outside of filemaker, then paste it into a text field which I could reference from the calculation. The problem with that, it seems, is that I cant reference my filemaker fields that way. It seems those have to be inside the calculation or they dont work (unless I am doing something wrong). I wonder if there is a way for my to pass my filemaker fields as a parameter when I reference that script?
I am curious how others manage their webviewer code. If you keep it in a seperate file - how do you access filemaker fields? And do you simply store the code in a text field, or maybe a container field with the .js file and access that some way?