![](/img/trans.png)
[英]TYPO3/Powermail: Howto to store plugin pid in hidden form field
[英]TYPO3 powermail - change transalation of one field in form
我正在寻找Powermail的TypoScript配置,以更改一种字段类型的验证强制消息: file upload 。 不幸的是,这种类型没有选项来指定自定义验证...
也许有一个通过TypoScript获取表单和字段的选项,例如:
[globalString = GP:tx_powermail_pi1|field|form_title = formTitle] && [filed ID or marker]
plugin.tx_powermail {
_LOCAL_LANG.default {
validationerror_mandatory = validation message
}
}
[global]
感谢帮助。
如果您在一种表单中使用了多个上传字段,则目前无法仅更改其中一个。 但是,如果您只处理一个文件字段,则可以将扩展模板设置为表单所在的页面。
你可以这样 有关更多信息, 请单击
plugin.tx_powermail_pi1 {
validate.uid41.auto = email
validate.uid41.errormsg = Please check your email, there is an error!
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.