Setting up auto Web Form for server. This function reads the data-tablename= set in html and read the tdf for each of them. If there is none, it will look for data-formloaded= and call the startup functions for them. If there are tables defined, it will first read all the tdf, then call forminitdone that will do the next step on the form initialization code.

<!doctype html>
<html lang="en">
    <!-- Required meta tags -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <link rel="stylesheet" href="" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
<!-- Start of body imported from page -->
<!-- End of body imported from page -->
  <script src="" integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script>
    <script src="" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
    <script src="" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous"></script>
  <!-- Script to load and initialize dataease web form engine -->
  <script type="text/javascript" src="/deserver/dataeaseconnect.js"></script>
    var deconnect = new DataEaseConnect();

The init code set up in a basetemplate.html