Home > widget-integration > BackInStockController > handlePhoneValidation

BackInStockController.handlePhoneValidation() method

Signature:

protected handlePhoneValidation(phoneInput: HTMLInputElement | null, errorMessageElement: HTMLElement | null, returnOnly?: boolean): boolean;

Parameters

Parameter

Type

Description

phoneInput

HTMLInputElement | null

errorMessageElement

HTMLElement | null

returnOnly

boolean

(Optional)

Returns:

boolean