Button Functionality Issue- not firing
Posted: October 14th, 2022, 12:29 pm
I've recently run into an issue with one of my buttons not firing.
I have a widget to Add or Edit a user, which has a visibility value that determines whether the Add or Edit button should show. In editing a user, I have no issues and the button and widget function as they should. However, when I try to add a user instead, the Add button is not firing on click.
The Add button is in the same place as the Edit button, set up the same, with the event parameters being the same except for one constant value, Action (which has a value of Edit or Add respectively).
I have tried deleting the event and rebuilding, as well as deleting the control as a whole and starting over and still no luck. I have had issues previously with a button not firing, but in those cases the fix is often changing from using a field value in the parameter to using a model value. In this case, It is necessary to use field parameters, and the edit event is functioning properly with the parameters being set to field values.
I have a widget to Add or Edit a user, which has a visibility value that determines whether the Add or Edit button should show. In editing a user, I have no issues and the button and widget function as they should. However, when I try to add a user instead, the Add button is not firing on click.
The Add button is in the same place as the Edit button, set up the same, with the event parameters being the same except for one constant value, Action (which has a value of Edit or Add respectively).
I have tried deleting the event and rebuilding, as well as deleting the control as a whole and starting over and still no luck. I have had issues previously with a button not firing, but in those cases the fix is often changing from using a field value in the parameter to using a model value. In this case, It is necessary to use field parameters, and the edit event is functioning properly with the parameters being set to field values.