Create Online Form Template

To create an online form template, Marketing Automation feature must be enable.

Then with in the <NLFORM></NLFORM> tag we can use regular HTML tags.

Also, we can the NetSuite Record field values, we can get the values using the tags as follows:

<NLFORM>

    <!DOCTYPE html>

    <html>

    <head>

        <meta name=“viewport” content=“width=device-width, initial-scale=1.0”>

        <style>

            * {

                font-family: Calibri, sans-serif;

            }

            body {

                display: flex;

                justify-content: center;

                align-items: center;

                min-height: 100vh;

                margin: 0;

                background-color: #f7f7f7;

            }

            </style>

    </head>

    <body>

        <div class=“container”>

            <br><br>

            <h1>FEEDBACK SURVEY</h1>

            <br>

            <table class=“details”>

                <tr>

                    <td><label>Survey is taken for the Case:</label></td>

                    <td>

                        <NL<field id>>

                    </td>

                </tr>

                <tr>

                    <td> <label><b>Customer Details:</b></label></td>

                <tr>

                <tr>

                    <td><label for=“name”>Name:</label></td>

                    <td>

                        <NL<field id>>

                    </td>

                </tr>

            </table>

            <div class=“submit-container”>

                <input type=“submit” value=“Submit” onClick=showAlert()”>

            </div>

        </div>

        <script>

            function showAlert() {

                alert(“Your Feedback Survey is submitted Successfully!”); // Show an alert when the button is clicked

            }

        </script>

    </body>

    </html>

</NLFORM>

Leave a comment

Your email address will not be published. Required fields are marked *