You do not have to use the Form Handler component to collect and send the data of your form. You can use any script you want.
Below are the instructions on how to set up the form so that the data is interpreted by a third party script.
When you have finished designing your form and are ready to place the “submit” button, you will want to choose the Forms Button ,which is the first tool of the Forms toolbar.
In the Forms Button Properties palette, configure the button to be of type Submit and change the text of the button to read “submit form” or the words of your choice.
Then click in some whitespace of the form and click on Settings in the Properties palette. You will then see the Form Settings dialog:
In the Action field, type in the complete path to the cgi script.