ragnarokkr Posted April 16, 2016 Share Posted April 16, 2016 Hi everybody! I'm trying to figure out how to do what is mentioned into the title but I'm stuck into this issue and can't get a valid idea, still Let me to explain better what I'm looking for. I've seen some module (and I can't remember the name ) that asks to the user to fill a field and save the data before to come back to the module settings with other fields enabled and (maybe) pre-compiled using the previously filled field. What I'm trying to do is to make a module using the new PW 2.5.x syntax (the one which separates the module from its configuration via <module_name>Config.php file) that at installation time asks the user to select from the available templates, then submit the choice. Once submitted, the module should provide more setting fields based on the previously choosen template. It would be a great help if someone could help me to figure it out and/or point me at some module which implements this kind of logic. Thanks in advance! Link to comment Share on other sites More sharing options...
LostKobrakai Posted April 16, 2016 Share Posted April 16, 2016 The BatchChildEditor is using this quite heavily if I remember correctly. And to get more information search for showIf and requireIf. Link to comment Share on other sites More sharing options...
ragnarokkr Posted April 16, 2016 Author Share Posted April 16, 2016 Thanks @LostKobrakai. Unfortunately it doesn't use the logic i was looking for. I will stay generic with my module by the moment, until I will find it and figure out how to do it. 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