Joomla 6 Notice

We are pleased to announce that all our Joomla extensions have been compatible with Joomla 6 since October 14th, 2025.

For those currently upgrading from Joomla 3 to 4: Instructions for Joomla 4 migration can be found here:

There are standalone documentations Visforms Joomla 4, Visforms Joomla 5 and Visforms Joomla 6.

Forum

Visforms Subscription user can ask questions in our forum. Please log in with the relevant user first.
Everybody can access the forum for reading.

Please only ask 1 question per topic.

Important information for almost every question:
V1: Which Visforms version is running?
V2: Which Joomla version is running?
V3: Which PHP version is running?

how to add some fields depending user input

More
6 years 8 months ago #6280 by hooman52
Hi,
I have a field " number of children" and user must be write in it for example 2 or 3. now I need to know each children's age, so I need to be displayed 2 or 3 extra fields for writing age of each children by user. let me ask you give me some idea for doing this.
thanks

More
6 years 8 months ago #6281 by Administrator AV
Replied by Administrator AV on topic how to add some fields depending user input
Hi,

you cannot achieve this by using a field of type number. You cannot trigger the display of a conditional field based on an input in a number field.

Create for example a select of a radio button with as many numeric values as you think there might be number of children.

Then set up the fields for the age of child 1, child 2 etc. and make them conditional.

Field for age of child 1 is displayed, when the value in the select (or radio) is 1 or 2 or 3...

Field for age of child 2 is displaye, when the value in the select (or radio) is 2 or 3..

and so on

Regards,
Aicha

:idea: I recommend you the new and up-to-date documentation for Joomla 6:
docs.joomla-6.visforms.vi-solutions.de/en/docs/
Please ask only 1 question per topic :-).

:idea: Ich empfehle Dir die neue und aktuelle Dokumentation fĂĽr Joomla 6:
docs.joomla-6.visforms.vi-solutions.de/docs/
Bitte immer nur 1 Frage pro Thema stellen :-).
The following user(s) said Thank You: hooman52

Moderators: Administrator AVAdministrator IV
Powered by Kunena Forum