Join Slack
Powered by
<@U2CQPCRFT>, If you're going that route, you may ...
# suitescript
j
jarens
12/27/2018, 2:57 PM
@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
aaz
12/27/2018, 4:04 PM
interesting - but how I could post to suitelet
aaz
12/27/2018, 4:05 PM
from html form
aaz
12/27/2018, 4:06 PM
method as an POST and action as suitelet ?
aaz
12/27/2018, 4:07 PM
Am I right ?
j
jarens
12/27/2018, 4:20 PM
$.ajax({ url: 'your suitelet url', type: "POST", data: data, dataType:'json', success: function (data) { console.log('Success'); });
jarens
12/27/2018, 4:20 PM
sample with ajax
jarens
12/27/2018, 4:22 PM
I think <form action="your suitelet url"> would work too
4
Views
Open in Slack
Previous
Next