To set up the sending form:
-
Create a component on the form that can be used to trigger a form
event.
-
With the component selected, click the Events
tab on the property sheet.
-
Click the ellipsis (...) button for
the Primary event field.
-
In the Event Handlers dialog box,
click New.
-
In the Event Handler Properties dialog
box, specify the name of the event in the Event
field.
-
For the Response > Type, select
Send Web Container Messsage.
-
Click the ellipsis button for the Parameters
field.
-
In the Event Handler Parms (Parameters)
dialog box, click Type Specific Parameters.
-
In the Edit Message To Web Container
dialog box, in the Message Type field,
specify a name for a custom message type.
-
In the JSON Message field, specify the data to be sent as the JSON
message.
Remarque: This
data does not need to be JSON code.
-
Save your work.