For question two, you'll need to write your own as field-list is set
to use a table.  You can use the field-list source as a guide or if
you want this for every field-list, you can redefine labelled-item-
list, labelled-item, item-label, item-value (not as much work as it
sounds like) to use something other than table.

<def tag="labelled-item-list"><table class="field-list" merge-
attrs><do param="default"/></table></def>

<def tag="labelled-item"><tr merge-attrs><do param="default"/></tr></
def>

<def tag="item-label"><th merge-attrs><do param="default"/></th></def>

<def tag="item-value"><td merge-attrs><do param="default"/></td></def>

That's what the default is, basically you'd just need to change the
wrapping tags for each.

On Aug 31, 9:26 am, Pete <[email protected]> wrote:
> Hi,
>
> I am looking for some simple help with form field views.
>
> Help 1.
>
> I have an Integer field (field 1 :integer, :required)
>
> I just want to be able to manipulate the field view in order that the
> input for an Integer is not a very long blank box.
>
> As I have some validation to ensure the integer is no longer than 300
>
> I know I need to simply edit the view for the field as:
>  <field1-view:><My Desired view></field1-view:>
>
> But i don't really know where to find a method to enter in here which
> will allow me to change the size of the field box, or give me a custom
> number entry box, which has a maximum size.
>
> Help 2.
>
> Once I have the trimmed down entry field, I would like to be able to
> view my fields in-line, rather than see a carriage return between each
> field in my form?
>
> e.g.
>
> field1:      [       ], field2, [        ], field3, [         ]
>
> rather than
>
> field1: [        ]
> field2  [        ]
> field3  [        ]
>
> Thanks for any suggestions! :)
>
> Pete

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en.

Reply via email to