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

Configurable properties
| Property | Default | Valid values or format | Effect |
|---|---|---|---|
FileLocationString | Empty string ("") | Sets the form-layout content file. | |
LinkNameString | Empty string ("") | Sets the email configuration link name. | |
PublicKeyString | the value of the configuration found in the Site Configuration’s Scripts tab in Site Manager | Sets the public CAPTCHA key. | |
RecaptchaLanguageString | "en" | Sets the CAPTCHA language. | |
RecaptchaProxyUrlString | the value of the configuration found in the Site Configuration’s Scripts tab in Site Manager | Sets the CAPTCHA proxy URL. | |
RecaptchaThemeString | the value of the configuration found in the Site Configuration’s Scripts tab in Site Manager | Sets the CAPTCHA theme. | |
RecaptchaUrlString | the value of the configuration found in the Site Configuration’s Scripts tab in Site Manager | Sets the CAPTCHA verification URL. | |
RequiredFieldCheckFailureMessageTextString | "You have not completed all required fields.\n\nPlease complete the form fully before clicking Submit." | Sets the required-field validation message. | |
RequiredFormFieldsString | the value of the configuration found in the Site Configuration’s Scripts tab in Site Manager | Sets the comma-separated required form-field IDs. | |
SiteKeyString | the value of the configuration found in the Site Configuration’s Scripts tab in Site Manager | Sets the CAPTCHA site key. | |
SubmitButtonCSSClassString | "ContactFormSubmitButton" | Sets the submit button CSS class. | |
SubmitButtonTextString | "Submit" | Sets the submit button text. | |
UseRecaptchaBoolean | 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 |
|---|---|---|---|
PrivateKeyString | 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. | |
SecretKeyString | 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.