Posted by Corey
2014-12-08

i corrected my errors in the question to make more sense.

Thank you for you your time and effort in developing this wonderful resource.

My question:

on the edit contact page (tpl.contacts.detail.inc.php) i have added a separate ajax Facebook style comments log. this log is shares data from all contacts in the db. i need to output the variable:

hm->Zb('rs:def:company');

as plain text to insert into a different html table as the following:

<input type="hidden" value="<?php echo $hm->Zb('rs:def:company'); ?>" name="company" id="company" />


but when i did the above i got this:

<input type="hidden" value="<input type="text" name="rs:def:company" value="Precision Industries" size="50" maxlength="50"/>" name="company" id="company" />

i need a way to output to something like this:

<input type="hidden" value="Precision Industries" name="company" id="company" />

so that i can pull only the comments log entries from a different table in the database for the relevant contact in the address book that i am currently editing. "company" is the unique key in both tables in which they share relevant information.

thanks for you help,

corey
Posted by Tom
2014-12-12

This article explains how to get a plain text (instead of an input box) on detail page:

http://www.phpkobo.com/link--m2072