This topic is locked

how to remove default value on edit page?

6/27/2008 9:20:15 AM
PHPRunner General questions
P
paul paulousek author

After doing a lot of tweakings (esp. in the user-interface) in the files created by PHPr I had to remark that I forgot to uncheck the "apply on edit page as well" check box in the visual editor for one field.

Since I do not want to rebuild the whole php/html/css stuff from PHPr, because this would force me to apply my tweaks again, I would like to know which php, html.... file I have to edit to get rid of this default value.
thanks in advance!
paul

Sergey Kornilov admin 6/27/2008

Check for statements like
$data["FieldName"] = "Default value";
in ..._edit.php file.

P
paul paulousek author 6/28/2008

Check for statements like

$data["FieldName"] = "Default value";
in ..._edit.php file.



Thanks! I've found it in the _edit.php but was arguing that it might not be the only file which must be changed.
paul

J
Jane 6/30/2008

Paul,
no. You need to remove only this line.