Skip to content

RMP_Captcha

For Captcha widgets, all functions in Common_Functions_AllWidgets are available, except for the following:

  • getLabel
  • setLabel
  • getValue
  • setValue
  • setActiveRule
  • setRequired
  • setRequiredRule
  • setValideRule
  • setVisible
  • setVisibleRule
  • setMissingVariableMessage

Methods

getType() โ†’ {string}

This function returns the type of the widget(RMP_Captcha)

** Returns: string**

setOnCaptchaValidated(callBk)

Callback function to execute the setOnCaptchaValidated script of a captcha widget.

Parameters:

Name Type Description
callBk module:RMP_Captcha~callbackFunction Callback that handles the "setOnCaptchaValidated" script.

Type Definitions

callbackFunction()

Callback function to execute the setOnCaptchaValidated script of a captcha widget.