Sign up |
Any chance of getting the plugin to optionally output Zurb Foundation 6 forms instead of Bootstrap? If I had to convert all of the Bootstrap forms to F6 every time, I might as well just keep making my own forms. I'd love to have a full license of this though. F6 is very powerful; I switched from Bootstrap years ago.
Thanks for posting.
We've coded Form Generator specifically with Bootstrap.
We could look at building you a custom version of the plugin that generates Foundation 6 though. I imagine that will take quite a bit of work, though. Contact me
Contact me through firstname.lastname@example.org and we can continue that part of the conversation there.
Shouldn't be that hard to modify ourselves either I think? I was looking at this because I will need to use different layouts, and not always bootstrap.
The plugin lists the various field types (text field, checkbox etc), the variables each type has (name, label etc) and then how to display the code
$fieldHtml = "<div class=\"form-group\">\n";
$fieldHtml .= " <label for=\"$name\">$label</label>\n";
$fieldHtml .= " <input type='$type' name='$name' value='<#php echo htmlencode(@\$_REQUEST['$name']) #>' id='$name' class='form-control' >\n";
$fieldHtml .= "</div>\n\n";
Would it not be a case of editing that code to use foundation rather than bootstrap, or a different class here and there to modify the whole output? I guess the main drag would be having the knowledge of the framework to modify that area of code?
Maybe in the development of the plugin, there could be some form of placeholders / advanced readme type instructions where we can define that? It would certainly make the plugin more future-proof.
Bootstrap is by far the most popular framework, so I can see why it has been implemented this way.
Yeah, I understand why Bootstrap was chosen... darn it. ;)
Hmmm. So there is a block like this for each field type? How many pages of code are we talking about? I wonder if I would become frustrated and pay anyway., haha. 2 hours dev time or something? This is of course why Ross preferred to discuss. I get it Ross, no offense.
I would also want the community to have the code though and have the plugin updated as new versions came out (basic forms probably won't change too much when new frameworks are released)
I don't know what will happen when Bootstrap 4 is out but for now, Foundation 6.3 is has me hooked. I may consider getting this plugin and looking into what you are suggesting, Tim. Worse case scenario, transcribing Bootstrap output to foundation may not be too painful but man... I'm going to want the full luxury of a Foundation output. The form creator I use now is awesome but overkill most of time. This plugin integration would be fantastic.
Tim's on the right track there with where the code would be changed. Keep in mind that there will likely be more edits required.
You are also on the right track in that customization at this level would likely not be future proof and need to be re-done each time we update the plugin.
Having said that, I think the most important thing to keep in mind is that Form Generator has just been released; we are still on version 1.
At this stage, we have the basics and are seeing where the feedback takes us in terms of where to go next and what's even on the road map for future releases.