Choosing a scripting language

If you are creating scripts that execute on the server, you are free to create scripts in either JavaScript or FormCalc. However, if you are creating scripts that will execute on the client application, you can only use JavaScript. This restriction applies because FormCalc is not natively available in client applications, such as internet browsers or Flash Player.

If you have an existing PDF form that you want to make available in HTML format or as a Guide, one strategy is to set your existing FormCalc scripts to execute on the server. This technique may not always be appropriate for your specific use case, for example, if you don’t want the form to make a round trip to the server as part of the form filling experience. However, this technique may be useful if you do not want to rewrite your existing FormCalc script in JavaScript.

Note: Not all scripting events can execute on the server. For example, interactive events are specific to user interactions with the form in the client application, so they cannot be set to execute on the server.

// Ethnio survey code removed