You can add a FormCalc function to any form design object that allows calculations and scripts, with the exception of the script object.
1. Make sure that you have the multiline version of the Script Editor showing on the LiveCycle Designer ES workspace.