Page Form view - empty fields

Lance Johnson asked on November 23, 2016 21:32

Kentico v8.2.49

We have a custom page type, there were a number of fields for this page type initially and we filled in content using it, everything was fine.

We came back several weeks later adding a number of new fields, now when opening one of these pages in Form view, all of the newer fields are empty even though there is data saved on the underlying table, eg, Field1 displays a value in transformations, in database views, in the table, there is clearly a value but opening the page in Form view shows Field1 as empty.

If the Form is saved at this point, the empty values overwrite whatever the value was before.

All of the new fields are simple text using the Text Box form control.

Has anyone seen this before and is there a fix for it?

Recent Answers


Peter M answered on November 23, 2016 22:07

If I understand correctly - a value for your field exist in the DB, works correctly in a transformation, but does't show up in the FORM tab? Normally the system reads it directly from the DB, even if you update your field directly with a SQL statement and then refresh the form tab - you will see a new value. May be your value has line breaks? Try to switch from text box to text area?

0 votesVote for this answer Mark as a Correct answer

David te Kloese answered on November 24, 2016 09:29

what type of data do you use? I've seen page selector links that had the 'selected page' removed so it can't resolve the url in the textbox. But in the database it store's the exact path, so it still show's data in your repeaters.

Could be that the controls you picked can't resolve anymore due to a change in type/guid/id/path/etc..

Clear caching might also resolve the issue, but you might have tried that already.

0 votesVote for this answer Mark as a Correct answer

Lance Johnson answered on November 24, 2016 16:50

They are all very simple text values, typically only 10-20 characters, no HTML markup, using the default Text Box form control.

It's consistent in that it is only the newly added fields, they all show empty in the form where the fields that were added when the page type was created show correctly.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.