getFormJson

Function

Given a Survey Item, return the form json, if it exists.

Given a Survey Item, return the form json, if it exists.

  • getFormJson(item: IItem, requestOptions: IGetItemInfoOptions) : Promise<any>

Parameters

Parameter Type Default Notes
item Required IItem
requestOptions Required IGetItemInfoOptions

Available requestOptions

Property Type Notes

Returns

Promise<any>

Function defined in common/src/surveys/utils/get-form-json.ts:17