We have talked several times about changing the request
processing in cforms to not touch any widget whose
request parameter is missing (to prevent these widgets'
values from being reset to null,) the end result being
that it would be easier for the view to decide how to
split a form across multiple pages without breaking the
SoC between the form model and the view.

As discussed before, this change would involve sending
a hidden field along with every checkbox to indicate
the presence of the checkbox, because an unchecked
checkbox does not generate a request parameter on POST.
This would allow to distinguish between a checkbox that
is unchecked versus a checkbox that is not on the page.

What do we want to do?
[ ] leave as is
[ ] make the changes described above

This is my +1 to make the change.

--Tim Larson

Reply via email to