Advanced Name Field
All of the sub-name labels are not displayed - Prefix, First, Middle, Last, Suffix will not display.
To have the user enter all the fields, but only partially display on the backend or PDF Generate, the following example code within Settings / Forms CSS / Custom Submitted CSS can be added:
For example, to hide Prefix, Middle and Suffix (Displaying only First and Last):
.name_middle, .name_prefix, .name_suffix {
display:none;
}
Before | After |
All the sub-labels (address 2, city, state, zip, country) have been hidden.
Example #1 - when all subfields are chosen
- display: block;
/* to add comma between city and state */
.address_city::after {
content: ",";
}
Before | After |
Example #2 - more typically, when address line 2 and Country are NOT chosen
Before | |
.address_city::before {
display: block;
content: "\A";
}
/* to add comma between city and state */
.address_city::after {
content: ",";
}