I have a form which is called from a page function. The page initially makes some external calls to get #default_value data which gets passed to
drupal_get_form(). When the form is submitted, the page function gets called before the submission handler. Why is that? I don't get it and I don't want that to happen because it then connects to an external data API for no reason.
Does anyone know of a good place to find the calls order for a default submission handler? I'm unable to debug this.
There is an AJAX update when the form inputs refresh, but I don't see how that matters.