I need to set data into a Data Field located in a form from two diferent components, one is located in the form and the other is at the template.
I can easily get the data from the form just like data.dataField = 'somehing', and to get the data from the component at the template im using a field reference as Form.getPathData(path, data) but is there any way to set data to the field reference? maybe something like Form.setPathData()
Almost exactly like that!
Form.setPathData('data.textField', 'some value');
Thanks Bill, it worked like a charm .
I just want to point out that this function is not included in the API Reference, it would be great to have it there for future reference. (I'm checking the reference in this link https://maestro.avoka.com/maestro/secure/help/jsdoc/Form.html)
Thanks Benjamin, I'll have the documentation updated.