wallter / codeigniter_bootstrap_form_builder Goto Github PK
View Code? Open in Web Editor NEWCodeigniter + Bootstrap 2/3 Form Builder
License: MIT License
Codeigniter + Bootstrap 2/3 Form Builder
License: MIT License
i cant make Published
array(/* DROP DOWN */
'id' => 'published',
'type' => 'dropdown',
'options' => array(
'1' => 'Published',
'2' => 'Disabled'
)
I think input type:
date
number
should be added.
Hi wallter,
great job! Love your lib.
BR
Gregor
Is there a way to do suppress one of the labels for the checkbox group? Right now, if only one checkbox is included, it has two labels: one for the group, and one for the box itself.
how can you set a default value for a group of radio buttons, so that one of them is pre-selected? or a checkbox?
Is there a way to specify a file input? how can it be achievable?:
Answer:
array(/* INPUT */
'id' => 'file_upload',
'placeholder' => 'Item Color',
'type' => 'file',
)
What if I want to add a cancel button?
ex. echo 'Cancelar';
just wondering.
there is only errors :D how can i use this?does it work for codeigniter 2.1 or even codeigniter 3?
radio button group does it support ?
Hi!
Just installed your library. Great to use!
But I think I found some minor errors:
$extra .= "{$k}=\"{$v}\"";
new:
$extra .= " {$k}=\"{$v}\"";
case 'form_submit':
$name = $this->elm_options['id'];
$label = $this->_make_label((isset($this->elm_options['label']) ? $this->elm_options['label'] : $this->elm_options['id']));
// CHANGED:
unset($this->elm_options['id']); // new
unset($this->elm_options['label']); // new
/* DELETED:
if (!isset($this->elm_options['value'])) {
unset($this->elm_options['name']);
}
*/
Now the errors in html are fixed. Maybe you'll have a look and can implement this as well ?
Still have some trouble when putting a form into a bootstrap "panel", the panel-size is not increased, so the form runs out of the panel.So I've to check this further ..
Thanks for that library !
Knut
using: codeigniter V.3.0.rc3, bootstrap 3.3.4, grocery-crud.1.5.1,font-awesome 4.3
syntax error, unexpected ''open_form'' (T_CONSTANT_ENCAPSED_STRING), expecting ')'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.