How can I default a form in script based off of a ...
# suitescript
j
How can I default a form in script based off of a certain customer? I've been trying in a beforeLoad. If I do it in a client script page init will it affect user experience?
d
Use redirect to record api, additionally add the query string Example URL which u get from resolve url and additionally to the string add &cf=customformid Ex:https://system.netsuite.com&cf=69 If u need url either use url module or get field value of entry form query string Once url formed redirect to same record with the url which we add &cf=customformid Code should be in before load
We have done this it will work
j
Alright, thanks. I'll try it!