Discussions
Defaulting 'isperson' field on customer form
On the customer form, the isperson field is used to indicate whether the record pertains to a company or an individual. It is displayed as radio buttons, which default to 'false' (ie. record relates to a company, not a person). When the 'person' radio button is clicked, the name fields are displayed.
The standard default for this field is 'false'. I wish to change the default to 'true' (ie. have the radio button default to the fact that the record relates to a person, and display the name fields when the page is displayed).
I have tried writing a PageInit() function and calling nlapiSetFieldValue( "isperson", "T" ) and/or nlapiSetFieldValue( "isperson", true ). Neither of these seem to work.