Poll Form:
-
Entry id: 20
Do you like hard rock?
- Text: Yes
- Value: gpoll48d8a2ede
Will Bitcoin reach $1,000,000 value?
- Text: No way
- Value: gpoll585123587
Your favorite pets
- Text: Birds
- Value: gpoll63faa91e9
-
Entry id: 11
Do you like hard rock?
- Text: Yes
- Value: gpoll48d8a2ede
Will Bitcoin reach $1,000,000 value?
- Text: In the far future
- Value: gpoll5cc5c446f
Your favorite pets
- Text: Cats
- Value: gpoll662b298f9
- Text: Birds
- Value: gpoll63faa91e9
-
Entry id: 10
Do you like hard rock?
- Text: No
- Value: gpoll42927721b
Will Bitcoin reach $1,000,000 value?
- Text: No way
- Value: gpoll585123587
Your favorite pets
- Text: Cats
- Value: gpoll662b298f9
-
Entry id: 9
Do you like hard rock?
- Text: Yes
- Value: gpoll48d8a2ede
Will Bitcoin reach $1,000,000 value?
- Text: Sure
- Value: gpoll52903eaae
Your favorite pets
- Text: Cats
- Value: gpoll662b298f9
- Text: Dogs
- Value: gpoll67430ba43
- Text: Birds
- Value: gpoll63faa91e9
Poll results:
- Label: Cats- Total Entries: 3
- Percentage: 75
- Label: Dogs
- Total Entries: 1
- Percentage: 25
- Label: Birds
- Total Entries: 3
- Percentage: 75
Markup: GField tag:
<h1>Poll Form:</h1>
<If loop type=gravity_form_entry form_id="[51]" >
<ul class="tt-loop" cols=3 id="poll-listing">
<Loop type=gravity_form_entry form_id ="[51]" order="desc" orderby="id">
<li class="tt-item tt-item-card">
<h3>Entry id: <Field id /></h3>
<!-- Poll Field input type 'select' -->
<h4><GField id="4" label /></h4>
- Text: <GField id="4" value_key="text"/><br />
- Value: <GField id="4" value_key="value"/><br />
<!-- Poll Field input type 'radio' -->
<h4><GField id="5" label /></h4>
- Text: <GField id="5" value_key="text"/><br />
- Value: <GField id="5" value_key="value"/><br />
<!-- Poll Field input type 'checkbox' -->
<h4><GField id="6" label /></h4>
<Loop list="{GField id=6}" >
<Loop map="{Field}">
- Text: <Field text /><br />
- Value: <Field value /><br />
</Loop>
</Loop>
</li>
<br /><br /><br />
<!-- Poll 'results' -->
<If last>
<h3>Poll results:</h3>
<Loop list="{GField id=6 value_key=results}" >
<Loop map="{Field}" >
- Label: <Field label /><br />
- Total Entries: <Field total_entries /><br />
- Percentage: <Field ratio /> <br />
</Loop>
<br />
</Loop>
</If>
</Loop>
</ul>
<Else />
No listings yet. Add one with the form!
</If>
Simple Profile Form:
-
Abigail Hamilton
-
Bella Marshall
-
Dominic Hamilton
-
Abigail Alsop
Markup: GField tag:
<If loop type=gravity_form_entry form_id=59>
<ul class="tt-loop" cols=3 id="profile-listing">
<Loop type=gravity_form_entry form_id=59 orderby=date_created order=desc paged=9>
<!-- Main profile card -->
<li class="tt-item tt-item-card">
<div class="tt-item-wrapper tt-item-link">
<div class="tt-item-text">
<!-- Name -->
<div class="tt-item-title">
<h2><GField id="1" value_key="text"/> <GField id="2" value_key="text"/></h2>
</div>
<!-- Company -->
<div class="tt-item-meta">
<div class="tt-item-subtitle">
<span class="tt-item-meta-label">
Company:
</span>
<GField id="5" value_key="text"/>
</div>
</div>
<!-- Sector -->
<div class="tt-item-meta">
<div>
<span class="tt-item-meta-label">
Sector:
</span>
<GField id="6" value_key="text"/>
</div>
</div>
<!-- Social links -->
<div class="tt-item-meta">
<div>
<span class="tt-item-meta-label">
Links:
</span>
</div>
<ul class="tt-icon-list">
<Loop list="{GField id=7}">
<Loop map="{Field}">
<li><i class="icon-{Field value}"></i><Field text /></li>
</Loop>
</Loop>
</ul>
</div>
</div> <!-- / .tt-item-text -->
</div>
</li>
</Loop>
</ul>
<If check="{Get loop=previous_total}" more_than value=9>
<PaginateButtons />
</If>
<Else />
No listings yet. Add one with the form!
</If>