alvares,
I’m sorry, I don’t understand what it is you’re asking for. Describe how you want it to work, what it is you’re trying to do, and perhaps a solution will be clear from that.
a registration form, I have a field that the user must answer a question.
In the edit field, this field would like to stay disability to change.
OK, I understand. Don’t use a “read only” field, but create a custom template for your [pdb_record] shortcode. In that template (templates/pdb-record-default.php), there is a line that looks like this:
<?php $this->field->print_element(); ?>
Replace that with this: (using ‘last_name’ as the example)
<?php
if ($this->field->name == 'last_name') echo $this->field->value;
else $this->field->print_element();
?>
Creating custom templates is described here: http://wordpress.org/extend/plugins/participants-database/other_notes/
What if I set the fields as readable and then in the custom template put:
<?php
if ($this->field->name == 'last_name') $this->field->readonly = 1;
$this->field->print_element();
?>
Will it upset the database or affect the other pages?
That will work and it won’t affect anything else, just the data that is displaying in the template. It’s a good solution.