I have an html form that I am already using for one condition in an ASP control structure. I want to set up the logic so that I can use the same html form to fulfil a second condition in the same asp control structure. basically, the new condition is a check to see if the name that they enter into the html form is already in the database. i want the script for the new condition to pull up the same dynamic data that was entered into the form, but to also add a message saying that the name has already been taken and they need to choose a new name if they are going to put the record into the database.<BR><BR>as it stands now, this means jumping from line 256 of the script to line 366 of the script. can anyone suggest a few ways i could accomplish this? i would prefer not to have the same html form re-written multiple times in my script. i would prefer the script to be lean.