I have created a custom profile type and given it a unique registration path using profile2 registration path. I am attempting to form alter the custom fields but I cant seem to find a way to view the from as admin in order to view the form array.

Whenever I go to the custom path of offers/register as admin I get an 'access denied'. How can I view this form that is for anonymous users whilst logged in as admin so that I can kpr($form);?

Thanks in advanced.

1 Answer 1


I set devel module permissions of 'Access developer information' to anonymous user . Make sure to disable this module on a production site.

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.