# Retaining field values in a Flash/PHP form

**URL:** <https://forum.kirupa.com/t/retaining-field-values-in-a-flash-php-form/160429>\
**Category:** programming\
**Created:** [August 25, 2005, 9:06pm UTC](https://forum.kirupa.com/t/retaining-field-values-in-a-flash-php-form/160429 "2005-08-25T21:06:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cello](https://avatars.discourse-cdn.com/v4/letter/c/f17d59/32.png) [@Cello](https://forum.kirupa.com/u/Cello)\
**Post date:** [August 25, 2005, 9:06pm UTC](https://forum.kirupa.com/t/retaining-field-values-in-a-flash-php-form/160429/1 "2005-08-25T21:06:07Z")

</div>

Hi all

I’ve just started working with Flash (MX 2004) and PHP for forms and a right hash I’m making of it too :lol:

Whilst I’ve made progress in sending off the data, confirmation emails and even validating that mandatory fields are not empty, I am looking for some pointers for the following.

The form that I’m developing at the moment has some 20 odd fields. Now if a user does not complete a mandatory field and they’re taken to an error frame in the main\_mc, what bit of magic script retains the values that they previously entered so that they don’t have to re-complete the whole form?

Help much needed and much appreciated!
