Hi all, when the account form loads, I have some OnLoad code that I'm using (below) that drags the "accountid" into an empty, read only field. I want to be able to clean the "accountid" data so as to format it to be suitable to be passed as in a URL parameter
(this entails removing the curly brackets, any punctuation characters, dashes etc). Any ideas how I can add that code to the following snippet? Thanks.
if (crmForm.FormType != 1) {
crmForm.all.accountnumber.DataValue = crmForm.ObjectId;
}