This topic is locked

Blank Fields - PHP 8.1

4/18/2016 11:15:52 AM
PHPRunner General questions
E
ecaboodle author

Have a system running on 8.0, updated to 8.1 but now have odd things going on.
So on the listing page it will show the data in the field, click either the inline edit or the edit button and it's a blank field, any ideas?

L
lewis 5/3/2016

This can happen if the field in question is a drop-down menu and the values available do not include the current value of the field in the database.
For example:

Field value = g

Drop-down values = a,b,c,d,e
List and View will display "g", but in edit mode it will not match any of the available drop-down values, so it is blank.

If that is the case, add "g" to the drop-down values and it should show correctly in edit mode.
Another possibility:

Some project or database changes may also remove a reference table from the drop-down option, which may cause this problem or give error messages. Click the options button on the Field screen and re-reference the database table for that field's drop-down menu.