I have Botcha installed. When I click on request new password, the modal form displays fields that should be hidden. How do I hide them?
I have Botcha installed. When I click on request new password, the modal form displays fields that should be hidden. How do I hide them?
Comments
Comment #1
anton.safin commentedSet "Recipe book: AJAX Frendly" for login/register forms on BOTCHA configuration page (/admin/config/people/botcha/form)
Comment #2
hughworm commentedThis comes down to Drupal ajax not currently supporting inline css. See ajax.inc where a comment states:
So for example this doesn't work in a modal form:
But this does:
So I've patched BOTCHA to use the #markup version when the form is under ajax, and it seems to work. Let me know if you'd like to the patch.