Hide empty fields
Not all of my Gravity Form fields are mandatory. Some are conditional fields, and some are optional values.
It would be great if the "insert field" shortcode could include a "Title" and an option to "Hide if empty".
[esiggravity formid="3" field_id="11" title="Other" hideEmpty="true" ]
could produce
<label for="fieldName123">Your title here</label><span id="fieldName123" class="hideEmpty underline"></span>
Then, a fairly simple jQuery statement could hide all hideEmpty fields whose text value is empty.
0
votes
Mike Baxter
shared this idea