1
0
-1

I don't think this can be done easily, but I thought I'd ask anyway.

Is there any way that you can change the order of fields or sections/blocks in the PDF receipt without having to duplicate them in the structure?

    CommentAdd your comment...

    1 answer

    1.  
      2
      1
      0

      Hi Lin,

      This is possibly a case where it is OK to use JQuery in form code.  Usually it's a last resort.

      You can put code like this in a Form Load rule:

          if (Util.isReceipt) {
              $('.id-about_you').parent().detach().insertAfter($('.id-aboutme').parent());
          }

      This code will detach the section with class 'id-about_you' and place it after the section 'id-aboutme'. 

      The code actually works with the parent of each section because in my test form the parents are divs with class="row" and therefore have to be reached by going to their children and moving back up the DOM with parent().

      Bill

        CommentAdd your comment...