[TYPO3-dev]  TCA condition for input type
    Florian Schwaiger 
    fschwaiger at gmail.com
       
    Mon Apr 21 13:13:57 CEST 2014
    
    
  
I have a TCA form config array for a calendar event with 3 fields: event_start (datetime), event_end (datetime) and full_day (check).
If the checkbox 'full_day' is checked, I want the form to display a different input type on 'event_start' and 'event_end', namely 'date' only.
I can get the form to reload easily and could hide the fields with a 'displayCond', but I cannot get the type to change from 'datetime' to 'date'. Maybe I have to define the field twice and then switch visibility?
    
    
More information about the TYPO3-dev
mailing list