Re: Total Newbie to asp asp & HTML



Betty wrote:
I have a Fault Form that im in the process of creating but i need a
little help on...

What i want this form to be able to do is to reduce the time it takes
to fill out the form.
I have a txt box that the user will need to fill out with a user name,
and i have created a button next to the txt box.
What i want to do it be able to get the user to input the user name and
then click this button to populate the mobile phone details for that
user.

So create an event handler, register it to respond to a click of that
button (which require a form submission, i.e. web page load), and when
the button is pressed, do a SQL call, grab the data out of the database,
and put it into the fields by setting the appropriate properties.

You might also want to be smart and not unconditionally populate the
fields: if the user has typed something in there, probably best to
leave it alone.

- Logan
.