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?

1 Answer 1


replace the form output with this code:

<?php if ($field->type !== 'Captcha') : ?> <div class="form-group"> <?php echo $field->label; ?> <div class="controls"> <?php echo $field->input; ?> </div> </div> <?php else : $captcha = ' <div class="form-group"> ' . $field->label . ' <div class="controls"> ' . $field->input . ' </div> </div> '; endif; ?>

and, just before the submit, put <?php echo $captcha; ?>.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.