add widget via button
how I can add another reference selector by clicking on the add button ?
In your case use Many to Many Association between Patient and Acts if Acts is configurable or lookup value .
- In case Act is list of values , use InputRef Selector and associate the multiple Act values to Patient , by adding the selected Acts . ( you should use add while associating in a select microflow )
- In Case Act is not list of values , then use Many to One association between Act and Patient and use button Add to add new value of Act to Patient .
You should add a listview below the reference selector in a container widget with conditional visibility to display only when more than one ACT exists