kongondo Posted August 5, 2013 Share Posted August 5, 2013 (edited) So am digging deep into the world of module development. Exciting! PW makes it easy to quickly create form elements for use in Process Modules UI. I have searched the forums and looked at different modules but have not been able to find out if it is possible to wrap form elements in one InputfieldWrapper or InputfieldMarkup as shown in the attached screenshot (#2). I don't want the individual form elements within the wrapper/container to also have the collapsible panel wrapper which is what happens by default whenever you add an inputfield in a module (screenshot #1). The only wrapper I want is the outer one. Is this doable using the API or I'll need to fiddle with CSS or directly include the form elements myself? Hope this makes sense. Thanks. What I am getting: What I would like: Edit Possibly related http://processwire.com/talk/topic/59-module-want-form-builder/?p=611 Edited August 5, 2013 by kongondo Link to comment Share on other sites More sharing options...
Wanze Posted August 5, 2013 Share Posted August 5, 2013 I don't think it's possible. To achieve your goal, you can make 'Your details' an InputfieldMarkup and add the lables / input fields yourself (HTML markup). 1 Link to comment Share on other sites More sharing options...
kongondo Posted August 5, 2013 Author Share Posted August 5, 2013 Thanks Wanze.. Link to comment Share on other sites More sharing options...
arjen Posted August 5, 2013 Share Posted August 5, 2013 Kongondo, I remember this post about markup for generating forms by Willy a while ago. Does that help you? Link to comment Share on other sites More sharing options...
kongondo Posted August 5, 2013 Author Share Posted August 5, 2013 Thanks Arjen! I forgot about that (I even liked that post! ). I'll test it and report back.. Link to comment Share on other sites More sharing options...
dragan Posted August 5, 2013 Share Posted August 5, 2013 "Selection: Male or Email"? That sounds... a bit strange. 2 Link to comment Share on other sites More sharing options...
kongondo Posted August 5, 2013 Author Share Posted August 5, 2013 "Selection: Male or Email"? That sounds... a bit strange. Hehe. I'm a strange guy I knew that'd catch on...hehe. Nah, just a typo, in my haste to demo what I meant Link to comment Share on other sites More sharing options...
kongondo Posted August 6, 2013 Author Share Posted August 6, 2013 Or....I could just implement the input fields in a Table, duh! Batcher does this (module) so does this excellent example (frontend - but can work in a module too) by Soma Who said tables were dead?! 1 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