16 Nov 2022
Link to this post
The documentation describes how to add a custom page MVC widget, but I have come across a situation where I would potentially need to create a custom form widget.
We want to use address autocomplete functionality, so instead of using the standard text input fields for street, postalcode, city, .... we would like to have autocompleted and dependent fields, for example, when I select New York as a city, the autocomplete for street will only show streets from New York.
As far as I can tell, this is not something that is possible with OOB functionality.
I can see there is a TcpFormWidgetController/Model/ViewModel baseclass in the api, but no documentation as how to implement this.
Any help would be appreciated :-)