Urdu being a widely spoken language of the world deserves a fair share on the internet. There are many web sites that show information in Urdu using images or character based display but dynamic internet applications accepting input in Urdu and displaying customized web pages are still hard to find. The fundamental requirement for Urdu-enabled web applications are the standard input controls that would work for Urdu in ordinary HTML documents as they do for English. This paper proposes an algorithm to convert the standard HTML input controls to work for Urdu as well. Some essential issues before the conversion process are also handled. These issues include display of Urdu inside input controls, dynamic association of keyboard buttons to Urdu alphabets and use of proper character coding scheme. The algorithm was successfully tested with standard server side scripts which displayed dynamic Urdu text generated by the code or retrieved through connected database.