FAQ
Hi guys,

say, I have a form yml like ...

- type: Text
name: foo

This results in HTML markup like ...

<div class="text">
<input type="Text" name="foo"/>
</div>

My question:

Is it possible to add (via yml) arbitrary markup *inside* of this div *beside* the input? P.ex. ...

<div class="text">
<input type="Text" name="foo"/>
Some <b>bold</b> text
</div>

Thanks.
Jens.
--
GRATIS f?r alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01

Search Discussions

  • Carl Franks at Nov 19, 2009 at 11:23 am
    2009/11/19 Jens Schwarz <blacky6767@gmx.de>:
    Is it possible to add (via yml) arbitrary markup *inside* of this div *beside* the input? P.ex. ...

    <div class="text">
    ?<input type="Text" name="foo"/>
    ?Some <b>bold</b> text
    </div>
    The only thing I can think of is:

    - type: Text
    name: foo
    comment_xml: 'Some <b>bold</b> text'

    which will render as:

    <div class="text comment">
    <input name="foo" type="text" />
    <span class="comment">
    Some <b>bold</b> text
    </span>
    </div>

    Carl

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouphtml-formfu @
categoriesperl, catalyst
postedNov 19, '09 at 9:26a
activeNov 19, '09 at 11:23a
posts2
users2
websitemetacpan.org...

2 users in discussion

Jens Schwarz: 1 post Carl Franks: 1 post

People

Translate

site design / logo © 2022 Grokbase