Giter VIP home page Giter VIP logo

codeigniter_bootstrap_form_builder's Issues

only errors :D

there is only errors :D how can i use this?does it work for codeigniter 2.1 or even codeigniter 3?

Parsing Error

syntax error, unexpected ''open_form'' (T_CONSTANT_ENCAPSED_STRING), expecting ')'

possible found some glitches (submit-button, select-field) ...

Hi!
Just installed your library. Great to use!
But I think I found some minor errors:

  1. the select-field generates attributes without separating spaces. Fixed this locally by adding an extra space in function _create_extra_string():
    old:
  $extra .= "{$k}=\"{$v}\""; 

new:

  $extra .= " {$k}=\"{$v}\""; 
  1. the submit-field generates the name and value-attibutes twice, so I changed the function _build_input():
            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

lone checkbox

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.

Howto doing cascading dropdown

Hi wallter,
great job! Love your lib.

  • Howto build a cascading dopdown with your lib?
  • howto make forms uver tabs?
    Thanks for any help

BR
Gregor

radio button default

how can you set a default value for a group of radio buttons, so that one of them is pre-selected? or a checkbox?

File Upload Input

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',
)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.