# Referencing a value within a Form Field

**URL:** <https://forum.kirupa.com/t/referencing-a-value-within-a-form-field/147752>\
**Category:** Uncategorized\
**Created:** [May 13, 2005, 11:29am UTC](https://forum.kirupa.com/t/referencing-a-value-within-a-form-field/147752 "2005-05-13T11:29:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Skurge](https://avatars.discourse-cdn.com/v4/letter/s/c77e96/32.png) [@Skurge](https://forum.kirupa.com/u/Skurge)\
**Post date:** [May 13, 2005, 11:29am UTC](https://forum.kirupa.com/t/referencing-a-value-within-a-form-field/147752/1 "2005-05-13T11:29:27Z")

</div>

Hey all…

Within my org. we have a set of variables that we can use within our .asp forms that are stored on a DB but can be called within our forms. Basically when a user longs into their machine and opens up one of our html/asp forms their user information Name/department/title/phone/branch address are auto populated within the ‘profile’ section at the top of the form. Below is an example of the code used:

\<td width=“450”\>\<input name=“UserName” type=“text” id=“UserName” value="\<%=g\_emp\_fullname%\>" size=“50” maxlength=“100”\>

Instead of building forms via html/asp I would like to try and build a ‘smart’ form via flash and pass all of the variables collected to a processessing .asp page that generates the email.

What I can’t figure out is how to, within flash, reference the…\*\*value="\<%=g\_emp\_fullname%\>" \*\* , within the Flash form fields so the values come up.

I would like Flash to auto-recognize the values just like my .asp page did.  
Any ideas on code referencing within Flash is greatly appreciated as always!!

Regards,

SKURGE
