select two labels
select two labels

i want a second label called 'nachname' how can i get this?
Field::inst ( 'id_person' )
->options( Options::inst()
->table( 'personen' )
->value( 'id_person' )
->label( 'vorname' )
This discussion has been closed.
Replies
ps this in my staff.php
Do you mean a second field, or two labels for the same field? I don't follow.
two labels for the same field
The label is what's displayed on the form during editing so the user knows what the field is - it only makes sense to have a single label. What's the use case for two?
already got it
thx
how does it works when i need DATE IS NULL (like in the SQL Query)?
$t->where('date', IS NULL);