getting a webedition field as a variable
Verfasst: Mo 30. Jan 2006, 13:11
I have the following listview,
I'd like to have the content of the field "kop" (<we:field name="kop" type="text"/>) as a variable (so I can use it in flash)
I've managed to get content from ordinary input fields into flash, with the following code, but I can't figure out how to get the field "kop" out of the listview.
Any ideas?
Thanks in advance!
Code: Alles auswählen
<we:listview type="object" classid="9" rows="1" order="datum" desc="true">
<we:repeat>
<a href="mypage.php#<we:field name="naam" type="text"/>" class="lijstonderdeel"><we:field name="kop" type="text"/></a>
</we:repeat>
</we:listview>
I've managed to get content from ordinary input fields into flash, with the following code, but I can't figure out how to get the field "kop" out of the listview.
Code: Alles auswählen
<we:input type="text" name="veld2">
Code: Alles auswählen
<?php
$var2= $GLOBALS["we_doc"]->getElement("veld2");
?>
Thanks in advance!