Skip to main content

Merge tag {Field Label:ID}

Form field. The value entered in one field. Add .1, .2, and so on for one part of a multi-part field.

On the test entry, {Contact Email:5} gives [email protected].

ProductGravity Forms
RequiresGravity Forms 1.0 or later
Needs an entryYes. Its value comes from a form entry.
Modifiers depend on the kind of field. See Modifiers by field.

Parameters

NameTypeRequiredDefaultDescription
Field IDfield IDYes—The field's ID. Add a dot and a number for one part: 1.3 is the first name.

Examples

Output from the real plugin code, run on a test entry.

Merge tagOutput
{Contact Email:5}[email protected]
{Full Name:1}ada Lovelace
{Amount:8}$1,234.56
{Toppings:6}Pepperoni, Mushroom
{Category:7}Baked Goods
{Plain Number:25}9,876.54
{Attachment:18}http://fixture.gravitykit.test/index.php?gf-download=fixture-invoice.pdf&form-id=501&field-id=18&entry-id=5001&hash=de3e75a5bbb8665af11eda764de0e761e3f262eed827616a2f0b4d3fa9038abb
{Cell Phone:12}+1 413-555-0147
{Photo:19}http://fixture.gravitykit.test/wp-content/uploads/gravity_forms/501-ce8740343b854b96e037e97f8dfef93f/typewriter.jpg
{Birthday:13}04/27/1979
{Anniversary:23}25/07/1843
{Appointment:26}09:05 am
{Full Name:1}ada Lovelace
{Notes:2}it's -- <b>QUICK</b>, brown Fox jumps over the lazy dog and it wasn't <b>that</b> slow & steady.<br /> <br /> Ada Lovelace wrote the first algorithm.
{Signed By:22.3}ada
{Contact Email:5}[email protected]
{Amount:8}$1,234.56
{Toppings:6}Pepperoni, Mushroom
{Category:7}Baked Goods
{Plain Number:25}9,876.54
{Attachment:18}http://fixture.gravitykit.test/index.php?gf-download=fixture-invoice.pdf&form-id=501&field-id=18&entry-id=5001&hash=de3e75a5bbb8665af11eda764de0e761e3f262eed827616a2f0b4d3fa9038abb
{Cell Phone:12}+1 413-555-0147
{Photo:19}http://fixture.gravitykit.test/wp-content/uploads/gravity_forms/501-ce8740343b854b96e037e97f8dfef93f/typewriter.jpg
{Birthday:13}04/27/1979
{Anniversary:23}25/07/1843
{Appointment:26}09:05 am
{Notes:2}it's -- <b>QUICK</b>, brown Fox jumps over the lazy dog and it wasn't <b>that</b> slow & steady.<br /> <br /> Ada Lovelace wrote the first algorithm.
{Signed By:22.3}ada

{Ingredients:20}

HTML of {Ingredients:20} (212 characters)
<table class='gfield_list'><thead><tr><th scope="col">Item</th>
<th scope="col">Quantity</th>
</tr></thead>
<tbody><tr><td>Flour</td>
<td>2 cups</td>
</tr>
<tr><td>Sugar</td>
<td>1 cup</td>
</tr>
<tbody></table>
{Items:17}
HTML of {Items:17} (2,728 characters)
<table style='width: 100%;background-color: #FFFFFF;border: 1px solid #EAEAEA;padding: 5px;'><tbody><tr style='border-bottom: 1px solid #EAEAEA;'>
										<td style='font-family: sans-serif; font-size:12px; padding: 8px 16px; '>
											<strong>Item Name</strong>
										</td>
									</tr>
									<tr style='background-color:#FFFFFF; border-bottom: 1px solid #EAEAEA;'>
										<td style='font-family: sans-serif; font-size:12px; padding: 16px;'>
											Widget
										</td>
									</tr><tr style='border-bottom: 1px solid #EAEAEA;'>
										<td style='font-family: sans-serif; font-size:12px; padding: 8px 16px; '>
											<strong>Quantity</strong>
										</td>
									</tr>
									<tr style='background-color:#FFFFFF; border-bottom: 1px solid #EAEAEA;'>
										<td style='font-family: sans-serif; font-size:12px; padding: 16px;'>
											3
										</td>
									</tr><tr style='border-bottom: 1px solid #EAEAEA;'>
										<td style='font-family: sans-serif; font-size:12px; padding: 8px 16px; '>
											<strong>Size</strong>
										</td>
									</tr>
									<tr style='background-color:#FFFFFF; border-bottom: 1px solid #EAEAEA;'>
										<td style='font-family: sans-serif; font-size:12px; padding: 16px;'>
											Large
										</td>
									</tr></tbody></table><hr style='border:0;border-top:10px solid #EAF2FA;margin:20px 0;'><table style='width: 100%;background-color: #FFFFFF;border: 1px solid #EAEAEA;padding: 5px;'><tbody><tr style='border-bottom: 1px solid #EAEAEA;'>
										<td style='font-family: sans-serif; font-size:12px; padding: 8px 16px; '>
											<strong>Item Name</strong>
										</td>
									</tr>
									<tr style='background-color:#FFFFFF; border-bottom: 1px solid #EAEAEA;'>
										<td style='font-family: sans-serif; font-size:12px; padding: 16px;'>
											Gadget
										</td>
									</tr><tr style='border-bottom: 1px solid #EAEAEA;'>
										<td style='font-family: sans-serif; font-size:12px; padding: 8px 16px; '>
											<strong>Quantity</strong>
										</td>
									</tr>
									<tr style='background-color:#FFFFFF; border-bottom: 1px solid #EAEAEA;'>
										<td style='font-family: sans-serif; font-size:12px; padding: 16px;'>
											1
										</td>
									</tr><tr style='border-bottom: 1px solid #EAEAEA;'>
										<td style='font-family: sans-serif; font-size:12px; padding: 8px 16px; '>
											<strong>Size</strong>
										</td>
									</tr>
									<tr style='background-color:#FFFFFF; border-bottom: 1px solid #EAEAEA;'>
										<td style='font-family: sans-serif; font-size:12px; padding: 16px;'>
											Large
										</td>
									</tr></tbody></table>
{Ingredients:20}
HTML of {Ingredients:20} (212 characters)
<table class='gfield_list'><thead><tr><th scope="col">Item</th>
<th scope="col">Quantity</th>
</tr></thead>
<tbody><tr><td>Flour</td>
<td>2 cups</td>
</tr>
<tr><td>Sugar</td>
<td>1 cup</td>
</tr>
<tbody></table>
{Items:17}
HTML of {Items:17} (2,728 characters)
<table style='width: 100%;background-color: #FFFFFF;border: 1px solid #EAEAEA;padding: 5px;'><tbody><tr style='border-bottom: 1px solid #EAEAEA;'>
										<td style='font-family: sans-serif; font-size:12px; padding: 8px 16px; '>
											<strong>Item Name</strong>
										</td>
									</tr>
									<tr style='background-color:#FFFFFF; border-bottom: 1px solid #EAEAEA;'>
										<td style='font-family: sans-serif; font-size:12px; padding: 16px;'>
											Widget
										</td>
									</tr><tr style='border-bottom: 1px solid #EAEAEA;'>
										<td style='font-family: sans-serif; font-size:12px; padding: 8px 16px; '>
											<strong>Quantity</strong>
										</td>
									</tr>
									<tr style='background-color:#FFFFFF; border-bottom: 1px solid #EAEAEA;'>
										<td style='font-family: sans-serif; font-size:12px; padding: 16px;'>
											3
										</td>
									</tr><tr style='border-bottom: 1px solid #EAEAEA;'>
										<td style='font-family: sans-serif; font-size:12px; padding: 8px 16px; '>
											<strong>Size</strong>
										</td>
									</tr>
									<tr style='background-color:#FFFFFF; border-bottom: 1px solid #EAEAEA;'>
										<td style='font-family: sans-serif; font-size:12px; padding: 16px;'>
											Large
										</td>
									</tr></tbody></table><hr style='border:0;border-top:10px solid #EAF2FA;margin:20px 0;'><table style='width: 100%;background-color: #FFFFFF;border: 1px solid #EAEAEA;padding: 5px;'><tbody><tr style='border-bottom: 1px solid #EAEAEA;'>
										<td style='font-family: sans-serif; font-size:12px; padding: 8px 16px; '>
											<strong>Item Name</strong>
										</td>
									</tr>
									<tr style='background-color:#FFFFFF; border-bottom: 1px solid #EAEAEA;'>
										<td style='font-family: sans-serif; font-size:12px; padding: 16px;'>
											Gadget
										</td>
									</tr><tr style='border-bottom: 1px solid #EAEAEA;'>
										<td style='font-family: sans-serif; font-size:12px; padding: 8px 16px; '>
											<strong>Quantity</strong>
										</td>
									</tr>
									<tr style='background-color:#FFFFFF; border-bottom: 1px solid #EAEAEA;'>
										<td style='font-family: sans-serif; font-size:12px; padding: 16px;'>
											1
										</td>
									</tr><tr style='border-bottom: 1px solid #EAEAEA;'>
										<td style='font-family: sans-serif; font-size:12px; padding: 8px 16px; '>
											<strong>Size</strong>
										</td>
									</tr>
									<tr style='background-color:#FFFFFF; border-bottom: 1px solid #EAEAEA;'>
										<td style='font-family: sans-serif; font-size:12px; padding: 16px;'>
											Large
										</td>
									</tr></tbody></table>

For examples on each kind of field, open a modifier from Modifiers by field.