cancel
Showing results for 
Search instead for 
Did you mean: 

Form node reference

guiguik
Champ in-the-making
Champ in-the-making
Hi guy's,
I'm trying to do a validation handler on a form (associated with an aspect). Evrything work fine with my validator in normal edit mode but I have an error when I try to use my validator from simple edit form (doclib-simple-metadata) because I don't know where I can find reference for the edited node.
In normal edit I get noderef from url:
    
var str = field.ownerDocument.location.search;


but in simple edit mode I don't know where to find it. I already try to browse variable with chrome developper tools but I don't find any reference to the updated node.
Is there a variable I can use, or I have to pass argument to my validation function?
1 REPLY 1

brahmaiah926
Confirmed Champ
Confirmed Champ

hi 

I am also facing the same issue. are you able to find solution for this

Thanks