TYPO3-如何将字段名添加到Formhandler errorListTemplate.singleWrap打字脚本
如何将fieldname添加到Formhandler errorListTemplate.singleWrap打字脚本 我有以下打字稿:TYPO3-如何将字段名添加到Formhandler errorListTemplate.singleWrap打字脚本,typo3,typoscript,html-formhandler,Typo3,Typoscript,Html Formhandler,如何将fieldname添加到Formhandler errorListTemplate.singleWrap打字脚本 我有以下打字稿: plugin.Tx_Formhandler.settings { singleErrorTemplate { totalWrap = | singleWrap = <span class="error">|</span> } errorListTemplate { totalWrap = <
plugin.Tx_Formhandler.settings {
singleErrorTemplate {
totalWrap = |
singleWrap = <span class="error">|</span>
}
errorListTemplate {
totalWrap = <div id="liste_erreurs"><ul>|</ul></div>
singleWrap = <li>|</li>
}
}
plugin.Tx\u Formhandler.settings{
单一错误模板{
总包裹=|
单包裹=|
}
错误列表模板{
totalWrap=|
单件包装=|
}
}
我想将当前字段名添加到errorListTemplate.singleWrap中,以获得如下结果:
errorListTemplate {
totalWrap = <div id="liste_erreurs"><ul>|</ul></div>
singleWrap = <li for="[FIELDNAME]">|</li>
}
errorListTemplate{
totalWrap=|
singleWrap=|
}
谢谢,祝你今天愉快:)我终于通过jQuery完成了。。。虽然没有那么干净,但它起了作用