Class ClientFormContext

Index

Properties

Methods

Properties

public controlMode: number

public fieldName: string

public fieldSchema: FieldSchema_InForm

public fieldValue: any

public itemAttributes: { ExternalListItem: boolean; FsObjType: number; Id: number; Url: string; }

public itemAttributes.ExternalListItem: boolean

public itemAttributes.FsObjType: number

public itemAttributes.Id: number

public itemAttributes.Url: string

public listAttributes: { BaseType: number; DefaultItemOpen: number; Direction: string; EnableVesioning: boolean; Id: string; }

public listAttributes.BaseType: number

public listAttributes.DefaultItemOpen: number

public listAttributes.Direction: string

public listAttributes.EnableVesioning: boolean

public listAttributes.Id: string

public webAttributes: { AllowScriptableWebParts: boolean; CurrentUserId: number; EffectivePresenceEnabled: boolean; LCID: string; PermissionCustomizePages: boolean; WebUrl: string; }

public webAttributes.AllowScriptableWebParts: boolean

public webAttributes.CurrentUserId: number

public webAttributes.EffectivePresenceEnabled: boolean

public webAttributes.LCID: string

public webAttributes.PermissionCustomizePages: boolean

public webAttributes.WebUrl: string

Methods

public registerClientValidator(fieldname: string, validator: ValidatorSet)

Parameters

public registerFocusCallback(fieldname: string, callback: () => void)

Parameters

  • fieldname: string
  • callback: () => void

public registerGetValueCallback(fieldname: string, callback: () => any)

Parameters

  • fieldname: string
  • callback: () => any

public registerHasValueChangedCallback(fieldname: string, callback: (eventArg?: any) => void): any

Parameters

  • fieldname: string
  • callback: (eventArg?: any) => void

Returns

any

public registerInitCallback(fieldname: string, callback: () => void)

Parameters

  • fieldname: string
  • callback: () => void

public registerValidationErrorCallback(fieldname: string, callback: (error: any) => void)

Parameters

  • fieldname: string
  • callback: (error: any) => void

public updateControlValue(fieldname: string, value: any)

Parameters

  • fieldname: string
  • value: any