Answers.Body: <p>Assuming you have an 'entry', this should work:</p>
  <pre><code>{% for tab in entry.getFieldLayout().getTabs() %}
      &lt;ul&gt;
          &lt;li&gt;{{ tab.name }}
              &lt;ul&gt;
                  {% for field in tab.getFields() %}
                      &lt;li&gt;{{ field.name }}&lt;/li&gt;
                  {% endfor %}
              &lt;/ul&gt;
          &lt;/li&gt;
      &lt;/ul&gt;
  {% endfor %}
  </code></pre>
  <p>if you don't need the fields then just:</p>
  <pre><code>{% for tab in entry.getFieldLayout.getTabs() %}
      &lt;ul&gt;
          &lt;li&gt;{{ tab.name }}&lt;/li&gt;
      &lt;/ul&gt;
  {% endfor %}
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-12-16T09:23:29.550Z
Answers.Text: This worked perfectly. Exactly what I was after. Thank you Douglas :)
Answers.UserDisplayName: Mark Notton
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-01-28T00:56:17.267Z
Answers.Text: How to get the value of a field of tabs?
Answers.UserDisplayName: Vitaliy  Badalov
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-01-28T01:11:32.067Z
Answers.Text: @DouglasMcDonald For example in the tab "gallery" is the field of "image", how to get it? `entry.image` nothing gives, only if "image" was in the first tab
Answers.UserDisplayName: Vitaliy  Badalov
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-01-28T01:15:38.387Z
Answers.Text: @VitaliyBadalov I don't understand your question? What do you mean by a "value of a field of tabs"? Do you mean "value of a field within the tabs"? In the future it might be best to create a new question (with a link to this question).
Answers.UserDisplayName: Douglas McDonald
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-01-28T01:18:49.797Z
Answers.Text: I'll be glad to help, but can you start a new question please. It's hard to give a good answer within comments.
Answers.UserDisplayName: Douglas McDonald
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-01-28T01:25:36.683Z
Answers.Text: @DouglasMcDonald Sorry, i just forgot to put in the field to tab in "Field Layout Design"
Answers.UserDisplayName: Vitaliy  Badalov
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-01-28T01:27:32.857Z
Answers.Text: @VitaliyBadalov OK. Glad you found an answer!
Answers.UserDisplayName: Douglas McDonald
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2014-12-14T16:26:45.113Z
Answers.LastActivityDate: 2020-09-16T14:44:25.260Z
Answers.LastEditDate: 2020-09-16T14:44:25.260Z
Answers.UserDisplayName: Douglas McDonald
Body: <p><img src="https://i.sstatic.net/uDqhK.png" alt="enter image description here"></p>
  
  <p>I have a few tabs in my "Field Layout Design", and I wondered if there was a way to list the titles of each one, in the frontend? Something basic like:</p>
  
  <pre><code>&lt;ul&gt;
    &lt;li&gt;Services&lt;/li&gt;
    &lt;li&gt;Testimonials&lt;/li&gt;
    &lt;li&gt;Gallery&lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>Thanks :)</p>
  
Tags: <field-layout-designer>
Title: List out all "Layout Tabs" in the frontend
ThreadText: # List out all "Layout Tabs" in the frontend
  
  (Asked by: username_0 on 2014-12-14)
  
  ![enter image description here](https://i.sstatic.net/uDqhK.png)
  
  I have a few tabs in my "Field Layout Design", and I wondered if there was a way to list the titles of each one, in the frontend? Something basic like:
  
  ```
  <ul>
    <li>Services</li>
    <li>Testimonials</li>
    <li>Gallery</li>
  </ul>
  
  ```
  
  Thanks :)
  
  **Tags:** field-layout-designer
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2014-12-14. Score: 6 | Accepted answer
  
  Assuming you have an 'entry', this should work:
  
  ```
  {% for tab in entry.getFieldLayout().getTabs() %}
      <ul>
          <li>{{ tab.name }}
              <ul>
                  {% for field in tab.getFields() %}
                      <li>{{ field.name }}</li>
                  {% endfor %}
              </ul>
          </li>
      </ul>
  {% endfor %}
  
  ```
  
  if you don't need the fields then just:
  
  ```
  {% for tab in entry.getFieldLayout.getTabs() %}
      <ul>
          <li>{{ tab.name }}</li>
      </ul>
  {% endfor %}
  
  ```
  
  > **Comments:**
  > **username_0**: This worked perfectly. Exactly what I was after. Thank you username_1 :)  
  > **username_2**: How to get the value of a field of tabs?  
  > **username_2**: @username_1 For example in the tab "gallery" is the field of "image", how to get it? `entry.image` nothing gives, only if "image" was in the first tab  
  > **username_1**: @username_2 I don't understand your question? What do you mean by a "value of a field of tabs"? Do you mean "value of a field within the tabs"? In the future it might be best to create a new question (with a link to this question).  
  > **username_1**: I'll be glad to help, but can you start a new question please. It's hard to give a good answer within comments.  
  > **username_2**: @username_1 Sorry, i just forgot to put in the field to tab in "Field Layout Design"  
  > **username_1**: @username_2 OK. Glad you found an answer!  
  
  ---
  
  