Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

OnSubmit – PB Docs 2022 – PowerBuilder Library

OnSubmit – PB Docs 2022

OnSubmit

event (DataWindows)

Description

This event is triggered just before the Web DataWindow causes a
submit.

Obsolete event

OnSubmit is obsolete and should not be used, because the Web
DataWindow technology is obsolete.

Web DataWindow client control event information

Event name: OnSubmit

Return Values

Returning 1 from this event will prevent the submit from
occurring.

Usage

Use to host multiple DataWindows.

Examples

The following client side script transfers the context and action
from one DataWindow to the DataWindow being submitted.

To enable the second DataWindow to create the required fields on the
submit form, each of the DataWindows must have two arguments defined in
the SelfLinkArgs property:

  • dw_first must have dw_second_context and dw_second_action
    defined

  • dw_second must have dw_first_context and dw_first_action
    defined


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x