Forums

How to add cutom PHP returned HTML at bottom of form

DShapiroNaples 23 Sep, 2012
I have a from that uses the DB Multi Record Loader action. Within the On Record Found portion of the action I have custom code that uses PHP to traverse the returned data and create clickable HTML code. I have place the DB Multi Record Loader action after the Show HTML but when I run the form the returned PHP HTML code always appears at the top of the form.

I would like the code to show at the bottom of the normal form.

In the example below the "Previously Created Log and Journal Trackers" section is the custom PHP created code. The section beginning with "Phase 2 Food Log and Journal Trackers" is the normal form data.

Any ideas?

GreyHead 24 Sep, 2012
Hi DShapiroNaples,

I suggest that you add a Custom Element element to your form from the Advanced elements group and put the display part of your code in that. This will give you the control over the exact placement that you want. The DB Multi-Record Loader will add the results to the $form->data array so that they will be available in the Custom Element element.

Bob
This topic is locked and no more replies can be posted.