Hi,
I'm happy to detect Rules Forms Support!
How can I add /user/register to activated forms?
I need to be logged in to get displayed event activation messages on forms - but I couldn't visit /user/register beeing logged in...
Is there a way to add forms manually?

Thanks in advanced,
Ralf

Comments

klausi’s picture

Category: support » bug

Uh, that is a bug indeed, we didn't consider that.
The form ID is "user_register" and the link must be something like http://www.example.com/admin/rules/forms/user_register/activate/ .
Change the domain to you site and you should be able to activate it (logged in as rules admin).

To work around it for other anonymous user forms, you can comment out line 63 and line 67 in rules_forms.module, then you get the form ID activation link even if you are not logged in. Copy the link, login back as rules admin and paste the link.

aismail’s picture

Or, you could just add the "administer rules" permission to the anonymous user, temporarily. Worked for me, today! I'm using rules-6.x-1.1.

klausi’s picture

Yeah, but never ever do that on a live production site, it introduces a huge security threat if anyone is able to administer your rules.

mitchell’s picture

Category: bug » support
Status: Active » Fixed

If anyone wants to be able to configure the user/register form in the rules form ui, and this issue's documentation is not sufficient, please reopen this issue.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

bfr’s picture

I had the same problem, and easiest solution was to make a node / view and print the form with drupal_get_form().
That way you can activate it and check the id's and everything.