When we submit a suitelet with a checkbox inside t...
# suitescript
a
When we submit a suitelet with a checkbox inside the suitelet form, can we send a value along that check box to the request?
s
Not sure what you mean by send a value along? The value of the checkbox can be read in the POST, it on the
context.request.parameters
a
That would be either true or false
How can we send a text with that too
If not possible how can we send an object to the post request?
Also what's checkboxFieldId_send property in the request object which is empty can we set this?
s
If you want to send text then you need a field to hold the text, which would also be in the parameters
p
you could also consider using a radio field type instead of checkbox which would allow you to set a label and value for each option.