Skip to content

bildschirmartist/contao-conditionalformfields

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

contao-conditionalformfields

Allows you to display a form field based on a condition which allows you to do something like "only display the field when value of field 'foo' is 'bar' and 'bla' is 'yes'".

$foo == 'bar' && $bla == 'yes'

You can also check the array (e.g. multiple checkboxes or select menu):

in_array('bar', $foo)

To validate a single checkbox simply compare its value:

$foo == '1'

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 68.8%
  • JavaScript 30.3%
  • ApacheConf 0.9%