Active
Project:
Validation API
Version:
6.x-1.0-rc5
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
30 Sep 2009 at 16:33 UTC
Updated:
30 Sep 2009 at 16:33 UTC
Hi, I'm trying to do the following validation:
When creating a group I need to validate if the Group manager is assigned a role depending on the Group.
No matter how to do this. the point is that I need the group id inside the PHP validation code.
I have no field in the form with this value. Can I get it from the URL? (the url is .../node/28/edit) where 28 is the id of the group.
Or maybe I can pass an argument?
I attached the validator to the name field of the group form, and I have the field to pass the argument, but, which values am I able to pass there?
thanks a lot
Gabriel