Click Action To Clear Inputs For Screen
A
All Zun
This can either be an advanced option to allow to clear all inputs on-screen or as a standalone action that can be added before or after an action. This would be a great feature to have to be able to clear any inputs when a user clicks on a cancel button or back button, so if the user creates a new item for the collection later, previously entered data for the fields don't appear or are cached.
samyak innovations
Very imporatant bug to be solved. I cannot use datetime picker at any update place because of this . Please fix it asap
ctboita
I know this is a bit of a work around but, I was able to achieve this by creating a "dummy" collection that populates the on screen inputs with the default values. I then programed the reset/cancel button to update the current "dummy" record to clear out all of the inputs on screen and re-populate with the default value with magic text. My submit button then creates a new collection item in my "real" collection and pulls the information from the on screen text input. I also added an action to update the "dummy" collection to zero everything out when submit is selected. I then programed an update "dummy" collection item action to the back button so that if someone just left the page it would auto update the "dummy" collection back to zeroNot sure if this makes any sense but I can elaborate if needed.
M
Marisa Ramon
ctboita: I'm trying to follow what you did, but can you elaborate a little bit more on how to do clear form fields upon selecting cancel of a form? Thanks in advance!