Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/typo3/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Forms 如何在TYPO3中否定条件验证>;打字稿>;Formhandler?_Forms_Typo3_Typoscript - Fatal编程技术网

Forms 如何在TYPO3中否定条件验证>;打字稿>;Formhandler?

Forms 如何在TYPO3中否定条件验证>;打字稿>;Formhandler?,forms,typo3,typoscript,Forms,Typo3,Typoscript,我想检查一个字段是否有“MasterValue”以外的值。如果这是真的,那么它必须是另一个现场测试的验证 但是赋值运算符“!=”不起作用。使用“=”可以工作并显示所需的字段消息 打字稿: if { 1 { conditions { OR1.AND1 = nationality!=MasterValue } isTrue { validators.1.config.fieldConf {

我想检查一个字段是否有“MasterValue”以外的值。如果这是真的,那么它必须是另一个现场测试的验证

但是赋值运算符“!=”不起作用。使用“=”可以工作并显示所需的字段消息

打字稿:

if {
    1 {
        conditions {
            OR1.AND1 = nationality!=MasterValue
        }
        isTrue {
            validators.1.config.fieldConf {
                residence_permit {
                    errorCheck.1 = required                                     
                }
            }
        }

    }
} # if 
版本:TYPO3 4.5.2,Formhandler 0.9.12


Thx

看起来您在那里遇到了一个bug:

这是固定的1.0.0,考虑升级格式处理程序。< /P>