Forums

Do not show label if the field is not filled

francescocartei 02 Sep, 2017
Hi, I have a multipage module where I have different text fields, not all obligatory, all with a label, and I would like in the summary the fields that were not filled will not be displayed (not even the label).
Max_admin 03 Sep, 2017
Hi armando,

For this you will need a switch action, for each field, in the "data provider" you need to use {data:field_name} and in the switch body you need to add the summary contents of that field.

This can be inside a loop of course.

Best regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Max_admin 06 Sep, 2017
Hi Armando,

It's the data provider in the "Switch" action, not that one, please remove it from there or it may cause problems.

What is the code in your summary page ?

Best regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
This topic is locked and no more replies can be posted.