Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You don't need to use iFrame's. It doesn't work because your Form doesn't close correctly.</p> <p>The <code>$this-&gt;Form-&gt;create()</code> and <code>$this-&gt;Form-&gt;end()</code> should be outside the divs.</p> <p>Try the following:</p> <pre><code>&lt;?php echo $this-&gt;Form-&gt;create('Personel', array( 'class' =&gt; 'form-horizontal', 'id' =&gt; $edituserformname )); ?&gt; &lt;div class="modal-body iframed"&gt; &lt;?php echo $this-&gt;Form-&gt;input('id', array( 'type' =&gt; 'hidden', 'value' =&gt; $person['Personel']['id'] )); echo $this-&gt;Form-&gt;input('firstname', array( 'type' =&gt; 'text', 'label' =&gt; 'First Name', 'class' =&gt; 'span5', 'value' =&gt; $person['Personel']['firstname'] )); echo $this-&gt;Form-&gt;input('surname', array( 'type' =&gt; 'text', 'label' =&gt; 'Surname', 'class' =&gt; 'span5', 'value' =&gt; $person['Personel']['surname'] )); echo $this-&gt;Form-&gt;input('email', array( 'type' =&gt; 'text', 'label' =&gt; 'E-Mail', 'class' =&gt; 'span5', 'value' =&gt; $person['Personel']['email'] )); echo $this-&gt;Form-&gt;input('companyid', array( 'type' =&gt; 'hidden', 'value' =&gt; $company['Company']['id'] )); echo $this-&gt;Form-&gt;input('accesslevel', array( 'label' =&gt; 'Access Level', 'options' =&gt; $roles, 'empty' =&gt; 'Select Access Level', 'class' =&gt; 'span5', 'value' =&gt; $person['Personel']['accesslevel'] )); $pocval = array('1' =&gt; 'Yes', '0' =&gt; 'No'); echo $this-&gt;Form-&gt;input('poc', array( 'label' =&gt; 'Point of Contact?', 'options' =&gt; $pocval, 'value' =&gt; $person['Personel']['poc'] )); echo $this-&gt;Form-&gt;input('password', array( 'type' =&gt; 'text', 'label' =&gt; 'Password', 'class' =&gt; 'span5', 'value' =&gt; $company['Personel']['password'] )); echo $this-&gt;Form-&gt;input('telephone', array( 'type' =&gt; 'text', 'label' =&gt; 'Telephone', 'class' =&gt; 'span5', 'value' =&gt; $company['Personel']['telephone'] )); echo $this-&gt;Form-&gt;input('type', array( 'type' =&gt; 'hidden', 'value' =&gt; '0' )); ?&gt; &lt;/div&gt; &lt;div class="modal-footer"&gt; &lt;?php echo $this-&gt;Form-&gt;submit('Save &amp; Close', array( 'type' =&gt; 'submit', 'class' =&gt; 'btn btn-primary', 'id' =&gt; 'editusermodal' )); ?&gt; &lt;/div&gt; &lt;?php echo $this-&gt;Form-&gt;end(); ?&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload