Adding Rich text field to reorder with Sandford's Awesome FormsPlus | Community
Skip to main content
Opine_Consulti4
New Participant
October 4, 2018
Solved

Adding Rich text field to reorder with Sandford's Awesome FormsPlus

  • October 4, 2018
  • 1 reply
  • 1991 views

I've been successfully using Sanford Whiteman​ awesome overrider field order with FormsPlus. Thank you sooo much!

I have a rich text field (#mktcomm) that I would like to appear before the "Marketing Communications" select field. And of course, I want that field to appear below the progressive profiling fields. I have this line in my code to get the field to include in the field order: var formEl = form.getFormElem()[0], mktcommnotice = formEl.querySelector('#mktcomm');

It is working in that the div with the rich text is above Marketing Communications which is below the progressive fields. However, I need to be able to move the mktoRow the div is in, not just the div (otherwise the empty row is left behind causing extra empty space).  I can't manage to get the right syntax. Can anyone help?

Here's an example page​. To see the issue, just select an EMEA country such as Austria.

Thanks so much!

Sheila

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by SanfordWhiteman

Put an <input type="hidden" name="somethingMemorable"> field inside your Rich Text area. The name doesn't have to correspond to any field, it just creates a way of addressing the row. Then the row takes on the name of that input!

1 reply

SanfordWhiteman
SanfordWhitemanAccepted solution
New Participant
October 4, 2018

Put an <input type="hidden" name="somethingMemorable"> field inside your Rich Text area. The name doesn't have to correspond to any field, it just creates a way of addressing the row. Then the row takes on the name of that input!

Opine_Consulti4
New Participant
October 4, 2018

I should have just asked this question 3 hours ago. Thank you so much! It's working now.