Closed (fixed)
Project:
Node registration
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
12 Nov 2015 at 14:45 UTC
Updated:
26 Nov 2015 at 21:14 UTC
Jump to comment: Most recent
Comments
Comment #2
rudiedirkx commentedThe insert hook is way too late. It's an entity API hook. You can't use that for context things like validation.
You need a form validation hook. Do a form alter on the registration form, add your own validation handler.
Comment #3
leandro713 commentedthanks for your help, mate
Comment #4
rudiedirkx commentedNo problem.