<p>I had the same issue. My problem stemmed from the fact that I had put all of the form fields that I created into the field layout for my form page.</p>

<p><a href="https://i.sstatic.net/NqO9Z.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/NqO9Z.png" alt="Design Field Layout with Form Fields needing removal"></a></p>

<p>I was used to putting all the fields directly on to the page. Once I removed all the form fields from my field layout, I was able to successfully access the page to manage my content. </p>

<p>It seems as though your fields for forms should be treated separately and not put directly into the page. They should be added through the formbuilder plugin.</p>

<p><a href="https://i.sstatic.net/BFFGH.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/BFFGH.png" alt="Adding form fields using formbuilder correctly"></a></p>

CC BY-SA 3.0
2015-08-18T23:27:15.683Z
2015-08-18T23:27:15.683Z
Frank Kepler
<p>I'm trying to do a form, I'm using FormBuilder plugin.
I have the form and the fields, but when I try to acess ../admin/entries to manage the content of the page, I have this error, why is that? What did I miss?
I The code in that page:</p>

<pre><code>{% block content %}
&lt;h1&gt;{{ entry.title }}&lt;/h1&gt;
&lt;form method="post" accept-charset="utf-8" name="{{ form.handle }}" class="formbuilder-form" id="{{ form.handle }}" data-parsley-errors-container=".formbuilder-notification"{% if form.hasFileUploads %} enctype="multipart/form-data" {% endif %}&gt;
&lt;input type="hidden" name="action" value="formBuilder/entries/saveFormEntry"&gt;
&lt;input type="hidden" name="formredirect" data-redirect="{{form.successPageRedirect}}" value="{{form.redirectUrl}}"&gt;
&lt;input type="hidden" name="formHandle" value="{{form.handle}}"&gt;

{% for tab in tabs %}
  {% set fields = tab.getFields() %}

  &lt;fieldset class="{{loop.index}}"&gt;
    &lt;legend&gt;{{ tab.name }}&lt;/legend&gt;
    {% for field in fields %}
      {% set input = craft.formBuilder.getInputHtml(field) %}
      {{ input | raw }}
    {% endfor %}
  &lt;/fieldset&gt;
{% endfor %}

{# Error/Success Messages #}
{% if craft.session.hasFlash('error') or craft.session.hasFlash('success') %}
  {% if craft.session.hasFlash('error') %}&lt;div class="formbuilder-notification"&gt;&lt;p class="error-message"&gt;{{ craft.session.getFlash('error') | raw }}&lt;p&gt;&lt;/div&gt;{% endif %}
  {% if craft.session.hasFlash('success') %}&lt;div class="formbuilder-notification success"&gt;&lt;p class="success-message"&gt;{{ craft.session.getFlash('success') | raw }}&lt;/p&gt;&lt;/div&gt;{% endif %}
{% else %}
  &lt;div class="formbuilder-notification"&gt;&lt;/div&gt;
{% endif %}

&lt;button type="submit"&gt;Submit Message&lt;/button&gt;


&lt;/form&gt;

{% endblock %}
</code></pre>

<p><a href="https://i.sstatic.net/8IeHB.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/8IeHB.png" alt="enter image description here"></a></p>

<plugins><form><php>
FormBuilder - PHP notice Trying to get property of non-object
# FormBuilder - PHP notice Trying to get property of non-object

(Asked by: username_0 on 2015-08-14)

I'm trying to do a form, I'm using FormBuilder plugin.
I have the form and the fields, but when I try to acess ../admin/entries to manage the content of the page, I have this error, why is that? What did I miss?
I The code in that page:
{% block content %}
{{ entry.title }}





{% for tab in tabs %}
  {% set fields = tab.getFields() %}

  
    {{ tab.name }}
    {% for field in fields %}
      {% set input = craft.formBuilder.getInputHtml(field) %}
      {{ input | raw }}
    {% endfor %}
  
{% endfor %}

{# Error/Success Messages #}
{% if craft.session.hasFlash('error') or craft.session.hasFlash('success') %}
  {% if craft.session.hasFlash('error') %}{{ craft.session.getFlash('error') | raw }}{% endif %}
  {% if craft.session.hasFlash('success') %}{{ craft.session.getFlash('success') | raw }}{% endif %}
{% else %}
  
{% endif %}

Submit Message




{% endblock %}

**Tags:** plugins, form, php

---

## 1 answers

### Answer by username_1 on 2015-08-18. Score: 2

I had the same issue. My problem stemmed from the fact that I had put all of the form fields that I created into the field layout for my form page.

[![Design Field Layout with Form Fields needing removal](https://i.sstatic.net/NqO9Z.png)](https://i.sstatic.net/NqO9Z.png)

I was used to putting all the fields directly on to the page. Once I removed all the form fields from my field layout, I was able to successfully access the page to manage my content.

It seems as though your fields for forms should be treated separately and not put directly into the page. They should be added through the formbuilder plugin.

[![Adding form fields using formbuilder correctly](https://i.sstatic.net/BFFGH.png)](https://i.sstatic.net/BFFGH.png)


---

