Please enable JavaScript to view this site.

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

Events.After unsuccessful registration

Scroll Prev Next More

Description

The AfterUnsuccessfulRegistration event is executed on the registration page if a new user record wasn't created.

Syntax

public XVar AfterUnsuccessfulRegistration(dynamic userdata, ref dynamic message, 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.

 

message

place the message to be displayed into this variable.

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 successful registration

Before registration