Re: If I implement Progressive Profiling on certain form fields, do they have to appear at the bottom of the form?

Anonymous
Not applicable

If I implement Progressive Profiling on certain form fields, do they have to appear at the bottom of the form?

I've got a "contact us" form on which I want to pregressively profile everything except the users email and the message, however the Forms 2.0 editor seems to force the progressively profiled fields down to the end of the form - this looks weird when they are stuff like First & Last name, Company etc. which usually come before the message field.

If this can't be done via the interface, there a way to re-order fields using javascript/ jQuery maybe?  Anyone got an example?

Thanks
Ben
Tags (1)
2 REPLIES 2
Josh_Hill13
Level 10 - Champion Alumni

Re: If I implement Progressive Profiling on certain form fields, do they have to appear at the bottom of the form?

I believe the order of the progressive fields will determine the order they appear, but not totally sure.

Just remember that the editor is forcing the fields into a special area, not so much to the bottom inherently. Test it live first.

You are right that you may be able to use jquery and javascript to manipulate these.
Anonymous
Not applicable

Re: If I implement Progressive Profiling on certain form fields, do they have to appear at the bottom of the form?

Thanks for the reply Josh - I think you missed understood my requirement though.  I am wanting to put some of the progressive fields above the non-progressive fields (not arrange the order of fields within the PP group) as it seems that the progressive fields are always the last.  

I've managed to do it using Javascript/ JQuery anyway - here's the code in case it helps someone else/ anyone has better ideas:

<script>
MktoForms2.loadForm("//app-sjg.marketo.com", "572-XMB-986", $MarketoFormID, function(form){
var MarketoForm = form.getFormElem();
var FormField_Contact_Message__c = MarketoForm.find("textarea#Contact_Message__c").parent().parent().parent();
MarketoForm.find("div.mktoFormRow:last").after(FormField_Contact_Message__c);
});
</script>
 
Not ideal but I'm stumped on any other way...
Cheers
Ben