Good Morning,
I created a form with this new CF update, but it is not working as expected.
I use two dropdowns, the 1st with the States, and the 2nd with the cities, where there is a relationship with the 1st through a reload event.
In the event load
I load the database with the states
I show the layout display *
Custom code with some masks
* I removed the automatic option because I realized that my custom code did not work because it needs to be loaded after the form is displayed.
I created an event called reload_cidades
I load the database with the cities
Custom code with a {view: field_name}.
So far everything is working. In the old version it worked that way.
The problem begins with the submit event
When you click the submit button, the reload_cidades event is called and the dropdown that is in the custom code is displayed.
It does not call the submit event and does not save the data.
I created a form with this new CF update, but it is not working as expected.
I use two dropdowns, the 1st with the States, and the 2nd with the cities, where there is a relationship with the 1st through a reload event.
In the event load
I load the database with the states
I show the layout display *
Custom code with some masks
* I removed the automatic option because I realized that my custom code did not work because it needs to be loaded after the form is displayed.
I created an event called reload_cidades
I load the database with the cities
Custom code with a {view: field_name}.
So far everything is working. In the old version it worked that way.
The problem begins with the submit event
When you click the submit button, the reload_cidades event is called and the dropdown that is in the custom code is displayed.
It does not call the submit event and does not save the data.