Yes.

crud.settings.formstyle='divs'.

Now you can position the divs any way you like with css.

On Feb 16, 5:38 pm, greenpoise <danel.sega...@gmail.com> wrote:
> Where is the limit? could I align the textboxes horizontally??
>
> The code above worked did the reisizing!
>
> On Feb 16, 3:02 pm, Massimo Di Pierro <massimo.dipie...@gmail.com>
> wrote:
>
>
>
>
>
>
>
> > On Feb 16, 7:09 am, Massimo Di Pierro <massimo.dipie...@gmail.com>
> > wrote:
>
> > > given...
> > > from=crud.create(....)
>
> > > you can do
>
> > > form e in form.elements('input[type=text]'): e['size']=50;
>
> > this is in controller (before {{=form}}.
>
> > > or in JS
>
> > > <script>jQuery('input[type=text]').css('width':'50px'):</script>
>
> > This after unless wrapper in $(document).ready({....}); in which case
> > before, possibly in header.
>
> > > or better in CSS
>
> > <style>input[type=text] {width: 50px;}</style>
>
> > This can go on header or in the CSS file (without the <style>...</...>
>
> > > On Feb 15, 10:59 pm, greenpoise <danel.sega...@gmail.com> wrote:
>
> > > > Sorry for a possible double post but honestly, I could not find my
> > > > previous post. I had asked if it was possible to customize CRUD forms?
> > > > such as the length of the text boxes????? if so, how?  I love the
> > > > simplicity of CRUD and would prefer it over manually creating forms
>
> > > > THanks

Reply via email to