Hi All, I'm new to SuiteScript and I'm working on an issue, hoping someone could assist 🙂
Is there a way to set a value to a field that would trigger a client script (CS) on a Suitelet? I have a Suitelet that has a CS running on it. The CS logic is if I trigger field A on that Suitelet, other fields will be visible. With the new logic, I want to default field A to a value that would trigger that CS.
I tried using field.defaultvalue & form.updateDefaultValues and it works but it just sets the default values without triggering the CS. I tried to use currentRecord module to setvalue but that didn't work either. Is there anything else I can try?