Hi,
I made a javascript, uploaded it in suitescript folder,
made a custom action for the click_request_form.
I know how to use make a button and call a javascript function.
but this time, i need to use nlapiGetFieldValue
im getting this error: "JS_EXCEPTION
TypeError cannot call method 'write' of undefined"
function click_request_form(request, response){ var fname = nlapiGetFieldValue('firstname'); var html = "<input type='text' value='"+fname +"' name='firstname' />"; response.write( html ); }anyone please advicetia (thanks in advance)