Contents - Index



Type: Method

Parameters: String Id

Returns: nothing



Submit the form identified by id


When the submit completes, the OnRequestFormSubmitById event is triggered.




Suppose we have the following html:

    <form id="login" class="login" action="thankYou.html">

        <div class="loginName">

            <label for="username">UserName</label>

            <input type="text" name="username" placeholder="User Name" required />



        <div class="loginPassword">

            <label for="password">Password</label>

            <input type="password" name="password" placeholder="Password" required />



        <div class="loginBtn">

            <button id="submit" type="submit" name="submit">Login</button>




Code in DataFlex:


   Object oSubmitButton is a Button

     Set Location to 199 144

     Set Label to "Submit"

     Set peAnchors to anBottomLeft


     Procedure OnClick

       Send ConnectBrowser to oDocument

       Send ComRequestFormSubmitById to oDocument "login"