how do can i get customform field in view mode? in...
# suitescript
r
how do can i get customform field in view mode? in userevnt or client script?
n
You should be able to get it in a UE, should be easy enough to test...
r
i am not getting it in beforeload
nothing
i want to show button custom if form id is 239
possible?
n
You want to add a button if a certain form is loaded? Presuming the form internal id is available on the beforeLoad then sure, why not 🙂
r
Copy code
var newRec = context.newRecord;

      log.debug({
          title: 'newRec',
          details: newRec
      })

      var formval = newRec.getValue("customform");
i did nt get it in log, is there any other way
because if i able to get it in workflow .. i should be able to get it here too?
if there is a way
n
Sorry I'm no guru when it comes to WorkFlows, you could ask in the suiteflow channel maybe.