Skip to content

context.ResponseSet

Overview

Store information in a form using "Server Script". Same as when 'Set' is specified in the method parameter of "context.Addresponse".

Syntax

context.ResponseSet(target,value)

Parameters

Parameter Type Overview
Target String Specify the ID of the target element.
Value Object Specify the element or value.

Return Value

There is no return value.

Usage Examples

In the following example, the following information is stored in the form ($p.data.MainForm):
【Information to store】

  • Column: NumA Column
  • Value: 123
context.ResponseSet('NumA',123);
// Same result as below.
// context.AddResponse('Set', 'NumA',123);