RE: How to keep value in field in suitelet form after submit?
Hi, I have created a Suitelet from where user can select the “Start Date” and “End Date” on the basis of the time period transaction would be shown their after clicking on “Submit” button. and its running fine…. but the value of the date field(Start Date and End date) is lost.. I want to keep it in the field..
I have not used any client script for this entire task. its all happening through suitelet script. I used record.setValue but its not working its showing me error like its not a function so on.. please help… How can I keep the field value in field after submitting. Thanks!!
Hey Chris Thanks to Guide,
you mean Field.defaultValue = custdate;
I have already done this but its showing me error like “”TypeError: Cannot set property ‘defaultValue’ of undefined [at Object.onRequestForm . even I have mentioned the module as well..