I added some text custom fields to the user registration form. Joomla 3.7 allows users to easily add custom fields to various components, this is a nice feature. However I'm unable to figure out how to make the ReCaptcha field display after the custom fields. I have tried to place the Recaptcha plugin after the custom fields plugin however this does not seem to be allowed. Anyone have a solution to this?
replace the form output with this code:
<?php if ($field->type !== 'Captcha') : ?>
<?php echo $field->label; ?>
<?php echo $field->input; ?>
<?php else :
$captcha = '
' . $field->label . '
' . $field->input . '
and, just before the submit, put
<?php echo $captcha; ?>.