Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [Zend] jak wstawić kod html do Labela w Zend Form?
pgrzelka
post
Post #1





Grupa: Zarejestrowani
Postów: 313
Pomógł: 24
Dołączył: 9.08.2008
Skąd: Kielce

Ostrzeżenie: (0%)
-----


Witam

potrzebuję zrobić coś takiego

  1. <?php
  2. $form->addElement('CheckBox','regulamin',
  3.                  array(
  4.                      'label' => 'Przeczytałem i akceptuję <a href="/regulamin.html">Regulamin</a> i <a href="/politykeprywatnosci.html">Politykę Prywatności</a>',
  5.                      'checkedValue'  => '1',
  6.                      'uncheckedValue'  => '0',
  7.                      'required' => true,
  8.                      'checked' => true,
  9.                      'validators' => array(validators::AcceptCheckbox('Musisz zaakceptować regulamin i politykę prywatności'))
  10.                  )
  11.           );
  12. ?>

czyli w Label chcę dać 2 linki, a po wyświetleniu formularza widzę coś takiego


z góry dziękuje za odpowiedzi smile.gif


--------------------
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 21.08.2025 - 17:03