HOW TO INCLUDE HTML AND CSS IN SUITELET SCRIPT?
Category : suitescript
+'<html>n’
+'<head>n’
+'<link href=”https://system.netsuite.com/core/media/media.nl?id=1234&_xt=.css” rel=”stylesheet” media=”print” />n’
// replace this with your css url from file cabinet
+'</head>n’
+'<body>n’
+'<h2>HTML Forms</h2>n’
+'<form action=”/action_page.php”>n’
+’ First name:<br>n’
+'<input type=”text” name=”firstname” value=”Mickey”>n’
+'<br>n’
+’Last name:<br>n’
+'<input type=”text” name=”lastname” value=”Mouse”>n’
+'<br><br>n’
+'<input type=”submit” value=”Submit”>n’
+'</form> n’
+'<p>If you click the “Submit” button, the form-data will be sent to a page called “/action_page.php”.</p>n’
+'</body>n’
+'</html>n’;
response.write(html);
Feel free to reach your NetSuite Solution Provider , TheSmilingCoders for proper netsuite implementation, netsuite consultation , netsuite customization, netsuite Support,netsuite Training, contact us at:
Email : [email protected]
Linkedin : https://www.linkedin.com/company/netsuite-academy/