<@U2CQPCRFT>, If you're going that route, you may ...
# suitescript
j
@aaz, If you're going that route, you may as well write the whole form as a separate .html file and just have it post back to the suitelet. No need to use the suitelet to render it at that point.
a
interesting - but how I could post to suitelet
from html form
method as an POST and action as suitelet ?
Am I right ?
j
$.ajax({ url: 'your suitelet url', type: "POST", data: data, dataType:'json', success: function (data) { console.log('Success'); });
sample with ajax
I think <form action="your suitelet url"> would work too