Creating an HTML Template Locally
When creating an online form template on your local machine, you can define how the fields are arranged, which fields to include on the form and the style of the page. Use standard HTML code to create the template as you would for any other HTML form and include the following elements:
-
<NLFORM> and </form> tags to define the beginning and end of the form.
-
Tags for each NetSuite field included on the form. For details, see Using NetSuite Tags.
-
An input tag that defines the button your customers use to submit the form.
<input type="submit" value="Button Text">
You can substitute text in the button by changing the value in the code. For example, if you want the text in the button to read Submit Form, the code would be:
<input type="submit" value="Submit Form">
For example, the following HTML code is a representation of an acceptable form template:
<html>
<head>
</head>
<body>
<NLFORM>
<p>Enter the name of your company: <NLNAME></p>
<p>Enter an email address we can use to contact you: <NLCUSTRECORD1></p>
<p><input type="submit" value="Submit Form"></p>
</form>
</body>
</html>
The resulting file must include all tags, including <html>, <head> and <body> tags, to ensure that it is a valid HTML file recognizable by NetSuite.