Progressive profiling fields above required fields? | Community
Skip to main content
Apr 1, 2015 12:43 AM UTC
Solved

Progressive profiling fields above required fields?

Is it possible to have a required field below the progressive profile fields? For example, I want to display name and email (required fields always displayed) and then phone number and zip code as progressive profile fields with an email opt in field (required) at the very bottom. Maybe this takes two forms, but then how can there be only one submit button? Perhaps there is a different way to handle the opt in field. Appreciate any help.
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
SanfordWhiteman
SanfordWhitemanAccepted solution
Level 10
Apr 1, 2015 2:28 PM UTC
It's there in the page source: standard JS methods to find and move the form element. There are a number of ways to find the element. For simplicity in the demo, I used the CSS + combinator to find the 3rd input (ProgPro1) and move it up top. (I used + to ensure backward compatibility; :nth-child would work too, but it's not in IE 8.)

57 replies

Apr 1, 2015 12:05 PM UTC
@sanford, OK, so how did you do it?
Translate
SanfordWhiteman
Level 10
Apr 1, 2015 3:04 AM UTC
C'mon boys, live a little: http://pages.vaneck.com/ProgPro-Sample-1.html

Actually quite easy to reposition any sibling elements like this.
Translate
Adam_Vavrek1
Level 8
Apr 1, 2015 1:36 AM UTC
Hi Jason, 

Unfortunately there is no way to put the required field below the progressive profile fields. I wish there was a way to do it!
Translate