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

maartendbr’s picture

OK I found the solution.
It appears that the field is referenced as itoggle_helper_<>
problem solved.

maartendbr’s picture

Status: Active » Closed (fixed)