I'm using formhandler extension v1.6.2 and Typo3 v6.1.5.
User must upload a CV or fill in LinkedIn ID. If none of the fields are filled, an error should appear and the form should not be submitted. So, I would like to add typoscript conditions but it doesn't work :
HTML
<input type="file" id="file" name="cv[file]">
<input type="text" size="20" id="linkedin" name="cv[linkedin]">
Typoscript
plugin.Tx_Formhandler.settings {
if {
1 {
conditions {
OR1 {
AND1 = file=
AND2 = linkedin=
}
isTrue {
validators.1.config.fieldConf.linkedin.errorCheck.1 = required
}
}
}
}
}
Thanks for any help !