StratusForms icon indicating copy to clipboard operation
StratusForms copied to clipboard

Delete / clear field

Open btroop202 opened this issue 6 years ago • 3 comments

Good day, I have a text and date field where if I remove the data from the form, it is cleaned out of the JSON, but not the SP col. So when you reopen the record the value is back. Is there a trick I am missing?

Thanks, Darrin

btroop202 avatar Aug 09 '18 08:08 btroop202

This was done on purpose because of an earlier request to have the value in the list field overwrite the value in the form. So, if there is a value in the list field the forms should populate with that value even if it's blank. I'll give it some thought.

mrackley avatar Aug 09 '18 16:08 mrackley

is this in version 1.5 or only 1.55?

I was under the impression the code never actually read any values from column, only from it's JSON.

Deleting a value from the form should write the null value back to SP.

Ideal senarios is if a input it designated to save to a list column, upon load of the form it should check the list and compare with the JSON, with the list value overriding if different.

warwickbuilds avatar Aug 13 '18 12:08 warwickbuilds

v1.5 delete would be nice as what if a user enters something wrong

btroop202 avatar Aug 21 '18 11:08 btroop202