Hello,
I am currently working with Blaze to do a dynamic and long formular and I would like to save my input data from the UI.
– Logic handler Template
– A lot of Dynamic Inputs / Select / checkboxes / radio buttons
Since I want my form components to be reusable in other forms, I want them to know how to acces to their own data. So each element has a function getUIData(),
var getUIData() = function(){
// here take the data with jQuery
return value;
}
Also, I need my logic handler parent template, to call the function of his children. Is there a way to achieve that ?
If you try to do what you describe / desire in Blaze, it will become a dead end, if not extremely complex.
Look no further, use https://viewmodel.meteor.com . It’s all you need now and possibly in a long future. Plus the author is extremely responsive that you always get improvements, fixes and new features.