# Editing a data field show current text

**URL:** <https://forum.kirupa.com/t/editing-a-data-field-show-current-text/180260>\
**Category:** Uncategorized\
**Created:** [February 27, 2006, 12:02pm UTC](https://forum.kirupa.com/t/editing-a-data-field-show-current-text/180260 "2006-02-27T12:02:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![VoS](https://avatars.discourse-cdn.com/v4/letter/v/22d042/32.png) [@VoS](https://forum.kirupa.com/u/VoS)\
**Post date:** [February 27, 2006, 12:02pm UTC](https://forum.kirupa.com/t/editing-a-data-field-show-current-text/180260/1 "2006-02-27T12:02:32Z")

</div>

Hi.  
I m making a user end form for editting news ona current page.  
Once a news item has been submitted the user can view them, and edit them if needed.  
I’m however having some problems with the editing part.

How do i get the current text to show up in a text field.  
(ive got the text in a variable and so on no problem there)

kinda like the edit function on this forum.  
you click it text field comes up with previous entry ready for editing.

Thanks  
//VoS
