Remember the Domino Checkbox Bug? Sorry, I should of course say "browser limitation". Well, it's four years since I wrote that article and have just found out that things have changed. It's time for an update on the problem.
Anyway, getting to the point, there's been a change in releases 7.x and 6.5.5 onwards that introduces the %%Surrogate_Field. Consider the HTML below:
<input name="%%Surrogate_Private" type="hidden" value="1"> <input type="checkbox" name="Private" value="1" checked>Yes <input type="hidden" name="Private" value="">
This is from a form with a single-option checkbox field on it called "Private". The hidden empty field below it, also called Private, is my hack field, as documented in my original article. The field above it called %%Surrogate_Private has been inserted by the Domino server. Presumably this is to fix the bug. But I thought it was already fixed? If so, why this new addition and what the hell does it do in the backend?
Having searched the web I can find no official documentation of this change and only one mention of it in the forums. Does anybody know more about it? I'm confused.