Dynamic form

Mari

New Member
Hi!
Is it possible to create dynamic forms?
For example,
1 I add an element of type dropdown (two sub options)
2 Choosing 1 = displays the item id ... or any other form
2 Selecting 2 = displays the item id ... or any other form

Is it possible to create such dynamic forms?

Best Regards!
 
You can add a redirect form plugin with a redirect URL using placeholders (i.e. the content of form elements).
Or you can add JS to your elements showing/hiding other elements/groups.
 
Hi troester,
Thank you for your response.
Or you can add JS to your elements showing/hiding other elements/groups.

Looking at the documentation Fabrik, but I have not found.
This is an example of use?
 
Depending on your needs. You could use groups in a single form as suggested by Troester and use JS in form_X.js to handle all the desired behavior.

You could also use the form content plugin and display multiple forms in a single article (haven't done it yet nor tested it) and still use some form_X.js to handle the behavior.

I personally haven't used much of the Fabrik php or js settings in form or elements. I just prefer keeping my code in one place ;-)

I hope "handle the behavior" is enough details ;-). If not, look at my other post, I had to deal with similar issue at it might help you "get started".
 
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top