CatalogContactUsControl

CatalogContactUsControl displays a custom form and sends submitted information by email.

CatalogContactUsControl contact form

Configurable properties

Property Default Valid values or format Effect
FileLocation
String
Empty string ("")   Sets the form-layout content file.
LinkName
String
Empty string ("")   Sets the email configuration link name.
PublicKey
String
the value of the configuration found in the Site Configuration’s Scripts tab in Site Manager   Sets the public CAPTCHA key.
RecaptchaLanguage
String
"en"   Sets the CAPTCHA language.
RecaptchaProxyUrl
String
the value of the configuration found in the Site Configuration’s Scripts tab in Site Manager   Sets the CAPTCHA proxy URL.
RecaptchaTheme
String
the value of the configuration found in the Site Configuration’s Scripts tab in Site Manager   Sets the CAPTCHA theme.
RecaptchaUrl
String
the value of the configuration found in the Site Configuration’s Scripts tab in Site Manager   Sets the CAPTCHA verification URL.
RequiredFieldCheckFailureMessageText
String
"You have not completed all required fields.\n\nPlease complete the form fully before clicking Submit."   Sets the required-field validation message.
RequiredFormFields
String
the value of the configuration found in the Site Configuration’s Scripts tab in Site Manager   Sets the comma-separated required form-field IDs.
SiteKey
String
the value of the configuration found in the Site Configuration’s Scripts tab in Site Manager   Sets the CAPTCHA site key.
SubmitButtonCSSClass
String
"ContactFormSubmitButton"   Sets the submit button CSS class.
SubmitButtonText
String
"Submit"   Sets the submit button text.
UseRecaptcha
Boolean
true true, false Controls CAPTCHA use.

SitePages.config example

The following example loads CatalogContactUsControl.ascx and applies the documented literal defaults. The following properties are omitted because they do not have documented literal defaults: FileLocation, LinkName, PublicKey, RecaptchaProxyUrl, RecaptchaTheme, RecaptchaUrl, RequiredFormFields, SiteKey.

<Control src="CatalogContactUsControl.ascx"
         RecaptchaLanguage="en"
         RequiredFieldCheckFailureMessageText="You have not completed all required fields.\n\nPlease complete the form fully before clicking Submit."
         SubmitButtonCSSClass="ContactFormSubmitButton"
         SubmitButtonText="Submit"
         UseRecaptcha="true" />

Add this <Control> element to the appropriate page placeholder as described in The SitePages.config File.

Restricted properties

Property Default Valid values or format Effect
PrivateKey
String
the value of the configuration found in the Site Configuration’s Scripts tab in Site Manager   Contains a credential value and must be configured through the deployment’s secure secret-management process.
SecretKey
String
the value of the configuration found in the Site Configuration’s Scripts tab in Site Manager   Contains a credential value and must be configured through the deployment’s secure secret-management process.

Inherited properties

CatalogContactUsControl inherits shared conditions from CyberStoreBaseControl.


This site uses Just the Docs, a documentation theme for Jekyll.