首页 > 资料专栏 > 经营 > 运营治理 > 其他资料 > WorkingwiththeContactModulePDF

WorkingwiththeContactModulePDF

台湾宏鹏***
V 实名认证
内容提供者
热门搜索
资料大小:146KB(压缩后)
文档格式:PDF
资料语言:中文版/英文版/日文版
解压密码:m448
更新时间:2024/7/1(发布于浙江)

类型:积分资料
积分:10分 (VIP无积分限制)
推荐:升级会员

   点此下载 ==>> 点击下载文档


“WorkingwiththeContactModulePDF”第1页图片 图片预览结束,如需查阅完整内容,请下载文档!
文本描述
Working with the Contact Module (contact.xml) The contact module is a flexible module that will allow you to build your own custom form GLOBAL SETTINGS <useStyleSheet> choose to use a stylesheet for html text formatting <styleSheetUrl> the url of your css style sheet <submitFromEmailField> choose to send yourself the email from the email address entered in the form <restrictPhoneNumbers> choose to restrict a phone number field to only allow numbers <submitButtonText> the text for the submit button clearButtonText = the text for the clear button <successMessage> the success message once a form has been submitted FIELD XML SETTINGS <input isEmail="false"> <fieldName>Name...</fieldName> <fieldType>small</fieldType> <required>true</required> <validationType>basic</validationType> <errorMessage>Please enter your Name</errorMessage> </input> "isEmail" whether the field is an email field or not, true or false <fieldName> The text that will initially appear in the field <fieldType> 1) small 2) large (typically used for a message) <required> true or false <validation> (only relevent if "required" is set to "true") 1) basic (a basic input field) 2) email 3) phone <errorMessage> the message that will appear when the field fails validation