On Feb 16, 7:09 am, Massimo Di Pierro <[email protected]>
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 <[email protected]> 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