dragan Posted January 26, 2019 Share Posted January 26, 2019 Is there a way to use field dependencies like myfieldset=0/1 or myfieldset=open/closed ? This would be awesome for large, complex forms. Instead of classical multi-page forms, or building something entirely custom with Vue/React/YourFavoriteFrameworkThisYearAround... So, e.g. if the user has completed step 1 (= fieldset 1), he could go to the next step 2, and fieldset 1 automatically closes. Perhaps there's already something similar around to achieve the same thing? (core or extra modules) Link to comment Share on other sites More sharing options...
dotnetic Posted January 26, 2019 Share Posted January 26, 2019 What excactly are you trying to do? And where? Is this for the admin or the frontend? Do you want to output fields from a admin template on the frontend and make it a multi step form? Link to comment Share on other sites More sharing options...
dragan Posted January 27, 2019 Author Share Posted January 27, 2019 I was thinking in the backend, in a template. I know I can split up a template into several tabs, but that's not really how multi step forms usually work or look like. Usually you'd have a button at the bottom "next" and then onClick open up the next number of input fields and hide the previous one (sort of like an accordion). Using checkboxes instead of buttons (for the "next" or "previous" actions) would probably work with the existing PW inputfield dependency possibilities. However, from a UX point of view it would feel strange. Has someone ever thought of creating an inputfield button (for uses like this)? Perhaps I'll try to use RuntimeMarkup, together with some custom admin.js... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now