Size
Specifies the maximum field size in characters. This is the field size displayed on the screen.
Values
Integer
Examples
ThisPersonId = CRM.GetContextInfo('Person','Pers_PersonId');
ThisPersonRecord =
CRM.FindRecord('Person','Pers_Personid='+ThisPersonId);
PersonBlock = CRM.GetBlock('PersonBoxLong');
FirstName = PersonBlock.GetEntry('Pers_FirstName');
FirstName.Size = 40;
CRM.AddContent(PersonBlock.Execute(ThisPersonRecord));
Response.Write(CRM.GetPage());
Retrieves the pers_firstname field from the PersonBoxLong screen, and then sets the maximum size of the field to 40 characters.