SOLVED

Progressive profiling field display issue

Go to solution
ahaiko
Level 1

Progressive profiling field display issue

Some time ago, fields for progressive profiling were added to our website.
However, in the Chrome browser, progressive profiling fields are not displayed at all (in the settings it is specified to show one of two). The field appears in the Firefox browser, but it does not have a label. I disabled all custom CSS styles, but this did not affect the display of fields: it is still missing in Chrome and without a label in Firefox.
I didn't find anything similar in the topics.

I'm wondering if there are any known issues with the display of progressive grading fields in general, as well as their operation?
Can this be resolved through the efforts of the site developers or are there other options? Is there a way to put progressive profiling fields along with a group of regular fields? Perhaps this would solve the problem.
Screenshot from 2023-11-21 16-38-39.png

1 ACCEPTED SOLUTION

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

Re: Progressive profiling field display issue

Ah, I missed the link when reading on my phone earlier.

 

Your issue is because you’re hiding the <label> element in line 7103 of frontend.css:

 

.mktoForm .mktoFormRow:nth-last-child(5) .mktoLabel { display: none; }

 

 

There are other CSS rules in that same file affecting the form.

 

It’s generally bad to use :nth-child/:nth-last-child to style forms, as any change to field order — including by Visibility Rules or Progressive Profiling — breaks the layout.

View solution in original post

5 REPLIES 5
SanfordWhiteman
Level 10 - Community Moderator

Re: Progressive profiling field display issue

Please link to your page. There's no other way to troubleshoot your setup. Oops, the link was there. Looking at the page now.

ahaiko
Level 1

Re: Progressive profiling field display issue

I thought I included the link in the first sentence. I'll duplicate this again: https://clearstateupst.wpengine.com/progressive-profiling-form-test.

I also noticed that the Progressive profiling field also appears in Chrome, but it is still without a label.

SanfordWhiteman
Level 10 - Community Moderator

Re: Progressive profiling field display issue

Ah, I missed the link when reading on my phone earlier.

 

Your issue is because you’re hiding the <label> element in line 7103 of frontend.css:

 

.mktoForm .mktoFormRow:nth-last-child(5) .mktoLabel { display: none; }

 

 

There are other CSS rules in that same file affecting the form.

 

It’s generally bad to use :nth-child/:nth-last-child to style forms, as any change to field order — including by Visibility Rules or Progressive Profiling — breaks the layout.

ahaiko
Level 1

Re: Progressive profiling field display issue

It seems that when I disable custom styles, the field still has no label. I'll check again. Thank you!

ahaiko
Level 1

Re: Progressive profiling field display issue

Indeed, these styles were defined in another file. Thank you very much again!