Hi,
it is possibile to generate form (or a part of form) dynamically ?
I have a DB with data, I would like to create some CheckBox Group (+Fieldset if possible but not necessary) on form load, it is possible?
(PS not 1 CheckBox Group but many CheckBox Group, like part of form)
ty so much
bye, Fabio
Hi Fabio,
The "Checkbox group" field has a "dynamic data" section which you can use, but you need to load the data first using a "DB Read" action before the "Show html" action.
Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
thanks for the reply, my problem is different, the dynamic data assumes a CheckBox Group in Wizard whereas I would like to create "n" CheckBox Group dynamically
Now, in wizard I am creating around 50 checkbox group, I wanted to understand if I can do it automatically with the php code
(another idea is create the form with my script and then paste the code into custom code but so lose wizard...)
Hi Noein,
You can use Custom Code elements in the Designer tab to include chunks of Custom code in the form layout.
Bob
Hi Noein,
I usually break the code into two. I load the data and do any processing in a Custom Code action in the Setup tab; then output the HTML from that in a Custom Code element in the Designer tab. Just a question of personal preference though.
Bob