I have seen a few examples where persons use a dynamic event and on change update the form with a debounce set.
I am trying to utilize this within a content page with no luck. If I add a button to the form it works fine but the on change never triggers the submit. I’m trying to use the content page for this section to prevent reloading the entire page that the user would be viewing, this is a php based setup.
Understood, I have moved away from the content page.
How do I force a refresh of the form elements affected by an update without reloading the entire page?
And how do I submit the form each time a checkbox value is changed?
No, if you want the form data to get updated, you would have existing binding on the form from a server connect or some other source. What is that binding?
All the bindings are in place and would be seen if I refresh the entire page. I have some check-boxes that are based on the value of other fields that aren’t being updated without the refresh. The db values update but I am looking for a way to update the specific section of the page with the form, only.
I have a number of forms on this page, they all work.
I have this checklist that I would like to update each time the user changes the state of a required or override checkbox, without needing to hit the submit button. The status checkbox is based on the value of the other 3 check-boxes but doesn’t update unless a refresh is done…
Ok. This makes a bit more sense.
I see that your checkboxes have binding from different server connects (SC), but none of them submit any form on change.
There is no need to use forms from what I see. This is a setup that could work for you:
Create a "Update SC" for each SC that you are using in binding checkboxes. Set it to no-load.
On change of checkbox, call the respective "Update SC".
On success dynamic event of the "Update SC", reload the binding SC.
Hello sid thanks for your help thus far, has been enlightening and really helps with the general approach I have been taking.
I still have the issue where the change of the checkbox never triggers an event, looking at the network via browser shows nothing loaded as well. I have tried both value changed and value updated.
Found the issue its a js library called footable…it is preventing the events from triggering although some of the attributes seem to be working.
Didn’t think it was the issue since I’ve been able to use attributes and values are assigned without issue.