Jump to content

How to get form elements in a row in ZF 1.12


yoursurrogategod

Recommended Posts

Hi all,

 

This is the HTML that was generated by my form elements:

http://bin.cakephp.org/view/1808069180

 

The relevant information is located from line 3202 to 3347. Basically, say I have a drop-down. I'd like it to be one next to each other (or better yet, have table tags be generated).

 

<form enctype="application/x-www-form-urlencoded" action="" method="post"><dl class="zend_form">
<dt id="passFail00-label"> </dt>
<dd id="passFail00-element">
<select name="passFail00" id="passFail00">
<option value="P" label="Pass" selected="selected">Pass</option>
<option value="F" label="Fail">Fail</option>
</select></dd>
...
</form>

 

This is how my view looks like (the relevant line is 381):

http://bin.cakephp.org/view/1241400830

This is my controller:

http://bin.cakephp.org/view/106144493

This is my form class (the relevant method is buildBottomForm):

http://bin.cakephp.org/view/585393545

http://bin.cakephp.org/view/585393545

How can I get this to display horizontally and not in one column?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.