I'd like to know the best way for using the same HTML form, with minor differences, in different parts of a script without having to actually have two instances of it in the script. Help appreciated.
Create a function that writes out the form... Then call the function.
In it, you can use if/else to determine how to display the form with its differences from one page to the other.