gii gen textfield and datefield