I’ve a form and in this form I’ve some fields and two button.
All fields are connected to a database and my users can edit this fields.
One button is for cancel the changes.
There is a default function for replace old data in the fields?
Does the rollback not work when autosave is on? In my tests here, it appears to work even if autosave is on. I can click away from one field, so that autosave should engage to save the record. But when I cancel, the record returns to the pre-edit state.
if you don’t click outside the fields on a form it works!. if yout click outside a field on a form (the data will be saved!!) after that, servoy can’t rollback. So to be save, autosave, should be OFF.
I have tried clicking outside the field, into another field, even away from the browser window. If I press “Cancel” it doesn’t save the changes, even though autosave is on.
Is it possible this is a difference in behavior between the web client and the Smart Client?
ahh, I was talking about smart-client.
I think, in webclient it will auto-save, when you navigate away to a different form.
(clicking outside a field on the form, does’nt do anything, I believe in webclient)
This autosave setting is affecting my validation scheme, where missing items appear in a tab-panel list at lower left, on the data entry form (see picture).
I can create the validation records without saving, as long as the list uses a relation. But when I try to sort them, the console complains about not being able to sort a foundset with edited records.
Is there a work-around?
Also, can someone from Servoy confirm that the web client works this way (no updates until posting the form)?