Zend FR

Consultez la FAQ sur le ZF avant de poster une question

Vous n'êtes pas identifié.

#1 22-10-2009 19:57:18

Snoopy
Nouveau membre
Date d'inscription: 07-05-2009
Messages: 4

aide sur zend_form_decorators

Hello everyone,

am wondering if someone  can help me out. Am using zend form decorator for a form
it is working perfectly but i have a problem on the rendering of the html

here is the html rendering

    <form name="signup" action="" method="post">
    <ul>
        <li>
            <label for="name">Name</label>
            <input type="text" name="name" id="name" size="30" />
        </li>
        <li>
            <label for="email">Email</label>
            <input type="text" name="email" id="email" size="30" />
        </li>
        <li>
            <label for="psw">Psw</label>
            <input type="text" name="psw" id="psw" size="30" />
        </li>
        <li>
            <label for="free">Free Subscription</label>
            <input type="radio" name="subscription" id="free" checked="checked"/>        </li>
        <li>
            <label for="professional">Professional</label>
            <input type="radio" name="subscription" id="professional"/>
        </li>
        <li>
            <label for="newsletter">Newsletter?</label>
            <input type="checkbox" name="newsletter" id="newsletter"/>
        </li>
        <li><label for="submit">&nbsp;</label>
            <button type="submit" id="submit">Send</button>
        </li>
          <li class='cancel'>
            <label for="submit">&nbsp;</label>
            <button type="submit" id="cancel">Send</button>
        </li>
    <ul>
    </form>



i want to group the two buttons with only one li tag so i can render properly on different browsers like tht
<li class='buttons'>
            <button type="submit" id="submit">Send</button>
            <button type="submit" id="cancel">Send</button>
  </li>


i have tried to use displaygroup but it is not working. Please can someone help out... am having on this for 3days no clue.Thanks you for quick and kind reply

Hors ligne

 

Pied de page des forums

Propulsé par PunBB
© Copyright 2002–2005 Rickard Andersson
Traduction par punbb.fr

Graphisme réalisé par l'agence Rodolphe Eveilleau
Développement par Kitpages