php help

hi

I have downloaded a source code for a system i need to make this field as read only.The function calculates the value and put it in the field, i dont want the data to be changed so want to make it read only

the code is given below

echo “

”;
$objectName = autoName($this->fields[“otherserial”], “otherserial”, ($template === “newcomp”),
$this->getType(), $this->fields[“entities_id”]);
autocompletionTextField($this, ‘otherserial’, array(‘value’ => $objectName));
echo “\n”;

please help

Sponsor our Newsletter | Privacy Policy | Terms of Service