Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Gravity Wiz // Gravity Forms // Numbering List Field Rows
/**
* Numbering List Field Rows
* http://demos.gravitywiz.com/numbering-gravity-forms-list-field-rows/
*/
body .gw-number-rows table.gfield_list {
counter-reset: gflistrowcounter;
margin-left: -24px;
}
.gw-number-rows .gfield_list thead tr:before {
content:'';
}
.gw-number-rows .gfield_list tbody tr:before {
content: counter(gflistrowcounter);
counter-increment: gflistrowcounter;
}
.gw-number-rows .gfield_list thead tr:before, .gw-number-rows .gfield_list tbody tr:before {
display: table-cell;
width: 18px;
text-align: right;
padding-right: 6px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.