fix addWidget method and add collection.val() method
cast to double
new validate rules