Hey ho!
I have a question, might be really simple but i can`t figure it out myself - i`m to much a php noob...
I want to use the "tell a friend" script to let the users get in contact with the manufacturers of certain products - so i inserted a field in my database whichs holds the email address of the manufacturer. I can access the variable in the tell a friend form without problems. Now i want to put the email address from the variable to the value field of the input field from the form inputLabel" for="to-email-address">
the zen_draw_input_fields function tells me that the value attribute is the second attribute to put between the '' in my tpl_tell_a_friend_default.php, i did it like so but unfortunately it isn working - maybe just some quotation issues:
if i use plain text instead of the variable $manufacturersemail the text is shown where it should - so the place where i put the value seems to be correct but hopefully it`s just a quotation issue like i said.<label class="inputLabel" for="to-name"><?php echo FORM_FIELD_FRIEND_NAME; ?></label>
<?php echo zen_draw_input_field('to_name', ''$manufacturersemail'', 'id="to-name"') . ' <span class="alert">' . ENTRY_FIRST_NAME_TEXT . '</span>'; ?>
Maybe someone can point me to the correct writing of this - would be really nice if someone could help me!
Thanks a lot!
zvenson
Bookmarks