0

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

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; ?>.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.