I want to make a simple way to build forms with controls on fields
the class One_label_One_entry help me to have a widget with one label and one entry
I want to setup justification height and with in a simple way.
I want to check if a field is required ( on blur you get red color for required fields )
I want to make some field read only ( grey fields )
I want to set a default value or entry mask etc..
I want to navigate the form with return key and so on
I use an array, in this array I put in the sequence of the nextfield to navigate form by enter key,
and the entry objects and the clas objects
$objs[nextfield]=number of the nextfield to go ( in array)
$objs[obj]=entry object ( to setup speedy the color lenght etc.. )
$objs[this]=the istance of class One_label_One_entry
If you run the code code you can get some error like this (here at the bottom) when you close the window
BUT if you complete the form when you close window you have no more errors
I think the problems rise where I setup the require fields
see the code in class