RECOMMENDATION: If you are using a version of The Portal Connector higher than 4.0, we strongly recommend utilizing the MVC based widgets and components to create your site. This documentation is for legacy purposes only and will soon be deprecated.

get_container()

Returns the container element for the widget.

Example-Registration Fetch Container Element

tpc.page.TpcRegistration.get_container();
Parameters

None

Returns

jQuery Object

get_firstName_input()

Returns the first name input associated with the widget.

Example-Registration Fetch First Name Input

tpc.page.TpcRegistration.get_firstName_input();
Parameters

None

Returns

jQuery Object

get_lastName_input()

Returns the last name input associated with the widget.

Example-Registration Fetch Last Name Input

tpc.page.TpcRegistration.get_lastName_input();
Parameters

None

Returns

jQuery Object

remove_click()

Removes any delegate hooked up to the add_valueChanged() event.

Example-Registration Remove Click

tpc.page.TpcRegistration.remove_click();
Parameters

Function

Returns

None

get_repeatPassword_input()

Returns the repeat password input associated with the widget.

Example-Registration Fetch Repeat Password Input

tpc.page.TpcRegistration.get_repeatPassword_input();
Parameters

None

Returns

jQuery Object

get_password_input()

Returns the password input associated with the widget.

Example-Registration Fetch Password Input

tpc.page.TpcRegistration.get_password_input();
Parameters

None

Returns

jQuery Object

hide()

Hides the widget from the page.

Example-Hide Registration

tpc.page.TpcRegistration.hide();
Parameters

None

Returns

None

disable()

Disables the widget on the page.

Example-Disable Registration

tpc.page.TpcRegistration.disable();
Parameters

None

Returns

None

toggle()

Toggles the visibility of the widget.

Example-Toggle Registration

tpc.page.TpcRegistration.toggle();
Parameters

None

Returns

None

get_model()

Returns the model object of the widget, which contains a number of useful properties related to the widget.

Example-Registration Fetch Model

tpc.page.TpcRegistration.get_model();
Parameters

None

Returns

None

show()

Shows the widget on the page.

Example-Show Registration

tpc.page.TpcRegistration.show();
Parameters

None

Returns

None

get_reCaptcha()

Returns the reCaptcha input associated with the widget.

Parameters

None

Returns

jQuery Object

get_emailAddress_input()

Returns the email address input associated with the widget.

Example-Registration Fetch Email Input

tpc.page.TpcRegistration.get_emailAddress_input();
Parameters

None

Returns

jQuery Object

enable()

Enables the widget on the page.

Example-Enable Registration

tpc.page.TpcRegistration.enable();
Parameters

None

Returns

None

get_type()

Returns the widget type.

Example-Registration Fetch Type

tpc.page.TpcRegistration.get_type();
Parameters

None

Returns

String

get_submitButton()

Returns the submit button associated with the widget.

Example-Registration Fetch Submit Button

tpc.page.TpcRegistration.get_submitButton();
Parameters

None

Returns

jQuery Object

add_click()

Fired when the value of the widget is clicked by the user. 
The event handler function context (available via this keyword) will be set to the widget instance.

Example-Registration Add Click

tpc.page.TpcRegistration.add_click();
Parameters

Function

Returns

None