Hi there,
I'm a newbie with Chronoforms and Joomla, sorry in advance if my questions is unprecise or lacks detail.
I have several forms that I use both to create and edit (via a token in the URL). My problem is that, whenever I fill and submit a form, the next time I get into the same form, all the inputs are prefilled with the last data they had. This is because I'm using {var:read_data.model.myInput} (for example) to load data only when a token is provided in de URL, but even when I don't have a token in de URL the data is still there, it is the "$this->data" array. I've tried to empty that array in the submit event with no success. Can anyone help me with this?
Thank you very much.
I'm a newbie with Chronoforms and Joomla, sorry in advance if my questions is unprecise or lacks detail.
I have several forms that I use both to create and edit (via a token in the URL). My problem is that, whenever I fill and submit a form, the next time I get into the same form, all the inputs are prefilled with the last data they had. This is because I'm using {var:read_data.model.myInput} (for example) to load data only when a token is provided in de URL, but even when I don't have a token in de URL the data is still there, it is the "$this->data" array. I've tried to empty that array in the submit event with no success. Can anyone help me with this?
Thank you very much.