1. A method comprising: receiving data in a first form markup language that is intended for a client device; and adapting portions of the received data which are incompatible with the client device into a second form markup language that is compatible with the client device, wherein adapting portions of the received data comprises replacing validation elements in the first form markup language with corresponding constraints in the second form markup language.