Closed (fixed)
Project:
iToggle
Version:
7.x-2.6
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
7 Mar 2014 at 16:10 UTC
Updated:
10 Mar 2014 at 11:37 UTC
Jump to comment: Most recent
Hello,
I want to render the itoggle seperately within my custom template file.
Now for other (custom) fields, I just need to do:
print render($form['field_isPrivate']);
but when I do this for the field that uses the iToggle widget, it won't appear. Instead it keeps appearing when calling drupal_render_children($form). So I figured that I must be using the wrong variable but when I check dprint_r($form), I can't find another one besides the field name.
Can anyone point me in the right direction?
Comments
Comment #1
maartendbr commentedOK I found the solution.
It appears that the field is referenced as itoggle_helper_<>
problem solved.
Comment #2
maartendbr commented