Hi John can be a little more explanatory.
Joan Nin
1

I think this might work for you. Copy the method and then call it like this:

pushMauticForm($_POST['form'], 3, $_SERVER['REMOTE_ADDR']);

Instead of Mautic Form ID which is 3 in this example, use the ID of the form you have prepared.