Add functions for forms and text.

Text functionnality still must be improve.