Please enable JavaScript to view this site.

Navigation: Advanced topics > Events > Global events > Register page

Events.After successful registration

Scroll Prev Next More

Description

The AfterSuccessfulRegistration event is executed on the registration page after new user data was added to the database.

Syntax

public XVar AfterSuccessfulRegistration(dynamic userdata, dynamic pageObject)

Arguments

userdata 

an array that stores values entered on the Registration page. To access a specific field value, use userdata["FieldName"].

Note: Field names are case-sensitive. If the field name is PlayerId, you should use userdata["PlayerId"]. Note that userdata["playerid"] or userdata["PlayerID"] will not work.

 

pageObject

an object representing the current page. For more information, see RunnerPage class.

Applies to pages

Registration.

Recommended predefined actions and sample events

Send a simple email

Insert a record into another table

Check to see if a specific record exists

Display a message on the Web page

Redirect to another page

See also:

Grid Row JavaScript API: row.getFieldValue()

Events.After unsuccessful registration

Security screen

Before registration