User input with predefined and editable/completable entry


I need to code an user entry (text mode) which appears with a default
entry already settled, so the user could delete and entry a new one,
complete with added text, or simply accept.

Could somebody help me?

Any hint would be acknowledge.

Miguel Ruiz
Sevilla (Spain)