Skip to main content

Modifier :field_ids

Limit to these sub-fields. Example: {Line Items:137:field_ids=1371} gives HTMLItem Name Poster Item Name Banner. On the test form, this field is {Line Items:137} (Repeater).

About

Write it with "=", not ":", and separate IDs with "|".

ProductGravity Forms
RequiresGravity Forms 3.0 or later
In the pickerChange the output, for Repeater fields

Examples

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

{Items:17:field_ids=1701|1702}On the test form, it leaves out Size (a Product field) and Size (a Product field); changes Item Name (from Gadget to Widget) and Quantity (from 1 to 3).

HTML of {Items:17:field_ids=1701|1702} (1,922 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></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></tbody></table>
Without the modifier: {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>

Works on

Form fields: Repeater.