Posted by Bilmar on October 29, 2009 at 4:34pm
Jump to:
| Project: | Conditional Fields |
| Version: | 6.x-1.x-dev |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (duplicate) |
Issue Summary
Hello Everyone,
I was wondering if someone could assist me in how to render fields on profile-node-form.tpl.php for conditional fields to work properly.
I tested on Garland theme and the controlled field hides and shows accordingly to the controlling field (works great!)
But on my custom theme I render field in my template file like below:
<?php
print drupal_render($form['field_example']['value']);
?>// more fields
<?php
print drupal_render($form);
?>..and conditional fields seems to not be working at all.
I would really appreciate your help!
This is a great module and I would really like to use it on my website =)
Thanks!
Comments
#1
Looks like a duplicate of this: #625930: custom theme template.php assigning node-form.tpl.php breaks conditional fields.