ich habe eine FormFu config datei:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
...
<elements>
type Block
id rahmen
<element>
type Block
id summe_caption
tag div
content_xml <a>Auftragssumme:</a>
</element>
<elements>
id summe
type Text
size 40
name summe
<attributes>
autocomplete off
</attributes>
constraint SingleValue
</elements>
</elements>
...
und möchte nun das div mit der id summe_caption abändern, alo irgendwas wie:
my $div = $form->get_element({ id => 'summe_caption' });
$div->content_xml('<a>foo</a>')
doch ich finde schon keine möglichkeit auf das div objekt zuzugreifen, get_element liefert nichts, get_field ist nur für form-elemente, ja und sonst kenn ich keine methode... wie kann ich also den inhalt des divs verändern, bzw. statt einen statischen content eine variable eintragen welche durch vorhergehenden code gesetzt werden kann?
danke schonmal :)