I need help creating a form for a project.

I need to create a form with a text field.
Only 7 digit model numbers will be typed into the field.

Based on what is typed in an image will appear based on what was typed in the first textfield.

The image's source will pull from a combination of a url as well as the value typed in the textfield.

http://mywebsite.com/product/TEXTFIELD.jpg




Example
---------------------------------------------------------

____1234567_____ >> Corresponding image shows here

---------------------------------------------------------


Another crucial part is being able to pull out data from an H1 tag from a URL's source
So if I were to go to a product page
http://mywebsite.com/productid?=1234567

the product description is placed in a <h1> tag


I tried searching the entire web and I'm desperate like CRAZY.

I appreciate any response