Hi all,
I have the following code snippet (in a for-loop) when creating an assistant Suitelet:
var increaseFields = assistant.addField({
id: priceAdjMatIds[i],
type: serverWidget.FieldType.CHECKBOX,
label: priceAdjMaterials[i],
container: 'increase_field_group',
});
var decreaseFields = assistant.addField({
id: priceAdjMatIdsDec[i],
type: serverWidget.FieldType.CHECKBOX,
label: priceAdjMaterials[i],
container: 'decrease_field_group'
});
And these fields retain their values even when I navigate to the URL from the deployment record. Is there a way for me to clear out these fields every time the suitelet starts up? Thanks!