[TYPO3-english] Formhandler : simple step form and condition between two fields

Christophe Duhamel christophe.duhamel-2 at univ-lille2.fr
Mon Mar 2 16:53:21 CET 2015


Hi,

I have to make a form with a condition between two fields.

In my step-1.html file, I have this :
###master_ajax_entite###
<!-- ###IF_entite = ###LLL:comp_6###### -->
###master_input_ajax_autre###
<!-- ###IF_entite = ###LLL:comp_6###### -->

So the "autre" input is display if the user select "comp_6" in the select list.

It's working but only after submit.

Is it the normal behavior ? How to do for check this on blur ?

I can't add javascript to do this myself because before submit the "autre" field doesn't exist yet. So I can't test it for make a "display:none/display:block" control...

Notice : The ajax "ok/notok control" is working for check if fields are empty or not.


Thanks !


More information about the TYPO3-english mailing list